473,472 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

web.config and impersonation

Hello,
I have placed the following web.config file at the root of the web site. Is
this correct? I'm not having luck so I'm guessing I have done something
wrong.

Is there anything I have to put in the code as well?

<configuration>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true"
userName="gob\filerAdmin" password="xxxxxxxx"/>
</system.web>
</configuration>
--

Paul Bergson
Nov 19 '05 #1
1 1955
Yes, this looks correct as I eyeball the settings - what is happening
(or not happening) when you run with this config?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 9 Feb 2005 12:18:46 -0600, "Paul Bergson"
<pb******@mnpower.com> wrote:
Hello,
I have placed the following web.config file at the root of the web site. Is
this correct? I'm not having luck so I'm guessing I have done something
wrong.

Is there anything I have to put in the code as well?

<configuration>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true"
userName="gob\filerAdmin" password="xxxxxxxx"/>
</system.web>
</configuration>


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DotNet User | last post by:
Hi I am getting Access Denied error on c:\windows\assembly, when i impersonate a user in web.config. I am running windows XP professional. I have given full control for the impersonating user on...
5
by: AAguiar | last post by:
I have an asp.net project where the code behind the aspx page calls a c# class which makes calls to a managed static C++ class. The C# class works fine when the asp net worker process starts, when...
11
by: Patrick | last post by:
I have an ASP.NET application that connects to a SQL Server database. The SQL Server resides on a seperate development server from the IIS5.1 on Windows XP SP2 on development PCs which host the...
3
by: Wm. Scott Miller | last post by:
What is the difference between using a username and password in the processmodel section vs using one in impersonation in the machine.config file? What are the advantages of each and what are the...
1
by: Jim Heavey | last post by:
Hello, I create a special folder within my application. This folder contains all of the screen that I will be using "Impersonation" with. When I attempt to place the <identity impersonate="true"...
1
by: A.M | last post by:
Hi, Using WinForms, i want the exe file logs-in the network as specific UID/PWD. Something like impersonation. ASP.NET's web.config has ritch set of setting for impersonation. I am expecting...
1
by: paris baughman | last post by:
Im trying to setup impersonation in the root directory and turn it off ( false ) in another directory. im doing to allow my crystal reports to work ( as i get the login failed message ) and also...
2
by: Tyler | last post by:
I am making a change programatically to web.config. That code works fine. However when I try to save web.config i get the "Access to the path "c:\inetpub\wwwroot\xxx\web.config" is denied. I have...
3
by: wizofaus | last post by:
I've now created the same setup on four different machines, where I'm changing the processModel section machine.config so that ASP.NET (1.1) runs as SYSTEM, to give it permission to do various...
4
by: Saqib Ali | last post by:
I have some security concerns over storing a Active Directory username/ passwd in a text based web.config file for the identity impersonation definition. I know that web.conf is not accessible...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.