Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

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 Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 13th, 2003, 10:14 AM
startup startup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 startup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help! - Microsoft OLE DB Provider for ODBC Drivers error '80004005'

I'm working on a website and I have a database issue... Hope this is the right forum...

here is the site and you'll see the error in the bottom left hand corner.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/providence28/index.asp, line 79

I'm running Microsoft Data Access Components Version 2.6, I have re-installed Windows 2000 SP4. I also updated the permissions in the registry to everyone full control to ODBC

This works on my local box, but once I try it on the server it craps out.

Any ideas... PLEASE!!!

Tom
URL
URL

Reply With Quote
  #2  
Old August 13th, 2003, 10:37 AM
mitakeet's Avatar
mitakeet mitakeet is offline
Last Day: May 28, 2005
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2003
Location: Maryland
Posts: 4,575 mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 8 h 5 m 34 sec
Reputation Power: 20
I will have to see your connect string (be SURE to put in dummy username and password!) to have a better idea.

You may be attempting to access the database as if it were installed locally (meaning it is not on the same server as your web server) when it is located on another machine. You will have to fully qualify the path to fix that. You may also have installed your database (which database it it, by the way?) so that it does not accept connections from the network.

BTW: You can create 'DSN-less' connections so you don't have to install the ODBC setup on each computer.
__________________

Left DevShed May 28, 2005. Reason: Unresponsive administrators.
Free code: http://sol-biotech.com/code/.
Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.

It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
--Me, I just made it up

The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
--George Bernard Shaw

Reply With Quote
  #3  
Old August 13th, 2003, 12:49 PM
startup startup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 startup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
here's what my team is using, it this what you needed?

Set oRSbodytext=Server.CreateObject("ADODB.Recordset")
sqlText = "Select * from NewsView order by NewsDate"
oRSbodytext.Open sqlText, "DSN=PCenterData"

Reply With Quote
  #4  
Old August 13th, 2003, 12:54 PM
mitakeet's Avatar
mitakeet mitakeet is offline
Last Day: May 28, 2005
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2003
Location: Maryland
Posts: 4,575 mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level)mitakeet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 8 h 5 m 34 sec
Reputation Power: 20
Not really, I guess I would need to see the info in your ODBC setup. Can you connect from the machine you are having problems with via that DSN? You do realize that you must create the ODBC setup for that database on your server where you are running the program, right?

Reply With Quote
  #5  
Old August 13th, 2003, 01:27 PM
startup startup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 startup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
We got it, we gave it a username and password log in at the DSN advanced window and wala

Thanks for your help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Help! - Microsoft OLE DB Provider for ODBC Drivers error '80004005'


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 1 hosted by Hostway