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.
问题描述
我的项目是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 'ems3.RootMaster'.
Source Error:
Line 1: Master Language="C#" AutoEventWireup="true" CodeBehind="Root.master.cs" Inherits="ems3.RootMaster" ;
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 calledRoot.master.cs
, the base class is calledems3.RootMaster
It's likely that it should beems3.Root.Master
orems3.Rootmaster
or similar. Character case is important here!
这篇关于error:解析为此请求提供服务所需的资源时发生错误。请查看以下特定的解析错误详细信息并相应地修改源文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!