Groups | Blog | Home
all groups > asp.net security > september 2004 >

asp.net security : Impersonate Identity doesn't work on the server


Peter Afonin
9/8/2004 4:27:22 PM
Hello,

In my application I have to impersonate users, so I add

<identity impersonate="true" />

to the Web.config file.

As long as I run the application on my PC - everything works fine. As soon
as I put the application on the server - I cannot run the application at
all, I get an "Access denied" error. When I remove impersonation -
everything works OK.

What can I do about it? Whithout impersonation my application won't work.

The server is Windows 2003, and it's a domain controller. We are also using
Windows authentication.

I would appreciate your comments.

Thank you,

--
Peter Afonin

Peter Afonin
9/9/2004 9:32:53 AM
Hi Ken,

I'm just trying to run the application, and it doesn't run with impersonated
identity. I don't know what access I should set up.

Thanks,

Peter

[quoted text, click to view]

Peter Afonin
9/9/2004 1:52:41 PM
I've found the solution in this article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;824308

Although it's about Win2000 SP4 and I have Win2003, this worked for me.

Thanks,

Peter

[quoted text, click to view]

Ken Schaefer
9/9/2004 4:21:54 PM
Well, does the impersonated identity have access to whatever you are trying
to access?

Cheers
Ken


[quoted text, click to view]

AddThis Social Bookmark Button