[英]Some changes doesn't work on IIS
我使用.NET 4.0創建了一個網站。 我將其發布到服務器的IIS。 我的網站正在運行。 但是在發布后,當我嘗試添加新表單時,它們可以在Visual Studio的localhost上運行,但不能在IIS上運行。 例如,我創建了etik.aspx。 它可以在Visual Studio上運行,但是當我將其部署到IIS時會出現此錯誤。
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 'BerksanWebSite.berknet.etik'.
我在我的主頁上添加了其他更改。 它顯示了前面的更改(在aspx文件上),但是在aspx.cs文件中的更改不起作用。 我不明白為什么它不起作用。 有誰能夠幫助我?
我通過將新的bin文件上傳到服務器解決了此問題。 謝謝@Eldar
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.