Author |
Topic |
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 11 May 2016 : 18:25:47
|
Can anyone tell me what this error below means? I've had to change hosting and this is the error I'm receiving when trying to access my forums.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/fp/inc_locale.asp, line 34
Here are lines 27-40 of my inc_locale.asp.
End If strPart=strPart1+"."+strPart2+"."+strPart3+"."+right(strLead+strPart4,3) set my_Conn = Server.CreateObject("ADODB.Connection") strSqlIP="SELECT IPCOUNTRY FROM " & strTablePrefix & "IPTOCOUNTRY WHERE IPSTART <= '" & strPart & "' AND IPEND >= '" & strPart & "'" my_Conn.Errors.Clear Err.Clear 'my_Conn.Close my_Conn.Open strConnString Set rsLocale= my_Conn.Execute(strSqlIP) If NOT (rsLocale.BOF or rsLocale.EOF) Then strLocale=rsLocale("IPCOUNTRY") rsLocale.Close End If Set rsLocale = Nothing
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 11 May 2016 : 19:00:03
|
That's an easy one. It doesn't see the database. The path to the database in config.asp is probably wrong. |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 11 May 2016 : 19:20:12
|
Yeah, that's what I thought. They've given me the wrong info!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
|
Topic |
|
|
|