Click here to Skip to main content
11,479,841 members (45,109 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 23:52pm
Edited 22-May-11 23:59pm
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 260
1 Sergey Alexandrovich Kryukov 215
2 F-ES Sitecore 175
3 Richard MacCutchan 100
4 DamithSL 65
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,556
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335

Advertise | Privacy | Mobile
Web01 | 2.8.150520.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