Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Smart Viewer: Server not yet opened

Status
Not open for further replies.

lori25

Programmer
Oct 5, 1999
3
0
0
CA
Upon installing my VB6 app on the client machine, I try to access reports that were created using Report Designer Component and the Viewer returns the error: Server not yet opened. I've included all of the redist files, and probably some extra. The ODBC is set up properly. It works on the development machine, so I suspect that I'm still missing files. I'm at a deadend, please help!<br>
<br>

 
I faced a simillar problem. If you are using a SQL or Oracle Database, you will have to Logon to the database using VB. I have the VBScript [ASP] Code, so maybe this might help.

set crtable = session(&quot;oRpt&quot;).Database.Tables.Item(1)
crtable.SetLogonInfo &quot;Pubs Sample Database&quot;, &quot;pubs&quot;, cstr(userid), cstr(password)

Here session(&quot;oRpt&quot;) is the Report Object


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top