開発マシンで実行されている TFS 2012 と VS 2012 を使用して、更新された 2008 サーバーを実行しています。このソリューションでは、MSBuild を使用して、サーバー上でテストを展開および実行します。開発ボックスではすべてのテストに合格しますが、ローカルに展開された (IIS でホストされている) WCF サーバーを呼び出さないテストだけが失敗します。すべてのサービス コールの例外は次のとおりです。
> Test method TestProject.TestClass.TestMethod threw exception:
> System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel,
> cannot be used for communication because it is in the Faulted state.
>
> Server stack trace:
> at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan
> timeout)
> at System.ServiceModel.Channels.ServiceChannel.System.IDisposable.Dispose()
> Exception rethrown at [0
enter code here
NETWORK SERVICE には適切な権限があります。電源が入っています。何かご意見は?