Marlon
Marlon

Reputation: 1877

How to configure Com+ .net Assembly called from classic ASP to run under AppPool User

I have a very specific scenario: A classic ASP application is running a .Net Assembly through COM+. It's working, but I'm having problems regarding which user the DLL is running under.

In my staging server, both w3wp.exe process and the .net DLL are running under AppPool user : IIS AppPool\AppPoolName. But in the production server, w3wp.exe is running under AppPool user, while the .net DLL is running under NT Authority. I need it to run under AppPool user so I can configure permissions to a folder the DLL needs to write to.

I discover the user the DLL is running under calling Environment.UserName in C# code.

Some things I've already tried and checked:

Upvotes: 1

Views: 82

Answers (0)

Related Questions