2009-05-13 3 views
2

테스트 서버 중 하나에 wcf webservice가 있습니다. 프레임 워크 3.5에서 3.5 sp1로 업그레이드 할 때까지 모든 것이 잘 작동했습니다. wcf 웹 서비스가 작동을 멈추고 오류를 반환합니다.프레임 워크 3.5로 업그레이드 한 후 WCF webservice 작동이 중지됩니다. sp1

"Failed to invoke the service. The service may be offline or inaccessible. Refer to the stack trace for details."

"The remote server returned an unexpected response: (502) Proxy Error (The specified network name is no longer available. ).

Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)"

여기에 무슨 일이 일어나는 지 아는 사람 있습니까?

답변

0

Windows 기능이 재설정 된 것 같습니다.이 문제는 한 번 발생했습니다. 제어판으로 이동 - 프로그램 - Windows 기능 켜기 및 Microsoft .NET Framework 3.0에 필요한 모든 확인란을 선택하십시오. 행운을 비네.

0

diadiora에서 알 수 있듯이 WCF 기능이 해제되어있는 경우 ServiceModelReg.exe를 사용하여 문제를 해결할 수 있습니다. ServiceModelReg.exe /i은 WCF를 등록하고 IIS의 스크립트 맵을 업데이트해야합니다. (MSDN page에서 자세한 내용을 읽어보십시오.) 실패한 경우 (SP1을 설치하면 실패 할 수도 있음) 문제가 무엇인지 자세히 알려야합니다.

IIS가 호스팅하는 경우 서비스가 계속 실행 중인지 확인하기 위해 IIS를 확인할 수도 있습니다.

관련 문제