Hi everyone.
I need some suggestion or help in tracking my problem.

I have an asp project which uses a com api and it works fine in debug mode. When i create an MSI file and install it in the same computer, the com api can be queried for information, but any modification(like creating a new file/renaming it through COM) is just ignored. I was told that the COM API will accept modification only from Administrator and i blieve the asp.net application uses a guest login to access the page. It works in the debug mode becasue i am an administrator running the program. How do i make sure iam accessing/sending commands to the COM API as an Administrator from asp.net (that's how i have logged on to the system).

Things i have tried.

1. I tried authentication with allow=administrator in the web.config file.

2. change the iis directory security to allow anonymous log on to administrator.


Any help is appreciated.