I am new to .net and I am having error while i am access to my folder
http://bassano2011.brinkster.net/ works fine
when http://bassano2011.brinkster.net/english/index.aspx
its give me following error:
Parser Error Message: 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.
Line 37: ASP.NET to identify an incoming user.
Line 38: -->
Line 39: <authentication mode="Windows"/>
Line 40: <!--
Line 41: The <customErrors> section enables configuration
In a hosting environment they generally block the authentication to Windows, as that’s need to use their server service to authenticate, witch you don’t control and for that, will never work the way you expect.
The error comes up in your
web.configconfiguration witch by IIS flow, it~s the last configuration to take care, as more are in place, normally the IIS it self and themachine.configfile that sets the rules for that machine, and it’s there that is “said” that you can’t use `”Windows” authentication.To avoid that error, either choose
FormsorNoneas the parameter of yourauthenticationmode.To read more about authentications, please read the MSDN.