Taufiq Abdur Rahman
Taufiq Abdur Rahman

Reputation: 1388

IIS Access Issue

WCF Service

I am developing a WCF Service and it needs to communicate with a com application running on the system.

I have tested the service with ASP.net development server it works fine. now when i run it from IIS the service can't communicate with the com application.

Issue is IIS runs in a different user account 'Application pool', than the one user is logged in. The COM file run on the user account user is logged in. So the that is the reason they have issue communication. Or at least that what i think.

What i did was i created a new application pool in IIS and in advance setting i changed the process model identity to local system. but it did not work....

i need ideas how to make the make the com and the service to run in the same account.

Any idea will be much appropriated.

Upvotes: 1

Views: 84

Answers (1)

Anders Abel
Anders Abel

Reputation: 69310

IIS not only runs under a separate account, but also runs under a separate login session that is completely separated from the interactive users session. The COM object must be possible to invoke without a user even being logged on if you are to use from IIS.

Upvotes: 1

Related Questions