
Complied DLL causes createobject to fail
Hi,
Did you re-register the new updated DLL on the Web Server
using regsrv32.exe
If the interface has changed in anyway you need to re-register
the DLL.
Note:
(1) Stop IIS4.0 (You don't have to in IIS5.0)
(2) Copy in new DLL
(3) register DLL using regsvr32.exe myDLL.DLL
(4) Start IIS4.0 Service
Try the Server.CreateObject statement again.
There are more tips, code and answers for all
programming at http://www.FreeDeveloperTips.com
Tipster
Quote:
-----Original Message-----
All,
I have a DLL that initially I comiled and it ran fine on ISS5.0 through
Com+. Then I made minor modifications to a SQL statement that added one more
field to the result set. After recompiling the DLL and recreating the COm
application I can no longer create any of the objects in any of the classes
in the DLL. Now the kicker is when I run the DLL in the VB6.0 IDE and test
it in the immediate window the classes work fine using a NEW declaration but
fail with teh exact same message as my web app if I switch and use the
CreateObject method.
Has anyone seen any behavior like this. I have spent untold hours in
newgroups and in the MSDN and have found nothing even remotely similar to
this reaction.
This is the message I receive:
System Error &H80004005 (-2147467259). Unspecified error
Thanks much,
John
.