Ask a Question related to ASP, Design and Development.

  1. #1

    Default another error type

    Thanks for the reply it helped me but then I get this

    Error Type:
    Provider (0x80004005)
    Unspecified error
    /asp/PPLMain/memberpage.asp, line 10

    and my line 10 is still

    RsMember.ActiveConnection = MM_connPPL2_STRING

    I dont understand. Anyone can help me?

    -----------------------------
    This message is posted by [url]http://Asp.ForumsZone.com[/url]

    Iona Guest

  2. Similar Questions and Discussions

    1. Parser Error: Type XYZ does not have a property named 'cc3:MyItems' (complete posting) ASP.NET Web Control Error
      I am having problems trying to get this part of the functionality working on my control and I hope somebody has a clue about how to resolve it. ...
    2. Error: Webcontrol must have items of type X. SubLinks is of type Y
      Hi, I have made a web control that has two sorts of items. The first is the Links property that has a persistence attribute of InnerProperty, the...
    3. midl\oleaut32.dll : error MIDL2020 : error generating type library : LayOut failed : IXMLDOMNode
      Hi there Im new to C++ and have inherited a C++ dll that wont compile. Its coplaing about the following midl\oleaut32.dll : error MIDL2020 :...
    4. Error type
      Does anyone know this type of error means? Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Could not use ''(unknown)''; file...
    5. Cast from type 'DBNull' to type 'String' is not valid error
      Trying to add an insert button Sub btnAddRow_Click event for adding a row to the datagrid and dataset back to SQL. Had it working per the...
  3. #2

    Default Re: another error type

    That's a bad way of doing things.

    You should be:
    a) opening an explicit connection object
    b) setting the recordset's .ActiveConnection property to the connection
    object
    c) explicitly closing the connection object at the end of the page

    <%
    Set objConn = Server.CreateObject("ADODB.Connection")
    objConn.Open MM_connPPL2_STRING

    Set objRS = Server.CreateObject("ADODB.Connection")
    Set objRS.ActiveConnection = objConn
    '
    ' Rest of the page here
    '
    objConn.Close
    Set objConn = Nothing
    %>

    At the moment you are implicitly creating a connection to the database, but
    you never closing it. It's hanging around until it eventually times out. The
    number of open connections is probably building up until you get this error.

    Cheers
    Ken

    "Iona" <ionasiswandi@hotmail.com> wrote in message
    news:72769630169698@Asp.ForumsZone.com...
    : Thanks for the reply it helped me but then I get this
    :
    : Error Type:
    : Provider (0x80004005)
    : Unspecified error
    : /asp/PPLMain/memberpage.asp, line 10
    :
    : and my line 10 is still
    :
    : RsMember.ActiveConnection = MM_connPPL2_STRING
    :
    : I dont understand. Anyone can help me?
    :
    : -----------------------------
    : This message is posted by [url]http://Asp.ForumsZone.com[/url]
    :


    Ken Schaefer 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