Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 18th, 2005, 08:58 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS connected tested but Error when loaded

Here's the error I'm getting:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

I dont' know why??? I created a System DNS, tested it successfully. Created a Connection (via Dreamweaver) tested it successfully.

But when I call the page:
I get the error above???

One thing I did notice, my access database creates an "ldb" file everytime I open the page (In dreamweaver)???


I haven't even tried calling a Dynamic table which is ultimately what I'm trying to do.

Please help, as in following the instructions within Dreamweaver I haven't found the solution,
Thanks for all your help!

Nancy
 
Old April 18th, 2005, 09:11 AM
Registered User
 
Join Date: Feb 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have found this posting that might help. It is from

Error:
80004005 - Data source name not found and no default driver specified
or
80004005 - Driver's SQLSetConnectAttr failed
or
80004005 - General error Unable to open registry key ‘DriverId’”)

What's it look like?
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager]
Data source name not found and no default driver specified

or similar .......



Why Me??
This can happen if .....

   1. The page can’t find the DSN on your local machine.
   2. The page can’t find the DSN on your Web Hosts server.
   3. The DSN was set up as a user DSN, not as a system DSN.
   4. If you are using Microsoft Access, the database file (.mdb) might be locked due to a DSN with a different name accessing the database.

What must I do???

   1. Make sure that you have set up your DSN correctly on your local machine.
   2. Just because you have a DSN on your local machine does not mean that your page will automatically work on your Web Hosts server. You have to set up a DSN (with the same name) on their server as well. Check your hosts FAQ's or mail their support team for instructions.
   3. Check that the DSN you set up was a "System" DSN and not a "User" DSN.
   4. Look for the lock file (.ldb) in the folder containing the database file (.mdb) and delete the .ldb file. If another DSN is pointing to the same database file delete that DSN to prevent the error in the future. Reboot the computer after making these changes. http://www.webthang.co.uk/forum/code_replies.asp?ID=3944

 
Old April 18th, 2005, 09:25 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks but this doesn't help. I'm trying to figure out why my DB creates a locked file EVERYTIME I open Dreamweaver.????

 
Old April 18th, 2005, 09:49 AM
Registered User
 
Join Date: Feb 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try this posting from Microsoft. Do you have your DB open? In Access, have you given permissions for read/write to your users? Let us know how this works. Unfortunately, I use MS SQL and am not too familiar with the quirks of Access.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;208778

 
Old April 18th, 2005, 09:59 AM
Registered User
 
Join Date: Feb 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Download this Powerpoint file. On slide 44, you will see a screen shot of exactly how your permissions need to be set in Access.

[http://www.coba.panam.edu/faculty/cr...S4312/ch07.ppt

 
Old April 18th, 2005, 10:46 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you,but this problem has been resolved. It had to do with web-admin stuff. System administrator fixed.

nancy



 
Old May 5th, 2005, 02:08 PM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi everyone

I am stuck with this problem can anyone help
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed








Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from DNS to DNS less connection dudeshouse Classic ASP Databases 4 February 7th, 2007 12:02 PM
Can not find server or dns error a_afiaax Classic ASP Components 0 January 18th, 2006 12:15 PM
IIS 5.1 - Cannot find server or DNS Error silyaza BOOK: Beginning ASP 3.0 3 June 1st, 2005 07:40 PM
secondary DNS vs. second primary DNS gangu1971 Linux 1 March 1st, 2005 10:40 AM
Cannot Find Server or DNS Error code robh HTML Code Clinic 0 October 27th, 2004 06:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.