Connecting Tech Pros Worldwide Forums | Help | Site Map

IIS Authentication Mode

Newbie
 
Join Date: May 2008
Posts: 19
#1: Sep 25 '08
Hi,

When i am trying to run my ASP.NET web application it is giving me error as "unable to start debugging on Web Server. Debugging failed because integrated windows authentication is not enabled".......But wen i check the properties of IIS its showing authentication mode = windows..... So how to solve dis problem....Though if run my app using ctrl+F5 its running or even i type the address http://localhost/website/mysite in addressbar of browser den also its working.....Kindly advice plz ASAP.....


Thanks in Advance...


Regards,

Rajan

kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,745
#2: Sep 26 '08

re: IIS Authentication Mode


Forms authentication is the one to use for website. Sounds like you are using windows instead.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#3: Sep 26 '08

re: IIS Authentication Mode


What version of Visual Studio are you using?
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#4: Oct 2 '08

re: IIS Authentication Mode


Hi there,

Looks like you have to enable page debugging option, kindly refer to below sample code segment.


Expand|Select|Wrap|Line Numbers
  1. <%@ Page Language"C#" Debug="True">
Make sure to enable the debug option on every page you wish to debug. Happy coding.
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,745
#5: Oct 2 '08

re: IIS Authentication Mode


I disagree. If you want to use this setting, then create it in the web.config. That way when you publish your application it does not take a performance hit and you only have to change it in one place.
Newbie
 
Join Date: May 2008
Posts: 19
#6: Nov 2 '08

re: IIS Authentication Mode


Thank you everyone... Thanks for ur kind support... my problem is solved...

With Best Regards,

Rajan .....
Reply