Dreaded Jet DB error 80004005 help needed. What causes this???

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Dreaded Jet DB error 80004005 help needed. What causes this???

    Hi All,

    I'm trying to understand what causes this error message:
    Microsoft JET Database Engine error '80004005'

    The Microsoft Jet database engine cannot open the file
    '\\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB'. It is already opened
    exclusively by another user, or you need permission to view its data.

    /newopenedcasedupload.asp, line 28


    My code works when the access db is located locally but when I try to access
    a remote database on another server, I get the above message. Here is my
    working code (when db is local) below. How can I access the remote db?

    dim connectionstring, rs, db, Querystring

    connectionstring = "provider=microsoft.jet.oledb.4.0;data source=
    \\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB;persist security info=false"

    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open "DataUpload","InsertUpdate","xxxx"
    set db = Server.CreateObject("ADODB.Connection")
    db.Open connectionstring
    Set rs = Server.CreateObject("ADODB.Recordset")




    JackV Guest

  2. Similar Questions and Discussions

    1. Help 80004005 Error...
      I'm working with a customer who has an NT Server (I think it's SP3) running IIS 4. We just converted the databases to Access 2000 and loaded Access...
    2. 80004005 error
      I initially posted this in a different ng. I was advised that this ng was perhaps more attuned to my question. The following is my original post:...
    3. Error Trapping the dreaded refresh
      Hi All My problem basically is as follows: 1) User enters their details to create a new account in my db. 2) They press the submit, the...
    4. Provider error '80004005' Unspecified error - ARRRGGGHHH!!!!!
      I have searched usenet & dev sites to no avail although many have had similar problems, reckon its an issue with DSN but not sure.. error occurs...
    5. Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error
      Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the...
  3. #2

    Default Re: Dreaded Jet DB error 80004005 help needed. What causes this???

    See the steps you need to take here first.

    [url]http://www.aspfaq.com/show.asp?id=2168[/url]

    Ray at work

    "JackV" <vituja@consumer.org> wrote in message
    news:%23YMun%23i%23DHA.3284@TK2MSFTNGP09.phx.gbl.. .
    > Hi All,
    >
    > I'm trying to understand what causes this error message:
    > Microsoft JET Database Engine error '80004005'
    >
    > The Microsoft Jet database engine cannot open the file
    > '\\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB'. It is already opened
    > exclusively by another user, or you need permission to view its data.
    >
    > /newopenedcasedupload.asp, line 28
    >
    >
    > My code works when the access db is located locally but when I try to
    access
    > a remote database on another server, I get the above message. Here is my
    > working code (when db is local) below. How can I access the remote db?
    >
    > dim connectionstring, rs, db, Querystring
    >
    > connectionstring = "provider=microsoft.jet.oledb.4.0;data source=
    > \\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB;persist security
    info=false"
    >
    > Set Conn = Server.CreateObject("ADODB.Connection")
    > Conn.Open "DataUpload","InsertUpdate","xxxx"
    > set db = Server.CreateObject("ADODB.Connection")
    > db.Open connectionstring
    > Set rs = Server.CreateObject("ADODB.Recordset")
    >
    >
    >
    >

    Ray at Guest

  4. #3

    Default Re: Dreaded Jet DB error 80004005 help needed. What causes this???

    Thanks for the info Ray




    "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
    message news:ez9IIFj%23DHA.3668@TK2MSFTNGP09.phx.gbl...
    > See the steps you need to take here first.
    >
    > [url]http://www.aspfaq.com/show.asp?id=2168[/url]
    >
    > Ray at work
    >
    > "JackV" <vituja@consumer.org> wrote in message
    > news:%23YMun%23i%23DHA.3284@TK2MSFTNGP09.phx.gbl.. .
    > > Hi All,
    > >
    > > I'm trying to understand what causes this error message:
    > > Microsoft JET Database Engine error '80004005'
    > >
    > > The Microsoft Jet database engine cannot open the file
    > > '\\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB'. It is already opened
    > > exclusively by another user, or you need permission to view its data.
    > >
    > > /newopenedcasedupload.asp, line 28
    > >
    > >
    > > My code works when the access db is located locally but when I try to
    > access
    > > a remote database on another server, I get the above message. Here is
    my
    > > working code (when db is local) below. How can I access the remote db?
    > >
    > > dim connectionstring, rs, db, Querystring
    > >
    > > connectionstring = "provider=microsoft.jet.oledb.4.0;data source=
    > > \\Devadp\cdrive\Inetpub\wwwroot\cgi-bin\HSW.MDB;persist security
    > info=false"
    > >
    > > Set Conn = Server.CreateObject("ADODB.Connection")
    > > Conn.Open "DataUpload","InsertUpdate","xxxx"
    > > set db = Server.CreateObject("ADODB.Connection")
    > > db.Open connectionstring
    > > Set rs = Server.CreateObject("ADODB.Recordset")
    > >
    > >
    > >
    > >
    >
    >

    JackV Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139