Help on Error '80004005 : 80004005'

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
metaGenes
-


Joined: 09 May 2003
Posts: 9
Location: Singapore

PostPosted: Sun Sep 14, 2003 12:15 pm    Post subject: Help on Error '80004005 : 80004005' Reply with quote

Hi,

I'm having some probs here. i can load ASP pages on abyss web server, but when it wanna connects to a database, the following errors came out. Can anyone help me??? :?

I'm running abyss web server on Win XP.

Realli appreciate ur help.

Thanks! :)

Microsoft OLE DB Provider for ODBC Drivers- Error '80004005 : 80004005'

[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Sep 14, 2003 1:34 pm    Post subject: Re: Help on Error '80004005 : 80004005' Reply with quote

This error means that something went wrong when the script you use was talking to ODBC driver which is responsible for accessing the Database.

You may find a similar issue and its workaround in http://www.macromedia.com/support/ultradev/ts/documents/sqlsetconnect.htm .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
metaGenes
-


Joined: 09 May 2003
Posts: 9
Location: Singapore

PostPosted: Fri Oct 24, 2003 2:52 pm    Post subject: Reply with quote

tks for ur reply.

but i still cant get the things working. it still cant connect to an access database. any idea wat can i do?? :(

Thanks alot.
Back to top View user's profile Send private message
anna
-


Joined: 27 Oct 2003
Posts: 6
Location: illinois

PostPosted: Thu Nov 13, 2003 12:24 am    Post subject: Help on Error '80004005 : 80004005' Reply with quote

I have had this problem and it usually tells you what is missing. a .inc file etc. it should tell you what page the error is on and what line.

Open your code and look at it to make sure everything is correct. or you may have to move some files around.

that should help
If not I don't know.
Take care,
Anna
Back to top View user's profile Send private message Visit poster's website
mcwilliams132
-


Joined: 27 Jul 2003
Posts: 167
Location: Oshkosh, WI

PostPosted: Thu Nov 13, 2003 7:51 pm    Post subject: Reply with quote

This could be a few problems...

#1...you don't have a System DSN connection created in the ODBC manager in windows. The DSN needs to have the path to the database you're using, whether it be an Access db or mySQL...

#2...you're connction string is wrong. make sure passwords and usernames match up. make sure you're creating a connection as:

myConn = Server.CreateObject("ADODB.Connection")

#3...you're missing the adovbs.inc file which has all the cryptic ADO constants -- so you don't have to remember them. you can download it at most ASP related sites or just do a search for the file on google.com. use it as a include file at the top of your page.
_________________
::::::::::::::::::::::::::::::::::::::::::::::::::
:: Jon-Paul LeClair
:: http://mcwilliamsworld.com
:: "Lobster sticks to magnet!"
Back to top View user's profile Send private message Visit poster's website
metaGenes
-


Joined: 09 May 2003
Posts: 9
Location: Singapore

PostPosted: Mon Nov 17, 2003 5:44 am    Post subject: Reply with quote

hey guys,

thanks for the help. I will try them and see if my asp is working now.

thanks again! :D
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group