在ASP.NET无法加载类型“WebApp1._Default” [英] Could not load type 'WebApp1._Default' in ASP.NET

查看:123
本文介绍了在ASP.NET无法加载类型“WebApp1._Default”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的ASP.NET应用程序,我会得到一个错误

When I am running my ASP.NET application I will get an error

分析器错误
说明:该请求提供服务所需资源的分析过程中出现错误。请检查下列特定分析错误详细信息并适当地修改源文件。

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.

分析器错误信息:未能加载类型'WebApp1._Default

Parser Error Message: Could not load type 'WebApp1._Default'.

源错误:

1号线:其中,%@页面语言=C#AutoEventWireup =真codeBehind =Default.aspx.cs继承=WebApp1._Default%>
线路2:结果
3号线:​​

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApp1._Default" %> Line 2:
Line 3:

源文件:/Default.aspx线路:1。

Source File: /Default.aspx Line: 1


版本信息:Microsoft .NET Framework版本:2.0.50727.3053; ASP.NET版本:2.0.50727.3053

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

我该如何解决这个问题呢?

How can I solve this problem?

推荐答案

检查您的DLL是在bin文件夹。 (不斌/调试...)。

Check your DLL is in the bin folder. (Not bin/debug...).

这篇关于在ASP.NET无法加载类型“WebApp1._Default”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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