gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 14:06:56 30 4
gpt4 key购买 nike

我将我的 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/

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