470,641 Members | 2,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

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 2113
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by hellrazor | last post: by
2 posts views Thread by joeted | last post: by
6 posts views Thread by Meena Desai | last post: by
3 posts views Thread by Raghuram | last post: by
2 posts views Thread by G Dean Blake | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.