本帖最后由 Aspx_hkx 于 2011-01-26 23:41:38 编辑

解决方案 »

  1.   

    aspnet_regiis -i
    配置虚拟目录或网站,右健打开属性对话框,点击 ASP.NET属性页选择框架
      

  2.   

    1、<?xml version="1.0" encoding="utf-8" ?>确保这个头正确2、把aspx文件放在IIS的虚拟目录下,再用浏览器访问,而不是直接用浏览器打开.3、使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试 错误收集以及解决方案
      

  3.   

    【回复2楼】
    第2点我试了,可以
    不过又遇到一个问题,这次显示如下:
    Server Error in '/' Application.
    --------------------------------------------------------------------------------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 50:             ASP.NET to identify an incoming user. 
    Line 51:         -->
    Line 52:         <authentication mode="Windows" />
    Line 53:         <!--
    Line 54:             The <customErrors> section enables configuration 
     Source File: d:\inetpub\wwwroot\lts\web.config    Line: 52 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.1882; ASP.NET Version:2.0.50727.1879 

    大侠,再帮帮我吧!
      

  4.   

    1、<customErrors mode="RemoteOnly" 改成 <customErrors mode="Off" 2、在IIS中为该虚拟目录创建应用程序。该虚拟目录--> 右键--> 属性--> 应用程序名--> 创建 
      

  5.   

    3楼的错误看起来就是没有lts为创建应用程序,它只是个虚拟目录。
      

  6.   

    另外属性中的asp.net版本选对了吗?