I am getting this error message when attempting to access a site we moved to another provider:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/boss/login.asp, line 5
But what is strange is the following:
We moved the SQL DB to this provider 3 weeks ago. I posted several questions about the connection string that was finally resolved by just the order of how they wee listed which was not an issue with the past hosting provider.
I then moved the website to the new provider and attached the Db fine ... I could not login because I was waiting for the SSL cert, but the opening login page came up fine. It just bailed when you log in because there was no SSL.... Fine so far.
I had put the DB under another account and we decided to move it under the new webspace of the website (same provider different account) ... they gave me a new connection string which of course was only slightly different.
Now the page when attempting to access gets the above error message. It is not the same connection message that I got before, something to do with ?
The code in the login.asp is just trying to access and looks like something is not right, but as I said before it was working and all I did was change the database string and I 99.99% sure it is right ... Plus until they cancelled the other account, I could put the other location back in and it works fine.
Here is the code from the login.asp but I don't think this helps.
<!--#include file = "dsn.asp"-->
<%
Set con = Server.CreateObject ("ADODB.Connection")
con.open strCnn {Line 5}
Application.Lock
sqlcheck = "select ApplicationTime,Applicatio
nCheck from GroupAdminReportDate"
set sqlcheckrs = con.execute(sqlcheck)
Start Free Trial