|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
error '80004005' HELP!!!
<i><b>Originally posted by : fvilla (fvilla@rodrun.com)</b></i><br />hi, i am trying to conect a microsoft access2000 database with ASP.<br />the database name is data1.mdb and is in the same directory that my ASP file.<br /><br />my asp code is:<br /><br /><%<br />set dbDataBase1 = Server.CreateObject("ADODB.connection")<br />dbDataBase1.Open "data1"<br />%><br /><br />and my IE shows me:<br /><br />[Microsoft][ODBC Driver Manager] datasource name not found and no default driver specified.<br /><br />in the line where i open the connection.<br /><br />can anyone help me?? please...<br /><br />thank you.<br />fvilla@rodrun.com
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : jeff</b></i><br />Try this:<br /><br /><br />dbDataBase1.Open "DBQ=data1.mdb;Driver={Microsoft Access Driver(*.mdb)};DriverId=25;MaxBufferSize=8192;Thre ads=20;"<br /><br />The problem is that you are not specifying enough information for ODBC.<br /><br />Hope this helps.<br /><br />jeff<br /><br />------------<br />fvilla at 5/29/2000 4:20:08 PM<br /><br />hi, i am trying to conect a microsoft access2000 database with ASP.<br />the database name is data1.mdb and is in the same directory that my ASP file.<br /><br />my asp code is:<br /><br /><%<br />set dbDataBase1 = Server.CreateObject("ADODB.connection")<br />dbDataBase1.Open "data1"<br />%><br /><br />and my IE shows me:<br /><br />[Microsoft][ODBC Driver Manager] datasource name not found and no default driver specified.<br /><br />in the line where i open the connection.<br /><br />can anyone help me?? please...<br /><br />thank you.<br />fvilla@rodrun.com
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > error '80004005' HELP!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|