ローカルで実行している場合、サイトは正常に機能します。公開し、SMART FTP 経由で会社が雇ったホスティング スペースにホストしました。'弊社'。App Data、App Code、Bin、Httpdocs、Httpsdocs...などのサブフォルダーがあります。公開したプロジェクト「UtilityServices」を Httpdocs に転送しました。次に、www.MyCompany.net/UtilityServices/Customer_Login.aspx と入力します。次のエラーが表示されます。
Server Error in '/' Application.
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 the assembly 'App_Web_ah9y-lsc'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Customer_Login, App_Web_ah9y-lsc" %>
Line 2: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 3:
Source File: /UtilityServices/Customer_Login.aspx Line: 1
Httpdocs には bin フォルダーと webconfig があり、ホストされている UtilityServices には bin と webconfig があります。これがこのエラーの理由ですか。
VS2008 C# 3.5 フレームワークを使用しています。