标题:[求助]第一行错误,看看原因??
取消只看楼主
35maoe
Rank: 1
等 级:新手上路
帖 子:341
专家分:0
注 册:2006-8-28
结帖率:100%
 问题点数:0 回复次数:2 
[求助]第一行错误,看看原因??

Inherits="cp"这是什么意思,每建一个文件,后面都会有它,即使页面放的都是html也出错,去掉它就可以了,它是什么意思呀??
错误提示代码,大家帮我看看什么意思??




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 'cp'.

Source Error:


Line 1: <%@ Page Language="C#" Codebehind="cp.aspx.cs" AutoEventWireup="false" Inherits="cp" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: F:\xinnet\htm\cp.aspx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

搜索更多相关主题的帖子: following occurred required specific request 
2006-10-26 15:58
35maoe
Rank: 1
等 级:新手上路
帖 子:341
专家分:0
注 册:2006-8-28
得分:0 
按F5 http://localhost:1402/xinnet/abc.aspx这样可以显示

在浏览器里输入http://localhost/xinnet/abc.aspx就无法运行,提示和上面一个,这个文件是新建的,里面什么都没有..

2006-10-26 16:28
35maoe
Rank: 1
等 级:新手上路
帖 子:341
专家分:0
注 册:2006-8-28
得分:0 

呵呵,新手,请问如何编译呀???


2006-10-27 08:06



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-98929-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.125609 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved