j++coder wrote:
Quote:
thanks for the quick reply.
>
The set keyword is used but still it is not setting it in Application
variable
>
Dim o , sLogFileDir
Set sLogFileDir = "c:\log"
Set o = CreateObject("MyClass")
Call o.StartLog (sLogFileDir)
Set Application("myappObj") = o
>
MyClass is an J# (2005) com visible Dll Class , if it is j++ dll
then it is happening but not with j# dll.
Oh wait. I just reread your original message and saw that you said you did
successfully store the dll in Session, although that statement is
contradicted by this one:
but if i am using it in ASP then it is raising an error "Object
required'
So maybe it does seem you have a usable COM object. So I guess the only
thing is to establish where in global.asa you are attempting to store it in
Application. Excuse the question, but ... hopefully you put the above code
in the application_onstart event handler sub in global.asa ...
If the above lines are the only lines of code in global.asa, they will never
fire ... you probably knew this already but I have to eliminate all
possibilities
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
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"