IIS Authentication Mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajanji
    New Member
    • May 2008
    • 31

    IIS Authentication Mode

    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....Thou gh 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.....Kin dly advice plz ASAP.....


    Thanks in Advance...


    Regards,

    Rajan
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Forms authentication is the one to use for website. Sounds like you are using windows instead.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      What version of Visual Studio are you using?

      Comment

      • sashi
        Recognized Expert Top Contributor
        • Jun 2006
        • 1749

        #4
        Hi there,

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


        Code:
        <%@ Page Language"C#" Debug="True">
        Make sure to enable the debug option on every page you wish to debug. Happy coding.

        Comment

        • kenobewan
          Recognized Expert Specialist
          • Dec 2006
          • 4871

          #5
          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.

          Comment

          • rajanji
            New Member
            • May 2008
            • 31

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

            With Best Regards,

            Rajan .....

            Comment

            Working...