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

Connection Problems for a report from ASP

Status
Not open for further replies.

Craigs

Programmer
May 1, 2001
19
0
0
AU
CRAXDRT Error occur on server. Server has not yet been opened.

This is the error i come up with when i refresh the report that im running using ASP and crystal reports 8.5 Connecting to SQL2000. I've looked through the forums. Im using
Database.Tables(1).SetLogonInfo "Servername", "Databasename", "sa", ""

As the connection.

Any help would be good.

Thanks

Craig
 
Are you using SetLogonInfo for each sub report, if you have any?
 
Do you have more than one table for this report? If you do, you should use SetLogonInfo for each table.
 
If all of the tables in the report come from the same data source, then connecting to the first table is good enough. Of course, it wouldn't hurt to connect to each table.

Is the Web server a different box than the database server?

One thing to always try is connecting with another tool like Access or SQL Query, using the same parameters to the same server/database/user/password. Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top