tags:

views:

13

answers:

0

I am trying to ivnoke IMAPI (windows 32 CD burning service) under an ASP.NET application (IIS 5.1, Windows XP sp3). On the call to CoCreateInstance I receive a COMException 0x80070005 Access Denied. The same code works when run as a console application. To be sure it is indeed a permission problem I added ASPNET to the Administrators group and then it worked. Obviously I do not want to keep it in that state. I have also tried just granting ASPNET permission on C:\WINDOWS\system32\imapi.exe but that has no effect.