473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Identity impersonate="true" hoses app on just dev pc?

Hi. Totally lost on this one (ok, I admit I'm USUALLY lost!). All works
fine in dev environment (P4, localhost server IIS, XP Pro) Asp.net and
.Net 1.1

In order to access doc files needed for the app, I had to add the
following to <system.web> in webconfig.

<identity impersonate="true" userName="Jabil\BOSASPNET"
password="@ugustus" />

App works fine on network production server, etc. AND ok on my desktop
(using an nt login to network) but running app locally. My dev notebook
now gives me the generic runtime error page, no details. The only
difference I can see is that I'm not logged in as an NT user on my
notebook, but am running everything localhost, no network server used.

I know nothing about identity impersonate, other than I was told to add
it to access the network files. I can see having a problem if using my
dev machine on a network, etc., just don't get this.

Any info appreciated. Sigh...one step forward, two steps back.

Thanks,
Kathy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
3 2212
Hi,

Is Anonymous access is set on your notebook ? if this is the case you
better turn it off.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2
Kathy,
It appears to me that you don't have appropriate directory security
permission for the said user (Jabil\BOSASPNET) on dev PC. When a doc (such
as MSWORD) is open a ~tmp file is created in the same folder where the doc
file is located. It's,therefore, necessary to have read/write permission on
the folder.

Who needs this permission? Normally, aspnet_wp account under which asp.net
runs need this permission but your scenario is different. You have choosen
to impersonate(=true) and it is perfectly ok. Sometime impersonation is
better when you access network resources. However, the impersonation account
(Jabil\BOSASPNET in this case) must have proper permission on the asp.net
server box.

I have not much details to act on but you will have an idea from the above
explanation.

Prodip Saha
"Kathy Burke" <ka**********@attbi.com> wrote in message
news:u1**************@tk2msftngp13.phx.gbl...
Hi. Totally lost on this one (ok, I admit I'm USUALLY lost!). All works
fine in dev environment (P4, localhost server IIS, XP Pro) Asp.net and
Net 1.1

In order to access doc files needed for the app, I had to add the
following to <system.web> in webconfig.

<identity impersonate="true" userName="Jabil\BOSASPNET"
password="@ugustus" />

App works fine on network production server, etc. AND ok on my desktop
(using an nt login to network) but running app locally. My dev notebook
now gives me the generic runtime error page, no details. The only
difference I can see is that I'm not logged in as an NT user on my
notebook, but am running everything localhost, no network server used.

I know nothing about identity impersonate, other than I was told to add
it to access the network files. I can see having a problem if using my
dev machine on a network, etc., just don't get this.

Any info appreciated. Sigh...one step forward, two steps back.

Thanks,
Kathy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #3
Thanks Prodip -- that did the trick!

Kathy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #4

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

Similar topics

5
by: hellrazor | last post by:
HI there, I am developing a client side app which requires me to launch another program when a user clicks a button on a web page. I thought I'd create an asp.net page (using c# ) to accomplish...
1
by: Edward Yang | last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error: Server Error in...
2
by: joeted | last post by:
Hello, I am trying to run a batch file on a (remote) .NET server (i'm not the admin) using system.diagnostics.process I find that the batch file is successfully executed. However, when i...
2
by: franzhe | last post by:
Hi all, in a simple ASP.Net application with resources in satellite assemblies I have the following problem: If I set <identity impersonate="true"/>, accessing a culture specific resource...
0
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'...
6
by: Meena Desai | last post by:
Hi, What are the effects of using <identity impersonate="true"/> in web.config on windows auhtentication? Does it affect windows security? Thanx in advance, Meena.
3
by: Raghuram | last post by:
Hi, What is the use of <Identity Impersonate="true" /> How can we implement this in an ASP.NET application When are we supposed to use this. please provide me the details with an Example....
2
by: G Dean Blake | last post by:
I have a textbox in an ItemTemplate of a grid I'm using to allow users to change a value. I've done it a hundred times. In this project I have it returns the original amount even though the user...
0
by: Brian | last post by:
Greetings group! I've got a weird one. I have an ASP.NET 1.1 application that has been running on a dual-processor Windows 2000/IIS 5 server for a couple of years. Global.asax has an...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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
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...
0
Oralloy
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,...
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...
0
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
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,...

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.