首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

分析器异常消息: 未能加载类型的有关问题如何解决

2012-11-06 
分析器错误消息: 未能加载类型的问题怎么解决啊分析器错误消息: 未能加载类型“bj_wt.index”。源错误:行 1:

分析器错误消息: 未能加载类型的问题怎么解决啊
分析器错误消息: 未能加载类型“bj_wt.index”。

源错误: 


行 1: <%@ page language="c#" autoeventwireup="true" codebehind="index.aspx.cs" inherits="bj_wt.index" %>
行 2:  
行 3: <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
 

源文件: /ncbeijing_wt/index.aspx 行: 1
这个问题怎么解决啊?急急急!!!!!!!
谢谢各位!!!!!!!!!!

[解决办法]
看下html页面的inherits属性和index.aspx.cs页面的public partial class index : System.Web.UI.Page的红色部分是否一样
[解决办法]
看看你后台文件的类名是不是与inherits中的内容一致,还要注意命名空间
[解决办法]
应该是你改过页面文件的名字了.
要和inherits="bj_wt.index" 你的一致才对的.

热点排行
Bad Request.