Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 6th, 2004, 02:51 PM
metridevkk metridevkk is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 metridevkk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Using Integrated Windows Authentication to access Active Directory

Hi,

My ASP.NET application should use the logged-in windows user credentials to access Active Directory. Therefore, no login is required.

I have disabled "Anonymous Access" & enabled "Integrated Windows Authentication" on the web server for my ASP.NET application. My Web.config file has the following entries:
<authentication mode="Windows" />
<identity impersonate="true"/>

Now when I run the application from within Visual Studio.NET, the application successfully runs after determining the windows user in the code using "User.Identity.Name" & I am able to access the active DirectoryEntry for that User.

However, when I navigate to this new aspx page from an existing ASP page, I am prompted to login to the domain again.

Any help will be greatly appreciated!!! Is urgent for me to solve this problem.

Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Using Integrated Windows Authentication to access Active Directory


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT