Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 15th, 2005, 06:41 AM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
Need help in an asp assignment I do....

A file attached, if you can help me figure out what is the bug in here I would really appriciate it...of course only the ones who have IIS or PWS or any other ASP server can help me...

Thanks!!!
Attached Files
File Type: zip Daniel.zip (1.2 KB, 242 views)

Reply With Quote
  #2  
Old January 15th, 2005, 01:48 PM
madhouse's Avatar
madhouse madhouse is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: London
Posts: 605 madhouse User rank is Private First Class (20 - 50 Reputation Level)madhouse User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 2 m 37 sec
Reputation Power: 5
Send a message via MSN to madhouse
Ok, first thing.....if you need help in this way you need to include everything in the Zip file including the database. Otherwise we an't see where the problem is. Secondly, what problem/error are you having? Basically we need more details.
__________________
The answers are out there somewhere....it's just a matter of finding them!!!

Did you find my answer useful, helpful, the business?? If so, vote for me by clicking on the "scales of justice".

Reply With Quote
  #3  
Old January 15th, 2005, 01:55 PM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
I'm sorry...here's the file with everything
Secondly, the error is this:
Microsoft OLE DB Provider for ODBC Drivers- Error '80004005'


[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/daniel/addasp.asp, line 13

According to this, this is the line caused the error:
oConn.Open "driver=MS Access Database(*.mdb);" & _
I don't know what to do...
Attached Files
File Type: zip Daniel.zip (5.8 KB, 243 views)

Reply With Quote
  #4  
Old January 15th, 2005, 03:51 PM
madhouse's Avatar
madhouse madhouse is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: London
Posts: 605 madhouse User rank is Private First Class (20 - 50 Reputation Level)madhouse User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 2 m 37 sec
Reputation Power: 5
Send a message via MSN to madhouse
Here's the fixed version....
Attached Files
File Type: zip Daniel.zip (8.6 KB, 273 views)

Reply With Quote
  #5  
Old January 15th, 2005, 11:42 PM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
Thanks man....but it's still doesn't work...
It's the same line that does the problem...

Reply With Quote
  #6  
Old January 16th, 2005, 02:32 AM
madhouse's Avatar
madhouse madhouse is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: London
Posts: 605 madhouse User rank is Private First Class (20 - 50 Reputation Level)madhouse User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 2 m 37 sec
Reputation Power: 5
Send a message via MSN to madhouse
Are sure you're using my fixed version of addasp.asp? I've just tested it again and it works fine. This is what I changed for the database connection:

oConn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; " & _
"Dbq=D:\Abyss Web Server\htdocs\Daniel\ADD.mdb;" & _
"Uid=admin;" & _
"Pwd=;"

Reply With Quote
  #7  
Old January 16th, 2005, 06:11 AM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
I checked, and yes, i used your fixed version.
And I also tested again, and that's what it writes:

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


Specified driver could not be loaded due to system error 126 (Microsoft Access Driver (*.mdb)). /daniel/addasp.asp, line 13

Reply With Quote
  #8  
Old January 16th, 2005, 03:10 PM
madhouse's Avatar
madhouse madhouse is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: London
Posts: 605 madhouse User rank is Private First Class (20 - 50 Reputation Level)madhouse User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 2 m 37 sec
Reputation Power: 5
Send a message via MSN to madhouse
Take a look here and read the suggested resolutions:

http://zebro.everperfect.com/techdocs/80004005.htm

Reply With Quote
  #9  
Old January 16th, 2005, 11:22 PM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
But i'm not using IIS, i'm using Abyss Web Server because I have XP home which doesn't support IIS

Reply With Quote
  #10  
Old January 16th, 2005, 11:59 PM
madhouse's Avatar
madhouse madhouse is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: London
Posts: 605 madhouse User rank is Private First Class (20 - 50 Reputation Level)madhouse User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 2 m 37 sec
Reputation Power: 5
Send a message via MSN to madhouse
Ok, here's Microsofts solution to the error your getting:

http://support.microsoft.com/defaul...kb;en-us;260558

Reply With Quote
  #11  
Old January 17th, 2005, 12:27 PM
Dan1234 Dan1234 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 31 Dan1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 sec
Reputation Power: 4
Thanks for your help...really....but no success in fixing it.
I'll try tommorow to install Office 2000 and its access driver and see if it will work....my senses tell me that it will...
Thanks again

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Need help in an asp assignment I do....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT