Re: ADO Connection object in Session_OnEnd

From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 09/24/04


Date: Fri, 24 Sep 2004 09:55:49 -0400

Agoston Bejo wrote:
> From what you (and the others) say, it shouldn't be done this way,
> and I should create a new Connection object in every asp page. Right?

Right

>
> Anyway, the original problem has not much to do with this, so let's
> now concentrate on that part. (Why doesn't the newly created
> Connection
> object --initialized with a valid connection string-- work in
> Session_OnEnd?)

I've never seen this message, but that may be because I've only used the SQL
Server and Jet providers. I have no experience with the Oracle provider. The
only clue I can offer is that the IWAM account (not the IUSR) is the user
during Session_OnEnd. There may be some permissions lacking somewhere
(perhaps in the Registry) for this user. Sorry I can't be of more help. Have
you tried Google or an Oracle forum/newsgroup?

Bob Barrows

-- 
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" 


Relevant Pages

  • Re: ADO Connection object in Session_OnEnd
    ... > and I should create a new Connection object in every asp page. ... I have no experience with the Oracle provider. ... only clue I can offer is that the IWAM account is the user ... This email account is my spam trap so I ...
    (microsoft.public.scripting.vbscript)
  • Re: ADO Connection object in Session_OnEnd
    ... > and I should create a new Connection object in every asp page. ... I have no experience with the Oracle provider. ... only clue I can offer is that the IWAM account is the user ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.db)
  • Re: ADO Connection object in Session_OnEnd
    ... > and I should create a new Connection object in every asp page. ... I have no experience with the Oracle provider. ... only clue I can offer is that the IWAM account is the user ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.general)