We needed the asp.net worker process (aspnet_wp.exe) to access a share on a remote machine. By default the "Netowrk Service" runs aspnet_wp and that user doesn't have access to remote shares. The way to change this is by changing the "processModel" attribute in your machine.config file (c:\windows\microsoft.net\framework\v2*\config\machine.config).
Mine ended up looking something like this:
<system.web>
<processModel userName="DOMAIN\username" password="password" autoConfig="true">
</processModel>
...
</system.web>
Just make sure to restart IIS for the changes to take effect.
2 comments:
I'll probably be the only one, but I wanted to let you know that this small gem saved me a ton of time!
Thanks
Happy to help!
Post a Comment