Home All Groups Group Topic Archive Search About

IIS hangs when testing VB DLL

Author
14 Oct 2005 7:24 PM
rkbarr
Hello,

I'm trying to develop a DLL for use as an ASP object in VB5.  When i go
and run the dll, it starts fine in vb and i see that it's creating a
temp instance of it in the registry.

When I run the asp page which calls that object through a browser
window, the browser locks.  I telnet to port 80 and send a GET /, and
the connection hangs, nothing gets sent from IIS and the connection
never drops.  When I comment out the createobject line, the asp page
loads fine, and when I stop the dll from running in vb, I get the
Server.CreateObject Failed error, which i'm expecting to happen.

I can however compile the dll and register it, then it works great, but
when I call the object while it's running from vb, it bombs.  I would
just use registering and unregistering as a work-around, but after I
unregister the dll, I have to reboot the computer so I can overwrite
the dll with a new copy or I get an access denied message.

Any ideas?

Author
14 Oct 2005 8:28 PM
Ralph
<rkb***@comcast.net> wrote in message
Show quoteHide quote
news:1129317870.792369.260990@f14g2000cwb.googlegroups.com...
> Hello,
>
> I'm trying to develop a DLL for use as an ASP object in VB5.  When i go
> and run the dll, it starts fine in vb and i see that it's creating a
> temp instance of it in the registry.
>
> When I run the asp page which calls that object through a browser
> window, the browser locks.  I telnet to port 80 and send a GET /, and
> the connection hangs, nothing gets sent from IIS and the connection
> never drops.  When I comment out the createobject line, the asp page
> loads fine, and when I stop the dll from running in vb, I get the
> Server.CreateObject Failed error, which i'm expecting to happen.
>
> I can however compile the dll and register it, then it works great, but
> when I call the object while it's running from vb, it bombs.  I would
> just use registering and unregistering as a work-around, but after I
> unregister the dll, I have to reboot the computer so I can overwrite
> the dll with a new copy or I get an access denied message.
>
> Any ideas?
>

Does this mean while running from the IDE - "when I call the object while
it's running from vb"?

You have to place VBDEBUG.DLL in your web space.

-ralph
Author
14 Oct 2005 8:45 PM
Ralph
Actually the rules have changed a bit depending on IIS and ASP versions, you
might find something else more germaine to your problem here....

http://support.microsoft.com/default.aspx?scid=kb;en-us;259725

http://support.microsoft.com/default.aspx?scid=kb;en-us;261871

http://support.microsoft.com/default.aspx?scid=kb;en-us;299633
Author
14 Oct 2005 11:33 PM
rkbarr
Ralph,

Thank you very much with the links to the different microsoft support
articals that you found.  They pointed me in the correct direction and
I found the answer to my problem.