asp.net - Asp.net 网站位于服务器上时出错

标签 asp.net vb.net

我将我的 ASP.NET 项目上传到我的服务器,但出现以下错误:

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 'web1.WebForm1'.

Source Error: 


Line 1:  <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="web1.WebForm1" %>
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: /kaka/web1/WebForm1.aspx    Line: 1 

最佳答案

如果这是一个 ASP.NET Web 应用程序(不是网站),那么您还需要上传代码隐藏 DLL。

如果这是一个网站,那么您需要上传您的 app_data 目录。

关于asp.net - Asp.net 网站位于服务器上时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8364274/

相关文章:

c# - 如何获取 google oauth 的访问 token ?

mysql - 使用 MysqlDataAdapter 时出错

c# - 使用新文件更新文件

vb.net - Excel Interop 中的联合范围

C# 向每个 aspx 页面插入代码块

c# - 没有源代码的 ASP.NET 扩展应用程序

asp.net - 如何保证多个connectionString密码安全、独立且易于部署?

vb.net - 检测单选按钮更改

c# - 我可以从 BindingSource 获取项目类型吗?

asp.net - HttpRequestBase.UserHostAddress 抛出错误