This is a discussion on "code error with Access" within the Classic ASP section. This forum, and the thread "code error with Access are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
code error with Access
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
code error with Access
Hi,
I am trying to access MS-Access Database on a remote server with the code below. <%@LANGUAGE="VBSCRIPT"%> <!--#INCLUDE virtual="/common/pricelist.asp"--> <% Dim ConnectionString dim oConn ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};" &_ "DBQ=\\Server167\BusOps\Maint_ Ren_ Web_ Page_ Upload_DB.mdb;DefaultDir=;UID=;PWD=;" Dim objRS Set objRS = Server.CreateObject("ADODB.Recordset") objRS.Open "Select * from [Maintenance Renewal RAW Report] where country = 'AD'", ConnectionString %> and it gives me the following error. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data. /Renewals/testfeb.asp, line 13 please suggest, how should I reslove it. |
|
|
![]() |
| Tags |
| code, error, access |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Code 404! | Languedoc Gundogs | Starting Out | 3 | Aug 30th, 2007 16:04 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| ASP Multi users Access to Microsoft Access | ish | Classic ASP | 0 | Apr 26th, 2007 20:05 |
| ASp Access database error | drappendix | Classic ASP | 2 | Jan 30th, 2007 08:36 |
| Access a HTML InputBox through the Code-Page | bwalker | ASP.NET Forum | 5 | Nov 10th, 2005 12:58 |