After a successful upgrade from Visual InterDev 1.0 to 6 (the one from
MSDN) i'am getting this error, whenever i try to connect to a database.
"Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Specified driver could not be loaded due to system error 5 (Microsoft
Access Driver (*.mdb))."
Could someone help me ?
this is a sample code which will fale:
global.asa:
Session("IPJ_ConnectionString") =
"DSN=IPJ;DBQ=D:\Work\Bases\IPJ\Swierk1.mdb;DriverId=25;FIL=MS
Access;MaxBufferSize=512;PageTimeout=5;"
' ^^^ This is in one line !
Session("IPJ_ConnectionTimeout") = 15
Session("IPJ_CommandTimeout") = 30
Session("IPJ_RuntimeUserName") = ""
Session("IPJ_RuntimePassword") = ""
default.asp:
Dim oConn
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open Session("IPJA_ConnectionString")
and the error just shows up here...
computer configuration:
IE 4.01
IIS 4.0
VS 6.0
MDAC 2.0
The code was running with no problem with VS 5.0 and MDAC 1.5x
Please, could someone help me out ?
--
b. http://nt.faq.net.pl
bar...@faq.net.pl ftp://ftp.faq.net.pl
OK. I resolved the problem by myself... The odbc*35.dll files where
inacessible to IUSR_COMPNAME account !!! Don't know why the installation
made them such, but :)