[thelist] Trouble in COM land!

Chris Blessing webguy at mail.rit.edu
Thu Mar 14 11:57:01 CST 2002

Hi all-

I'm having a hell of a time working with some components I created in VB6.
Here's the shakedown:

Win2k Pro (IIS 5.0)

What I'm doing is trying to update the component DLL which I just built.
Unfortunately, the file seems to be locked completely.  I've tried stopping
all IIS services, regsvr32 /u'ing the file, restarting the IIS services, and
the file is still locked!  The only way I can unlock it is by rebooting; and
I don't wanna do that everytime I update my code.

In light of that, I was informed that I could build the DLL, the run the
component from within the VB IDE and that would allow me to debug on the fly
since the component running from the IDE would intercept any calls to that
component, instead of the DLL file handling it.  Unfortunately when I do
this, I get the dreaded and vague "The call to Server.CreateObject failed
while checking permissions. Access is denied to this object." error from the
ASP page on the server.createobject() line.  Frustrating to say the least!

My next stop was the MSKB, in which I found this article:


Following that, I still get this error.  I then located another article:


But again, my efforts were thwarted by Windows. =(

So does anyone have any idea(s) as to what I can do to keep me from having
to reboot during my com development process?  Tip to follow! =)

Chris Blessing
webguy at mail.rit.edu

More information about the thelist mailing list