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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot open SQL server

Status
Not open for further replies.

giordan0

Programmer
Jul 18, 2001
40
SI
I made a report in Crystal report 7.
I connected it with Active Data to a MS SQL view.
In CR7 everything works fine.
I have on my computer Win2000 and IIS. So CR7 installed also the Crystal Report Web server.
The first time I opened the report with my browser worked fine.
The second time I got the error: Cannot open SQL server.
I retried in CR7 and the same report worked fine and refreshes data normaly.
After one hour I tried again with my IE5 browser and again it was OK.
I tried to refresh the page and i gor again the same error.
Why the error comes and goes?



 
It sounds like the report has saved data, which makes it seem like the report is connecting the first time. It probably isn't connecting at all via the browser, but showing you saved data.

When run from the browser you have to provide the connection information. You should be able to find the appropriate syntax for this command in the web administrators guide.

I think the command wll use Connect, LogOnServer, or SetLogonInfo Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top