What is the best way to allow a user connecting to an IIS service to run a process that instantiates COM objects?
Running a COM-based process on the machine with an admin account works fine. However, hosting the application in IIS throws the following COM exception:
Retrieving the COM class factory for component with CLSID {yadda-yadda-yadda} failed due to the following error...class not registered.
The class is indeed registered. Works fine with admin account. I've done some reading, and it looks like I need to have the anonymous account use an admin account on the box. However, my admins are not wanting to do this due to security.
What's the best practice here? How do I set this up?
UPDATE: Btw, we tried setting the anonymous user as a local admin account but still received the error message.