|
 |
asp_components thread: user-defined DLL cannot be unregistered
Message #1 by "cindy zhou" <czhou@w...> on Mon, 9 Sep 2002 15:09:44
|
|
I am building a web report. I wrote an Activex DLL to do the work and call
it from an ASP page. The problem is that once I registered this DLL, I
cannto unregister it! What I am saying is that I can type "unregister /u
myDLL.dll" forever without get any error message! Seems it is always there
and it always says unregister successfully. Due to this problem, I cannot
get my ASP page work, and every time after I reregister the DLL, the error
messages are different. Once I get an error message "DLL overflow", I
guess that is the real problem.
Anyone has any idea of this problem? I would really appreciate any advice.
I have been struggling on it for many days.
Thanks,
Cindy
Message #2 by "Ramesh Kandasamy" <rame10@y...> on Thu, 12 Sep 2002 05:07:51
|
|
I hope this might help u.
First, unregister the old dll and try the following options.
Go to Internet service manager (IIS) and click propertise for that
website and then click the tab "Home Directory".
You can see "Application Protection" at the bottom with the
content "Medium (Pooled)".
Click the unload button. It will release all the pooled information for
that website.
Then stop the IIS service for that website and start it back. Now try to
register ur new dll. It will take place imdly.
If that doesn't help u, then u need to restart the server and then
register the new dll.
Thanks
Ramesh
> I am building a web report. I wrote an Activex DLL to do the work and
call
i> t from an ASP page. The problem is that once I registered this DLL, I
c> annto unregister it! What I am saying is that I can type "unregister /u
m> yDLL.dll" forever without get any error message! Seems it is always
there
a> nd it always says unregister successfully. Due to this problem, I
cannot
g> et my ASP page work, and every time after I reregister the DLL, the
error
m> essages are different. Once I get an error message "DLL overflow", I
g> uess that is the real problem.
> Anyone has any idea of this problem? I would really appreciate any
advice.
I> have been struggling on it for many days.
> Thanks,
C> indy
Message #3 by "cindy zhou" <czhou@w...> on Thu, 12 Sep 2002 16:15:28
|
|
Ramesh:
Thanks very much for the reply.
I tried your suggestion, it works to some extent. I am saying this because
of the following reason:
I registered my DLL, my ASP page works as expected. Then I unregister it
in DOS by "regsvr32 /u myDLL", my ASP page still works! I checked the
registry, it is not there anymore. But my page works and I can type the
command "regsvr32 /u myDLL" forever withoug any error!
So after I unregister DLL, I tried "unload" in "Application Protection" as
you suggested. This time my ASP page does not work (Good! should be like
this!) But I can still type the command "regsvr32 /u myDLL" forever
withoug any error! Very wield!
I read things from internet, DLL could be loaded into memory so it needs
to be unload from the memory. Do you think that could be the reason?
Thanks,
Cindy
> I hope this might help u.
> First, unregister the old dll and try the following options.
> Go to Internet service manager (IIS) and click propertise for that
w> ebsite and then click the tab "Home Directory".
> You can see "Application Protection" at the bottom with the
c> ontent "Medium (Pooled)".
> Click the unload button. It will release all the pooled information for
t> hat website.
> Then stop the IIS service for that website and start it back. Now try to
r> egister ur new dll. It will take place imdly.
> If that doesn't help u, then u need to restart the server and then
r> egister the new dll.
> Thanks
R> amesh
>
>> I am building a web report. I wrote an Activex DLL to do the work and
c> all
i> > t from an ASP page. The problem is that once I registered this DLL, I
c> > annto unregister it! What I am saying is that I can
type "unregister /u
m> > yDLL.dll" forever without get any error message! Seems it is always
t> here
a> > nd it always says unregister successfully. Due to this problem, I
c> annot
g> > et my ASP page work, and every time after I reregister the DLL, the
e> rror
m> > essages are different. Once I get an error message "DLL overflow", I
g> > uess that is the real problem.
> > Anyone has any idea of this problem? I would really appreciate any
a> dvice.
I> > have been struggling on it for many days.
> > Thanks,
C> > indy
Message #4 by "McAlexander, Jon" <Jon.McAlexander@g...> on Thu, 12 Sep 2002 16:27:27 -0500
|
|
Actually, I believe that regsvr32 /U myDll will always return a success even
after it's been unregistered. It only returns an error when the file is in
use. It won't tell you that it's already unregistered.
At least that has been my experience with it.
Jon McAlexander
Gateway
Senior Engineer IT - Intranet
Ext. 22560, Direct xxx-xxx-xxxx
-----Original Message-----
From: cindy zhou [mailto:czhou@w...]
Sent: Thursday, September 12, 2002 11:15 AM
To: ASP components
Subject: [asp_components] Re: user-defined DLL cannot be unregistered
Ramesh:
Thanks very much for the reply.
I tried your suggestion, it works to some extent. I am saying this because
of the following reason:
I registered my DLL, my ASP page works as expected. Then I unregister it
in DOS by "regsvr32 /u myDLL", my ASP page still works! I checked the
registry, it is not there anymore. But my page works and I can type the
command "regsvr32 /u myDLL" forever withoug any error!
So after I unregister DLL, I tried "unload" in "Application Protection" as
you suggested. This time my ASP page does not work (Good! should be like
this!) But I can still type the command "regsvr32 /u myDLL" forever
withoug any error! Very wield!
I read things from internet, DLL could be loaded into memory so it needs
to be unload from the memory. Do you think that could be the reason?
Thanks,
Cindy
> I hope this might help u.
> First, unregister the old dll and try the following options.
> Go to Internet service manager (IIS) and click propertise for that
w> ebsite and then click the tab "Home Directory".
> You can see "Application Protection" at the bottom with the
c> ontent "Medium (Pooled)".
> Click the unload button. It will release all the pooled information for
t> hat website.
> Then stop the IIS service for that website and start it back. Now try to
r> egister ur new dll. It will take place imdly.
> If that doesn't help u, then u need to restart the server and then
r> egister the new dll.
> Thanks
R> amesh
>
>> I am building a web report. I wrote an Activex DLL to do the work and
c> all
i> > t from an ASP page. The problem is that once I registered this DLL, I
c> > annto unregister it! What I am saying is that I can
type "unregister /u
m> > yDLL.dll" forever without get any error message! Seems it is always
t> here
a> > nd it always says unregister successfully. Due to this problem, I
c> annot
g> > et my ASP page work, and every time after I reregister the DLL, the
e> rror
m> > essages are different. Once I get an error message "DLL overflow", I
g> > uess that is the real problem.
> > Anyone has any idea of this problem? I would really appreciate any
a> dvice.
I> > have been struggling on it for many days.
> > Thanks,
C> > indy
jon.mcalexander@g...
%%email.unsub%%
Message #5 by "Ramesh Kandasamy" <rame10@y...> on Fri, 13 Sep 2002 05:47:41
|
|
When, we unregister the dll, it is removing from the registry but some
extend it is not removing from the memory.
That's why i suggested u to unload it manually.
When u unregister the dll, it always says, the dll unregistered
successfully even if it is not exist on the registry.
Only microsoft can help us on this :)
And one more thing, please make sure the user who logged in, should have
administrator rights to register/unregister the dll for better result.
Thanks
Ramesh
> Ramesh:
> Thanks very much for the reply.
> I tried your suggestion, it works to some extent. I am saying this
because
o> f the following reason:
> I registered my DLL, my ASP page works as expected. Then I unregister it
i> n DOS by "regsvr32 /u myDLL", my ASP page still works! I checked the
r> egistry, it is not there anymore. But my page works and I can type the
c> ommand "regsvr32 /u myDLL" forever withoug any error!
> So after I unregister DLL, I tried "unload" in "Application Protection"
as
y> ou suggested. This time my ASP page does not work (Good! should be like
t> his!) But I can still type the command "regsvr32 /u myDLL" forever
w> ithoug any error! Very wield!
> I read things from internet, DLL could be loaded into memory so it needs
t> o be unload from the memory. Do you think that could be the reason?
> Thanks,
C> indy
>
> > I hope this might help u.
> > First, unregister the old dll and try the following options.
> > Go to Internet service manager (IIS) and click propertise for that
w> > ebsite and then click the tab "Home Directory".
> > You can see "Application Protection" at the bottom with the
c> > ontent "Medium (Pooled)".
> > Click the unload button. It will release all the pooled information
for
t> > hat website.
> > Then stop the IIS service for that website and start it back. Now try
to
r> > egister ur new dll. It will take place imdly.
> > If that doesn't help u, then u need to restart the server and then
r> > egister the new dll.
> > Thanks
R> > amesh
> >
>> > I am building a web report. I wrote an Activex DLL to do the work
and
c> > all
i> > > t from an ASP page. The problem is that once I registered this DLL,
I
c> > > annto unregister it! What I am saying is that I can
t> ype "unregister /u
m> > > yDLL.dll" forever without get any error message! Seems it is always
t> > here
a> > > nd it always says unregister successfully. Due to this problem, I
c> > annot
g> > > et my ASP page work, and every time after I reregister the DLL, the
e> > rror
m> > > essages are different. Once I get an error message "DLL overflow",
I
g> > > uess that is the real problem.
> > > Anyone has any idea of this problem? I would really appreciate any
a> > dvice.
I> > > have been struggling on it for many days.
> > > Thanks,
C> > > indy
Message #6 by "cindy zhou" <czhou@w...> on Fri, 13 Sep 2002 13:46:36
|
|
Thank you all for the help.
Cindy
|
|
 |