帮帮我:无法加载页面 [英] help me:can not load page

查看:94
本文介绍了帮帮我:无法加载页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

i创建包含母版页的页面。

直到无法加载页面。

错误如下:



hi.
i create page with master page.
until can not load page.
error below:

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 type 'MapAds.member_AddAcouncy'.

Source Error:


Line 1:  <%@ Page Title="v" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="member-AddAcouncy.aspx.cs" Inherits="MapAds.member_AddAcouncy" %>
Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
Line 3:  </asp:Content>


Source File: /member-AddAcouncy.aspx    Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

推荐答案

检查文件 member-AddAcouncy.aspx.cs 并比较它声明的类名与标记中的类名,在Inherits下: MapAds.member_AddAcouncy

如果名称 完全 匹配,编译器将找不到它并将给出您描述的错误。
Check the file member-AddAcouncy.aspx.cs and compare the class name it declares against the one in the markup, under "Inherits": MapAds.member_AddAcouncy
If the names do not exactly match, the compiler will not find it and will give the error you describe.


页面未加载。

匹配页面,继承编译。

i不能在项目创建页面,你认为什么是问题?
page not load.
matched the page with inherits complated.
i can not in project create page ,you think what is problem ?


这篇关于帮帮我:无法加载页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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