任何人都可以告诉其实这个错误是什么? [英] Can Any One tell Actually What this Error?

查看:55
本文介绍了任何人都可以告诉其实这个错误是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 'JobPortal.view_jobseekers_byarea'.

Source Error:



Line 1:  <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeBehind="view_jobseekers_byarea.aspx.cs" Inherits="JobPortal.view_jobseekers_byarea" %>
Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Line 3:


Source File: /view_jobseekers_byarea.aspx   Line: 1


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248

推荐答案

您好,请参阅以下链接,



http://www.codeproject.com/Questions/376141/Parser-error-Could-not-load-type
refer the following link,

http://www.codeproject.com/Questions/376141/Parser-error-Could-not-load-type


如果您收到错误消息,从谷歌搜索开始:分析器错误消息:无法加载类型 [ ^ ]

有可能之前有人遇到过它。

前几个链接有很好的建议,但这里接受的解决方案是:分析器错误:无法加载类型 [ ^ ]可能是开始的地方。它是Google列表中的第二个...
If you get an error message you don;t understand, start by Googling it: Parser Error Message: Could not load type[^]
The chances are someone has met it before.
The top few links have good suggestions, but the accepted solution here: Parser error: Could not load type[^] is probably the palce to start. And it's second on the Google list...


当页面加载时,它首先进入标记,然后进入代码。它根据标记中的页面指令知道要加载哪些代码...上面的帖子中的彩色文本位于XHTML的顶部。如果您的CodeBehind在此期间之前没有JobPortal,那么您的继承也不能拥有它。从iherits中删除JobPortal,它应该可以工作
When the page loads, it goes to the markup first, then to the code. It knows which code to load based on the page directive in the markup...the colorized text from your post above that is at the top of your XHTML. If your CodeBehind has no "JobPortal" before the period, your "Inherits" can't have it either. Strip out the JobPortal from "iherits" and it should work


这篇关于任何人都可以告诉其实这个错误是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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