|
|
Subject:
ASP.Net Impersonation - Access Network Data Paths
Category: Computers > Programming Asked by: snazbaz-ga List Price: $20.00 |
Posted:
31 Aug 2006 06:05 PDT
Expires: 30 Sep 2006 06:05 PDT Question ID: 761110 |
Hi, I keep getting numerous requests from customers of our application about how they can access data stored in other network locations. Most of the time when they try this they get a message which states the Directory could not be accessed. On our test system here we are successfully able to access other network data by adding the following line to the Web.config file <identity impersonate="true" userName="DOMAIN\Username" password="password"></identity> However, in many customer sites, this still does not resolve the problem. What other methods can I use to get ASP.Net to run as a different network user, so that it can access network data ? Thanks! | |
|
|
There is no answer at this time. |
|
Subject:
Re: ASP.Net Impersonation - Access Network Data Paths
From: darryl_armstrong-ga on 07 Sep 2006 08:39 PDT |
The obvious that the domain and user name you are putting into the web config file is not a administrator on your customers network domain and as such cannot access the network drives. You need to set the windows authentication to be that of the user being logged on to the computer, and that will allow them to access the network. |
Subject:
Re: ASP.Net Impersonation - Access Network Data Paths
From: darryl_armstrong-ga on 07 Sep 2006 08:40 PDT |
The obvious thind is that the domain and user name you are putting into the web config file is not a administrator on your customers network domain and as such cannot access the network drives. You need to set the windows authentication to be that of the user being logged on to the computer, and that will allow them to access the network. |
Subject:
Re: ASP.Net Impersonation - Access Network Data Paths
From: sazid-ga on 15 Sep 2006 18:00 PDT |
hi snazbaz, i believe you should be able to access the network drive. you can try the below configuration. if you have already gave it a try, just ignore this. <identity impersonate="true"/> in the web.config and select Only Integrated Windows Authentication in the IIS website properties (do not select anonymous access). when the end user tries to login to the system, he will be prompted with the windows domain name and password. the access (read\write) will be granted to the logged in user depending on his network credentials on the web server. cheers, sazid. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |