“/”应用程序中的服务器错误。
分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。分析器错误信息: 服务器块的格式不正确。源错误:行 1:  <%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="_Default, App_Web_cmw9fn7t" title="Page" culture="auto" uiculture="auto" validaterequest="false" meta:resourcekey="PageResource1" %>
行 2:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
行 3:      <div style="width: 100%; height: 150px">
源文件: d:\wwwroot\lzroi\wwwroot\Default.aspx    行: 1版本信息: Microsoft .NET Framework 版本:1.1.4322.2407; ASP.NET 版本:1.1.4322.2407

解决方案 »

  1.   

    程序是Microsoft .NET Framework 版本:1.1.4322.2407; ???
    现在还有用1.0开发的?
      

  2.   

    你用到了 masterpagefile="~/MasterPage.master" 
    而版本:1.1.4322.2407
      

  3.   

    在本地建立的墟内目录上都没有问题,是提交到远程服务商的虚拟目录后,访问就有这个问题。我也问了服务商,说是支持framwork 2.0
      

  4.   

    哦,是不是服务商的
    版本信息: Microsoft .NET Framework 版本:1.1.4322.2407; ASP.NET 版本:1.1.4322.2407而我是用2.0做的,所以出错!
      

  5.   

    和服务器无关,服务器上有iis就行
      

  6.   

    需要找服务商解决.
    IIS配置上有问题.
    同时有1.0 2.0的话,需要专门开池,不能用默认的
      

  7.   

    服务商把我空间framework改成了2.0,但还是出错了,在本地虚拟目录调试都没问题啊!错误如下,成英文了:
    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load the assembly 'App_Web_cmw9fn7t'. Make sure that it is compiled before accessing the page.Source Error:Line 1:  <%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="_Default, App_Web_cmw9fn7t" title="兰州若易电子科技有限公司" culture="auto" uiculture="auto" validaterequest="false" meta:resourcekey="PageResource1" %>
    Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    Line 3:      <div style="width: 100%; height: 150px">
    Source File: /Default.aspx    Line: 1Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
      

  8.   

       <%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="_Default, App_Web_cmw9fn7t" title="Page" culture="auto" uiculture="auto" validaterequest="false" meta:resourcekey="PageResource1" %> inherits="_Default,App_Web_cmw9fn7t" -> inherits="_Default.App_Web_cmw9fn7t"
      

  9.   

    .net 1.1的不能跑masterpage
    你页面的inherits里面的东西是什么意思..
      

  10.   

     inherits="_Default, App_Web_cmw9fn7t"  后边的  , App_Web_cmw9fn7t   是我在发布网站的时候系统自己加上去的
      

  11.   

    虽说.net framework 2.0以上才支持模板页不过在1.1中是可以配置使用模板页的
    需要安装个组件包
      

  12.   

    你页面的inherits的属性应该和页面对应的codefile中的类一样,若是不一样就会出错的。
      

  13.   

    不对!
    我改成 inherits="_Default.App_Web_cmw9fn7t" 还是一样的问题!如果改成inherits="_Default",也就是和我页面编辑时一样的,也抱错,问题在于我发布的网站现在在我本计算机上的虚拟目录跑得好好的!
      

  14.   

    net framework 2.0以上才可以啊,1.1的版本格式不支持母版,装个net framework 2.0就可以了,试试看
      

  15.   

    因为,其实.net 2.0将许多资源都打包成了动态链接库,是不是因为服务商的虚拟目录权限有所设置,使程序不能正确访问动态链接库阿
      

  16.   

    在服务器上装上.net2.0 framework
    在IIS里网站->你的网站名称->右键->属性->ASP.NET->ASP.NET版本里选择2.0.50727
    就可以了
      

  17.   

    >>版本信息: Microsoft .NET Framework 版本:1.1.4322.2407; ASP.NET 版本:1.1.4322.2407.net1.1不支持,模板的(支持框架集)。如果是在IIS里面布置的,你可以,把1.1改为2.0
      

  18.   

    现在已经改成2.0了,
    服务商把我空间framework改成了2.0,但还是出错了,在本地虚拟目录调试都没问题啊!错误如下,成英文了:
    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load the assembly 'App_Web_cmw9fn7t'. Make sure that it is compiled before accessing the page.Source Error:Line 1:   <%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup ="true" inherits="_Default, App_Web_cmw9fn7t" title="兰州若易电子科技有限公司 " culture="auto" uiculture="auto" validaterequest="false" meta:resourcekey="PageResource1" %>
    Line 2:   <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    Line 3:       <div style="width: 100%; height: 150px">
    Source File: /Default.aspx    Line: 1Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
      

  19.   

    不能加载这个引用 : 
    'App_Web_cmw9fn7t'
    你建立的一定是WEB网站 不是APPLICATION 
    而且每次 重新修改后是随机生成的Dll 
    这个应该是你的主要原因如果你是 web站点项目的话 最好生成DLL的时候 发布的时候点击 上面的强命名 就不会生成随机的Dll了
      

  20.   

    本级的 DLL pdb 和服务器上的dll pdb 版本不一样
      

  21.   

    是你发布时把版本弄错了,你应该是用2.0开发的吧。找开计算机管理,你的项目->属性->有一个ASP。NET网站。你选2.0的
      

  22.   

    因为他黓认的是.net 1.1版本的
      

  23.   

    感觉上是 lz 混用了 ,
    觉得,学习还是学定一个版本好。或者,用个 VS 看看,检错误方便(错误都有下划线 ^_^)
      

  24.   

    换成.net2.0服务器一定可以了.
      

  25.   

    提示行1  你用一张可以的ASPX页面测试一下啊 
      

  26.   

    兄弟,我和你的问题差不多啊,也是上传服务器后提示"/",
    web.config有问题.
    这几天都在晕着呢
      

  27.   

    我以前也有过这样的问题,你把web.config文件重新配置一下就应该可以了.这些网上有很多了. 
      

  28.   

    不能加载这个引用 : 
    'App_Web_cmw9fn7t' 这个原因是:asp.net发布网站时,动态链接库的名字是动态产生的,每次都不一样,所以,如果你修改了网站的一部分,需要更新,那么就需要把bin目录下的动态链接库也相应的更换!