I have an ASP script with the following code in the global.asa:
Application("DBConnectString")="DSN=Test_Server;UID=Michael;PWD=xxxx"
But I get the error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/TheResort/i_asputils.asp, line 8
Problem:
I setup the ODBC portion and it correctly saw the MS SQL server, and the test connection worked fine. Yet when I ever I enter that ODBC name "Test_Server", and the password of the Win XP Pro user I am signed in as, it fails to connect.
How can I be sure what domain,user,password I need to enter?Ttry using "DSN=asset;UID=;PWD=" and don't forget to insert the user id and password.
Also, when you set up the odbc "system" dsn, remember to click on the test connection button to verify the connection.
http://www.google.com/url?sa=U&start=9&q=http://support.microsoft.com/support/kb/articles/Q169/3/77.asp&e=7415 information.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment