error:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。 [英] error : 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.

查看:107
本文介绍了error:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是asp.net web形式,现在我正在使用Devexpress更改其前端,但是在成功添加2个表单之后,当我添加所有Web表单时,它会触发以下错误。错误如下。





wevDescription:解析服务此请求所需的资源时发生错误。请查看以下特定的解析错误详细信息并适当修改源文件。



解析器错误消息:无法加载类型' ems3.RootMaster&#39 ;。



来源错误:





第1行:主语言=&安培; QUOT; C#&安培; QUOT; AutoEventWireup =安培; QUOT;真&安培; QUOT;代码隐藏=安培; QUOT; Root.master.cs&安培; QUOT;继承=安培; QUOT; ems3.RootMaster&安培; QUOT; ;

第2行:

第3行:% - DXCOMMENT:Page Root.master是一个包含根布局的母版页(包括标题,中心区域和页脚);



源文件:/Root.master行:1

< / pre>

My project is in asp.net web form now i am changing its front end using Devexpress, but after successfully adding 2 forms as it is, it is firing following error when I added all web forms. error is as follows.


wevDescription: 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 type &#39;ems3.RootMaster&#39;.

Source Error:


Line 1: Master Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;Root.master.cs&quot; Inherits=&quot;ems3.RootMaster&quot; ;
Line 2:
Line 3: %-- DXCOMMENT: Page Root.master is a master page that contains the root layout (it includes Header, Cental Area, and Footer) ;

Source File: /Root.master Line: 1
</pre>

推荐答案

检查您的名字:代码文件名为 Root.master.cs ,基类名为 ems3。 RootMaster

它可能应该是 ems3.Root.Master ems3.Rootmaster 或类似的。字符大小写在这里很重要!
Check your names: the code file is called Root.master.cs, the base class is called ems3.RootMaster
It's likely that it should be ems3.Root.Master or ems3.Rootmaster or similar. Character case is important here!


这篇关于error:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆