2013-02-13 105 views
0

我們有一個運行在fedora 6下的Apache網絡應用程序,在Apache & mono 1.1.18版本下運行。只要它運作良好。突然我在某些頁面上收到以下服務器錯誤,某些頁面上的服務器編譯錯誤apache mono

Server Error in '/' Application 
Compilation Error 
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. 

Error message: 
(0,0) : error CS0006: Cannot find assembly `/tmp/apache-temp-aspnet-0/383ed40f/shadow-J7sRQf' 

但請注意,其餘頁面加載正常。我知道這與JIT編譯有關,但爲什麼它發生在一些特定的頁面上。此外,錯誤「找不到程序集-----/shadow-J7sRQf」是可疑的。所有瀏覽器始終顯示相同的錯誤。

我還沒有重新啓動apache或重新啓動系統,因爲我不知道這個錯誤是否會再次發生,我想根源導致它而不是忽略它。我也沒有在httpd日誌上找到任何東西。我試圖谷歌它,但不幸找到具體的東西。誰可以幫我這個事?提前致謝。

回答

0

哇,單聲道1.1.18真的很老!

如果我是你,我會嘗試停止Apache並清除臨時編譯目錄中的所有內容/ tmp/apache-temp-aspnet-0/ 這應該強制mono重新生成此目錄中的所有內容。

然後,重新啓動apache,看看它是否有幫助。