tags:

views:

28

answers:

1

Hello. I have a security problem I can't solve. I have developed web service that it is actually a wrapper for native dll api. When I run it from ASP.NET Development server (From Visual Studio) there are no problems (The visual studio runs as administrator) The native DLL also create directories and files in the hard drive. Now, when i use it with iis, since it doesn't has priviligies of writing directories and folders, and off course read data from registry it fails operationg.

So, how do I run IIS as administrator instead of built-in account?

Thanks, Shay

A: 

You need to create an account with the appropriate permissions, and then have ASP.NET run your application using that account. The steps to do that will vary somewhat depending on what version of IIS that you're running.

Jason
Well, I did it. Creating an account with proper priviligue, but now I do have a new problem.The native DLL beside of the folders and file it creates, seems to open a new proccess for each folder it makes.Why the IIS if it has the priviligue doesn't allow it to create new proccesses ?
Shay

related questions