.NET 3.5 サービスを使用して WCF を開発し、一部のデータをインターネットにインポートしました。
ローカルでは、IIS Express を使用してすべて正常に動作しています。サービスを共有ホストにデプロイし、ブラウザでサービス アドレスを指定すると、次の例外が発生しました。
ファイルまたはアセンブリ 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' またはその依存関係の 1 つを読み込めませんでした。システムは、指定されたファイルを見つけることができません。
私の環境は、32 ビット互換の .NET 3.5 を使用するように構成されています。
スタック トレースは次を示します。
[FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.]
System.ServiceModel.AsyncResult.End(IAsyncResult result) +11655726
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +194
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +275
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
それを解決する方法の手がかりはありますか?