AboutSrini Nagarajan Expertise I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase
Experience Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.
Expert: Srini Nagarajan Date: 11/10/2005 Subject: Error on database connections
Question Hi Mr.Srini,
I am currently working on our companies website. I have included a form to collect user's data and store it in the database. For connecting I created a folder and stored the database and a file dsn in that folder. Now the code for accessing the database is in another folder. With this scenario its working on my local host. Now when I uploaded this code on to the web server its giving me this following error:
'Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x4a8 Thread 0xb3c DBC 0x20c7e6c Jet'.
/xyz.com/RegistrationForm/Register_Fields.asp, line 17'
I dont understand why is this error coming when the same code i used on my local machine its working fine.
He is the file dsn I am using:
'[ODBC]
DRIVER=Driver do Microsoft Access (*.mdb)
UserCommitSync=Yes
Threads=3
SafeTransactions=0
PageTimeout=5
MaxScanRows=8
MaxBufferSize=2048
FIL=MS Access
DriverId=25
DefaultDir=\xyz.com\Databases
DBQ=\xyz.com\Databases\uniplus_pdf.mdb'