1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

configuration Error:<authentication mode="windows"/>

Discussion in 'C#' started by sureshramakrishnan, Jan 31, 2007.

  1. #1
    It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:
    SEMrush
    Line 44: by Microsoft that offers a single logon and core profile services for member sites.Line 45: -->Line 46: <authentication mode="Windows"/> Line 47: <!-- AUTHORIZATION Line 48: This section sets the authorization policies of the application. You can allow or deny access
    What caused the error?Kindly help me out a solution for this....

    WE TRIED OUT THE FOLLOWING...EVEN THAT DIDN'T WORK

    Go to the control panel, to the IIS panel on the Web Server and open the default Web Site, find the folder for your application, right click it, choose properties and then in the screen that opens up, hit CREATE (a button). OK your changes and try again.
     
    sureshramakrishnan, Jan 31, 2007 IP
    SEMrush
  2. MarkusJ_NZ

    MarkusJ_NZ Well-Known Member

    Messages:
    240
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #2
    This error occurs because the folder where the .NET application has not been specified as being a .NET application. From the red text above it seems that you have tried to do this but please double check (Google for "creating .NET application IIS" or something similar.
     
    MarkusJ_NZ, Feb 22, 2007 IP
  3. spartan789

    spartan789 Peon

    Messages:
    5
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you using virtual directories? If you are, delete them and add them again. Definitely sounds like a windows authentication problem, obviously...check your permissions, as well.
     
    spartan789, Feb 22, 2007 IP