PDA

View Full Version : IIS and dll registration



walqas
06-14-2007, 08:59 AM
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

davidh
06-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