简体   繁体   中英

give iis application rights to system folder

I'm using the same components to access some dll in windows\\system32. When I do it from exe, it works. However, when I am doing it from an IIS application, it fails - I do not know exactly what the error is because I am using third party components. Do I have set up the IIS WCF Application in a specific way to access the dll in windows\\system32? I tried to explicitly enter the user with which the physical path was access but it did not help...

Im not sure the giving IIS the rights is the way to go.

I would split the application into two parts:

1: A windows service hosting the components that need the special access, exposing an endpoint towards the IIS web app.

2: The the web app , that will call the service to get the work done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM