Run IIS as current user
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 adm开发者_C百科inistrator) 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
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.
精彩评论