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 3 1506
Well, does the impersonated identity have access to whatever you are trying
to access?
Cheers
Ken
"Peter Afonin" <pe***@gudzon.net> wrote in message
news:ej**************@TK2MSFTNGP15.phx.gbl... 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
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
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:uB**************@tk2msftngp13.phx.gbl... Well, does the impersonated identity have access to whatever you are
trying to access?
Cheers Ken
"Peter Afonin" <pe***@gudzon.net> wrote in message news:ej**************@TK2MSFTNGP15.phx.gbl... 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
I've found the solution in this article: http://support.microsoft.com/default...b;en-us;824308
Although it's about Win2000 SP4 and I have Win2003, this worked for me.
Thanks,
Peter
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:uB**************@tk2msftngp13.phx.gbl... Well, does the impersonated identity have access to whatever you are
trying to access?
Cheers Ken
"Peter Afonin" <pe***@gudzon.net> wrote in message news:ej**************@TK2MSFTNGP15.phx.gbl... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Smith |
last post by:
Hey folks,
I'm trying to use the HttpWebResponse object in an ASP application, but I
get a 401 unauthorized error on this line:
HttpWebResponse response =...
|
by: Alvaro Pereira |
last post by:
I have a ASP.NET project that prints a report to a NETWORK-
PRINTER. I have impersonate=true in my web.config, but all
reports are printed under ASPNET user (the one that is
setted in...
|
by: Mark |
last post by:
We are attempting to use impersonation to connect from our ASP.NET website
to a SQL Server on the same domain. The code below works just fine in our
web.config file:
<identity impersonate="true"...
|
by: Erez Shor |
last post by:
Hi,
I need to build and asp page which access a remote windows server's
registry and create a registry key.
In order for the ASP page to be able to access the registry on the
remote server I need...
|
by: Svein Terje Gaup |
last post by:
I have a website running on Windows 2000 Server, that should be able to
retrieve data from a datawarehouse on another machine running Windows 2000
Server, SQL Server 2000 and SQL Server 2000...
|
by: steven |
last post by:
I have an asp.net webapp running on W2K server with .net framework 1.1
The intranet-app supports 2 languages: dutch (fallback language) and
french. The choice is made with 'Request.UserLanguages'...
|
by: Steve Moreno |
last post by:
I have a web app that I've developed on an XP Pro workstation and the app
uses AD to grab the user's AD info like address, email, phone, etc... The app
also allows these users to create an Excel...
|
by: =?Utf-8?B?QXZhRGV2?= |
last post by:
ASP.Net 2.
We are migrating to Windows 2008 64 bit Server with IIS 7 from Windows 2003
32 Bit with IIS 6. A few library classes we wrote uses impersonation in code
like explained in this...
|
by: WT |
last post by:
Hello,
IIS6 on W2K3, .net 3.5, Sql 2005.
All sp applied.
My site is using windows authentication only and the web application
connects to sql server residing on another server in the same...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |