我正在将我的网站迁移到新服务器,它使用.NET,但我对该语言没有太多经验。不过,我试图寻找修复,但没有成功。有人可以帮忙吗?将网站迁移到新服务器时出现ASP.Net错误
错误:
compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
源错误:
Line 1: <%@ Page Title="" Language="VB" MasterPageFile="~/EnjoyMaster2.master" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Line 2:
Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
您需要发布代码隐藏文件以及... –
您是否也移动了bin文件夹? – Shyju
是这个服务器上的bin文件夹 –