Click here to Skip to main content
11,645,033 members (67,102 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: IIS7

I have deployed a site in IIS 7 in Windows 2008 server. When ever I try to browse the site from my computer, it is asking for credentials. I have enabled

<authentication mode="Windows" />

but not working...How can I solve this.

any idea please.
Posted 22-May-11 22:52pm
Edited 22-May-11 22:59pm
Prerak Patel141.2K
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try using impersonation, or change the authentication mode.

Here[^] you'll find more details.
Sreenath Gv at 23-May-11 5:02am
Hi Patel,

I have tried with impersonate as true..but was no use..
Prerak Patel at 23-May-11 5:08am
Share some more code from your config file then.
Prerak Patel at 23-May-11 5:10am
One more guess, do you have anonymous authentication enabled?
Sreenath Gv at 23-May-11 5:37am

The section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.

The section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.



Prerak Patel at 23-May-11 5:44am
Post the whole web.config if you cannot make out the relevant part. What you have posted is not helpful or indicative at all.
Sreenath Gv at 23-May-11 5:37am
In IIS u mean..?
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Solved..plzz check out..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 725
1 494
2 Sergey Alexandrovich Kryukov 464
3 Afzaal Ahmad Zeeshan 404
4 CPallini 386
0 OriginalGriff 1,065
1 Sergey Alexandrovich Kryukov 683
2 DamithSL 681
3 Afzaal Ahmad Zeeshan 662
4 CPallini 555

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 23 May 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100