×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Cannot open SQL server

Cannot open SQL server

Cannot open SQL server

(OP)
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?



RE: Cannot open SQL server

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
http://www.kenhamady.com/
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close