Problems with database connection using ASP Script

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

  1. #1

    Default Problems with database connection using ASP Script

    I Get following error::

    ADODB.Recordset error '800a0e7d'

    The connection cannot be used to perform this operation. It is either
    closed or invalid in this context.

    /guestbook/guestbook.asp, line 7

    I'm not really a ASP-programmer, so if anyone could it would much
    appreciated..

    My Code:

    <%
    dim Conn, StrConn

    Set Conn = Server.CreateObject("ADODB.Connection")

    StrConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    "Data Source=C:\INETPUB\WWWROOT\VARIETY\www\futurispower play\guestbook\db\powerplay.mdb;"
    &_
    "User ID=;" &_
    "Password=;"




    'Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    ' "Data Source=C:\INETPUB\WWWROOT\VARIETY\www\futurispower play\guestbook\db\powerplay.mdb;"
    &_
    ' "User Id=;" &_
    ' "Password=;"
    %>

    Thanx in advance;

    KC
    KevinC Guest

  2. Similar Questions and Discussions

    1. database connection
      What is being returned? An error raised by the DLL? If Err.Number <> 0 Then MsgBox "An error occurred in the DLL" ? If con Is Nothing Then...
    2. simple ASP database connection problems
      My search form is found at: http://munzamedia.co.uk/markasp/basic%20DB%20project%20-%20netskills/search.htm ...but when I enter a search, there...
    3. CF database connection problems
      Out of nowhere I started having database connection problems both my stage and production servers. I have CFMX 6.1 with latest updater, SQL Server...
    4. database connection problems
      Hi, Just tried to create a database connection to a new site and get this error message: Client does not support authentication protocol...
    5. Database Connection Pooling in Perl CGI Script WITHOUT mod_perl
      I'm working on a Perl CGI application, and I'd like to set up database connection pooling for obvious performance-related reasons. However, the...
  3. #2

    Default Re: Problems with database connection using ASP Script

    > ADODB.Recordset error '800a0e7d'
    >
    > The connection cannot be used to perform this operation. It is either
    > closed or invalid in this context.
    >
    [url]http://www.aspfaq.com/show.asp?id=2285[/url]

    d.


    dany 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