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

Trying to connect to sql server

Status
Not open for further replies.

jai2001

Programmer
Jun 3, 2002
9
AU
I am new to Visual Interdev and I am trying to connect to the pubs database on MSSQL server on the local machine.

This is what I have done.
1. create new project in master mode
2. create new asp page
3. create a dataconnection to pubs via machine dsn
4. create a data command to the new connection
5. double clik on some of the tables to make sure they work
5. drag the command object into the asp page under the <body> tag.
6. save and test, but it dosnt' work. It sais error (8cxbla bla) Exception has occured. On line 22.
Line 22 = var rsTmp = DE.RecordSets(&quot;Command1&quot;);

Any ideas why this dosn't work??

It all works if I connect to an access machine dsn.

Thanks,

Jai
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top