Click here to Skip to main content
15,881,751 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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
Updated 22-May-11 22:59pm
v2

Try using impersonation, or change the authentication mode.

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

I have tried with impersonate as true..but was no use..
Prerak Patel 23-May-11 5:08am    
Share some more code from your config file then.
Prerak Patel 23-May-11 5:10am    
One more guess, do you have anonymous authentication enabled?
Sreenath Gv 23-May-11 5:37am    
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows">

<!--
The <customerrors> 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.

<customerrors mode="RemoteOnly" defaultredirect="GenericErrorPage.htm">
<error statuscode="403" redirect="NoAccess.htm">
<error statuscode="404" redirect="FileNotFound.htm">

-->

<pages>
<controls>
<add tagprefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add tagprefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

</pages>
Prerak Patel 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.
Solved..plzz check out..

http://www.c-sharpcorner.com/Forums/Thread/123890/site-deployed-in-iis-7-is-always-asking-for-username-and-pas.aspx
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900