Ask a Question related to ASP, Design and Development.
-
Iona #1
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
-
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. ... -
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... -
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 :... -
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... -
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... -
Ken Schaefer #2
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



Reply With Quote

