This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- IIS and dll registration
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 14, 2007
08:59 AM
IIS and dll registration
Hi.
I have a basic msi project for ASP project install. My installer will copy ASP pages, create a virtual directory, and register some dlls used by the ASP pages.
Whenever i try to run the page that references my dll, the page fails with an error of not being able to create an instance of the dll class. I know this error occurs when dlls are not registered. I used COM explorer to check if dlls are correctly registered and it showed fine. I can fix this by unRegistering the dlls and reRegistering them. I don't even need to restart the website nor the IIS to get this working.
I dont know why the dlls cant be used when registered by the installer.
Thanks
I have a basic msi project for ASP project install. My installer will copy ASP pages, create a virtual directory, and register some dlls used by the ASP pages.
Whenever i try to run the page that references my dll, the page fails with an error of not being able to create an instance of the dll class. I know this error occurs when dlls are not registered. I used COM explorer to check if dlls are correctly registered and it showed fine. I can fix this by unRegistering the dlls and reRegistering them. I don't even need to restart the website nor the IIS to get this working.
I dont know why the dlls cant be used when registered by the installer.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 14, 2007
10:51 AM
Perhaps you can experiment with different methods of registering your dll's?
http://helpnet.installshield.com/robo/projects/installshield14helplib/SelfRegMethods.htm
http://helpnet.installshield.com/robo/projects/installshield14helplib/SelfRegMethods.htm