gpt4 book ai didi

asp.net - 解析器错误 : Could not load type 'Default'

转载 作者:行者123 更新时间:2023-12-04 06:57:35 24 4
gpt4 key购买 nike

我在 ASP.NET 3.5 框架中构建了一个应用程序,它在本地主机上运行良好,但是当我将它上传到我的服务器时,页面在加载时出错
“解析器错误消息:无法加载类型‘默认’。”
<%@ Page Language="C#"AutoEventWireup="true"Debug="true"CodeFile="Default.aspx.cs"Inherits="Default"%>
所以我该怎么做?

最佳答案

这是一个广泛的错误,可能是很多事情。我建议连接一些日志框架。 ELMAH 非常棒,可以在几秒钟内集成。我把它连接起来只是给我发电子邮件并将错误存储在内存中,没有数据库开销。 http://code.google.com/p/elmah/

关于asp.net - 解析器错误 : Could not load type 'Default' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2361410/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com