Re: connection suddenly fails: mdac? pooling?
From: Hernán Castelo (hhh_at_hotmail.com)
Date: 03/17/04
- Next message: Maarten: "Re: Clearing a Table (Access MDB file)"
- Previous message: Mark Schupp: "Re: Clearing a Table (Access MDB file)"
- In reply to: Bob Barrows: "Re: connection suddenly fails: mdac? pooling?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 13:42:46 -0300
yes
in the actual web pages is "exception error" in "cmd.execute"
then get the same error in "cmd.activeconnection=cnx"
...but listen please (this is going me mad)
i cant describe exactlye the error now
because everything works OK now: believe me
but im not happy because
earlier this morning was ok too:
i execute the web site pages now and works well....
i dont know how much time
the sql go to be stable
.... perhaps, after a while, a will
"Bob Barrows" <reb01501@NOyahoo.SPAMcom> escribió en el mensaje news:O3oeDjDDEHA.1128@TK2MSFTNGP11.phx.gbl...
> Hernán Castelo wrote:
> > hi
> >
> > just for test, i wrote this asp code
> > if i include the line of "activeConnection"
> > i get the 800a01fb error : "exception"
>
> That's all it says? "exception"?
>
>
> > i reinstalled MDAC again and again
> > i close all objects
> > see the example ONLY open and close a connection
> >
> > connections seems be POOLED ok
> > but executing the asp code several times
> > i get the error again... then that connection pool stay open for ever
> > (in sql console)
> >
> > <%
> > dim cnx, cmd
> > Set cnx = server.createObject( "ADODB.Connection")
> > cnx.ConnectionString = "provider=sqloledb;Data Source=...;Initial
> > Catalog=...;User ID=...;Password=..."
> > cnx.Open
> > set cmd= server.createObject( "ADODB.command")
> >
> > ' cmd.activeConnection= cnx
>
> This should be:
> set cmd.activeConnection= cnx
>
> Without the "set" keyword, another connection is opened using the cnx
> object's connectionstring property.
>
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>
- Next message: Maarten: "Re: Clearing a Table (Access MDB file)"
- Previous message: Mark Schupp: "Re: Clearing a Table (Access MDB file)"
- In reply to: Bob Barrows: "Re: connection suddenly fails: mdac? pooling?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|