CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft JET Database Engine error '80004005' Disk or network error
- Article ID:
141 - Date Created
Saturday, June 25, 2011 - Last Updated
Saturday, June 25, 2011 - This Article Has been Viewed
2907 times - Short Desc
Database Connection string is not properly configured for the system you are running on. Change the connection string to make it work with the server the application is running on. - Details
When designing your database driven web application, you will usually have 2 different connection string. 1 is the connection to your local testing server (Development Server) and then you will have the connection string that will work on the Production Server (Live Server). If you forget to change the string around when you upload to the LIVE server, you will experiance the following error.
Microsoft JET Database Engine error '80004005'
Disk or network error.
/adocon.asp, line 16 - Recreate Issue
To recreate this error.
Having the incorrect database connection string, will cause this issue.
Example
<%
adoconTemp.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\hshome\44543\site.com\db\mydb.mdb"
%>
In this case, the drive letter is on the local server. - Resolve Issue
To resolve this issue.
Make sure that your connection is correct
<%
adoconTemp.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\hshome\44543\site.com\db\mydb.mdb"
%>
In this case, the drive letter had to be changed to the LIVE server drive letter.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825