Windowsidentity.getcurrent.name iis apppool defaultapppool
Or maybe you need to check whether firewall block the connection. The IIS and exe's are on the same computer. The content you requested has been removed. Ask a question. Quick access. Search related threads. Remove From My Forums. Asked by:. Archived Forums. General for IIS 7 and above. Sign in to vote. User posted My web application is hosted on IIS7. Friday, April 27, AM. User posted This web application runs under an Application Pool created in Integrated mode which uses my credentials as its Identity I am an administrator on the system.
User posted I'm sure of it, but the purpose of an "ante production" environnement is to test as it will be once in a production environnement. User posted Thanks for that link on Impersonation. Monday, April 30, AM. User posted Hi, hich uses my credentials as its Identity I am an administrator on the system.
Thursday, May 3, AM. User posted Thanks for the links and a good, descriptive response. Monday, May 7, AM. When using windows authentication, the above property should show the authenticated winddows account of client user to your ASP. NET web page. NET server-side code.
As chilberto mentioned, unless you've enabled "impersonate" in ASP. In addition, since the questions you asked is ASP. NET forums for more ideas:. Please remember to mark the replies as answers if they help and unmark them if they provide no help. Thanks for all of the help. The solution was enabling impersonation, but I also had to disable the subsequent error that was caused.
What do you mean with "copy the page to the server"? Can you elaborate your situations more clearly, how do you host the service and how do you call it. The content you requested has been removed. Looks like an alternative solution. NET site, else it will run in the context of the whatever account configured for the app pool. Base on my test under IIS having Windows Authentication only enable and not impersonation on the web.
Name; return to me the current login user not the application pool user and System. ToString return the application pool user. Choose Application User pass through authentication. Do not use a specific user because that will be the identity detected. How are we doing? Please help us improve Stack Overflow.
Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 8 months ago. Active 1 month ago. Viewed 17k times. Enable ASP. NET Impersonation.
Add a comment. Active Oldest Votes.
0コメント