P
ps213
I have an ASP.NET app running on IIS instance A which talks to the PSI on IIS
instance B. The application requires the user to be authenticated using
Windows authentication.
At the interface with PS2007 the application instantiates an instance of the
Resource web service and sets the credentials to the default credentials in
the cache as per all the code samples.
When the application is run on the machine A the call through to PS 2007
works correctly. However, if a user invokes the application from another
machine the call fails with a 401 error even though the credentials available
at the call to the PSI are those of the authenticated user.
If the ASP.NET application is deployed to Server B - that is, local to the
PS 2007 insatllation - all authenticated users are able to use the
application successfully.
Hardwiring the credentials of a user with access to the PS2007 server allows
the web application to be available to all authenticated users from any
machine.
I cant for the life of me see why this is not working but doubtless there is
a simple explanation! I have tried all the usual workarounds, including
impersonation etc.
Can anyone put a finger on what I'm missing here?
Thanks!!
Paul
instance B. The application requires the user to be authenticated using
Windows authentication.
At the interface with PS2007 the application instantiates an instance of the
Resource web service and sets the credentials to the default credentials in
the cache as per all the code samples.
When the application is run on the machine A the call through to PS 2007
works correctly. However, if a user invokes the application from another
machine the call fails with a 401 error even though the credentials available
at the call to the PSI are those of the authenticated user.
If the ASP.NET application is deployed to Server B - that is, local to the
PS 2007 insatllation - all authenticated users are able to use the
application successfully.
Hardwiring the credentials of a user with access to the PS2007 server allows
the web application to be available to all authenticated users from any
machine.
I cant for the life of me see why this is not working but doubtless there is
a simple explanation! I have tried all the usual workarounds, including
impersonation etc.
Can anyone put a finger on what I'm missing here?
Thanks!!
Paul