Impersonation and 401: Unauthorized error

T

tfz

Hello,

I am trying figure out how to use impersonation for MS Project 2007. To get
started, I downloaded the "ImpersonationConsoleApp" from the April SDK. I
can get it to run as long as I'm logged on as the server farm administrator
account. If I try to run the solution as myself, I get a 401: Unauthorized
error.

I have tried both of the suggestions in the "Walkthrough: Develop an
Impersonation Web Application" article
(http://msdn2.microsoft.com/en-us/library/bb428835.aspx#pj12_ImpersonationWeb_AccountSecurity),
which were to give myself contributor access to the SSP site that hosts
Project Web Access, and then to run a command (stsadm -o editssp -title
SharedServices1......) to add my account for processing in the SSP. Neither
of these have helped solve my problem.

The farm administrator account is set as the "SSP Service Credentials" for
the SSP Site, and is also the identity account for the "Sharepoint Central
Administration v3" application pool, if that matters. My account is listed
on the SSP Site Configuration page under "Process Accounts with access to
this SSP ".

I've looked at the IIS log file, and can see where it is logging the error.
Here is a sanitized snipit of the log file, showing how it logs the error, if
that helps (This listing represents 6 lines of code, logged when the error
occurred,as I was trying to run under my own account):
2007-05-06 19:37:47 <<Server IP Info>> POST
/SharedServices1/PSI/Authentication.asmx - <<port Info>> - <<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 401 1 0
2007-05-06 19:37:47 <<Server IP Info>> POST
/SharedServices1/PSI/Authentication.asmx - <<Port Info>> <<ADMIN ACCOUNT
LOGIN>> <<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 200 0 0
2007-05-06 19:37:47 <<Server IP Info>> POST
/SharedServices1/PSI/resource.asmx - <<Port Info>> - <<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 401 1 0
2007-05-06 19:37:47 <<Server IP Info>> POST
/SharedServices1/PSI/resource.asmx - <<Port Info>> <<ADMIN ACCOUNT LOGIN>>
<<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 200 0 0
2007-05-06 19:37:51 <<Server IP Info>> POST
/SharedServices1/PSI/resource.asmx - <<Port Info>> - <<client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 401 2 2148074254
2007-05-06 19:37:51 <<Server IP Info>> POST
/SharedServices1/PSI/resource.asmx - <<Port Info>>- <<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 401 1 0
2007-05-06 19:37:51 <<Server IP Info>> POST
/SharedServices1/PSI/resource.asmx - <<Port Info>> <<MY ACCOUNT LOGIN>>
<<Client IP Info>>
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.42) 401 5 0

Does anyone have any suggestions that might help me run this under my own
account?

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top