出错提示如下。Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 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 44:            by Microsoft that offers a single logon and core profile services for member sites.
Line 45:     -->
Line 46:     <authentication mode="Windows" /> 
Line 47: 
Line 48: 
 Source File: C:\Inetpub\wwwroot\BREA.JTB\BREA.WebUI\web.config    Line: 46 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

解决方案 »

  1.   

    在iis里将你的目录设置为应用程序
      

  2.   

    这个好了,然后又出了这个问题。请问是什么原因?
    The resource cannot be found. 
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /WebApplication1/WebForm1.aspx
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
      

  3.   

    //****设置ISS服务的应用程序名称改为你项目的名称就可以了.打开ISS-你在的项目上点击右键-选择属性-点击"创建"按钮即可。
      

  4.   

    //****设置ISS服务的应用程序名称改为你项目的名称就可以了.打开ISS-你在的项目上点击右键-选择属性-点击"创建"按钮即可。这个我做好了。做好以后
    The resource cannot be found. 
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. 
    这个错误又冒出来了。