Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Connection Error
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 11 May 2016 :  18:25:47  Show Profile  Reply with Quote

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  Show Profile
That's an easy one. It doesn't see the database. The path to the database in config.asp is probably wrong.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 11 May 2016 :  19:20:12  Show Profile

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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07