Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Jul 2, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Connecting to Databases from Web Servers

In Visual InterDev I have successfully added a data connection. In the Data View I can see all my tables, fields, etc. My database resides on a SQL 7 server and my Web application is on the IIS 4 server. No matter what I do I get the following error:

"[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified."

It seems as if everything I try fails. Can you please give an answer/hint to making the connection from the ASP?

You have set up a proper DSN on your development server and therefore you can see the tables and fields successfully.

Your ASP page, however, is trying to find the same DSN on your Web server machine and is failing. Make sure you have the same DSN set up on the box containing the IIS 4 server also.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date