2012-03-27 37 views
4

私はWebサイトMyProjectのソリューションを持っています。 私はこのウェブサイトを公開する必要があります。 は、ポップアップメニューでは、私はディレクトリに自分のサイトを公開し、FTPにアップロードしたWebサイトを構築し、 どのように私のWebサイトを公開しますか?

enter image description here

のWebサイト

を公開ご覧ください。

しかし、サイトがエラーを与える:

The directory '/App_GlobalResources/' is not allowed because the application is precompiled. 

、私のサイトを公開する方法?

更新: I PrecompiledApp.configを削除します。

そしてPrecompiledApp.configファイルと再起動し、アプリケーションを削除し、エラーに

Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0433: The type 'UPSRateServiceWebReference.RateService' exists in both 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d6545937\de1fce5a\App_WebReferences.ixuylfle.dll' and 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d6545937\de1fce5a\assembly\dl3\31691e67\292073b8_400ccd01\App_WebReferences.DLL' 

Source Error: 


Line 255: 
Line 256:  #region PrivateMethods 
Line 257:  private RateRequest CreateRateRequest(RateService rate) 
Line 258:  { 
Line 259:   RateRequest rateRequest = new RateRequest(); 
+0

「このプリコンパイルされたサイトが更新可能であることを許可する」をチェックしてみてくださいだろうか? – Curt

+0

すでに '/ App_GlobalResources'フォルダがありますか? – Curt

+0

私の投稿を更新します – Mediator

答えて

2

を与えます。あなたがオプション「の公開時にはプリコンパイル」をチェックする必要がありますVisual Studioでhere

+0

私の投稿を更新します – Mediator

+0

@Curt、私はあなたを理解していません – Mediator

4

2013から撮影

は、私がこれをしなかったし、問題を解決しました。あなたのケースでは

enter image description here

、あなたは空のフォルダにアップロードしている

関連する問題