allowDefinition='MachineToApplication'

Last post 02-13-2006, 12:56 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  02-10-2006, 9:46 AM 15818

    allowDefinition='MachineToApplication'

    I have installed the Cute Chat Standalone product and am getting the following message when I try to access /Web/Login.aspx






    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.

    Source Error:


    Line 12:    <customErrors mode="Off" />
    Line 13:
    Line 14:     <authentication mode="Forms">
    Line 15:   <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx" />
    Line 16:     </authentication>
     

    Source File: <Deleted>\Web\web.config    Line: 14

     
     
     
    Does anyone know why this might be and what can be done to resolve it?
  •  02-13-2006, 12:56 AM 15863 in reply to 15818

    Re: allowDefinition='MachineToApplication'

    This a common problem and is simply due to the fact the folder in which the application resides is not a IIS web application.
     

    Please follow the steps below:
    1. Open the Internet Information Services manager dialog in Windows [normally accessed from the Start button via Start - Programs - Administrative Tools - Internet Services Manager] and expand the Default Web Site.

       

    2. Locate your installation directory. Right click on the folder and choose Properties.

       

    3. Push Create to create an application. Set execute permissions for Scripts only and High (Isolated) application protection. Press Apply.

       

    4. Press OK to exit the Properties dialog.
    When you request the application now it should work successfully.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML