开发者

WCF Service Issue

开发者 https://www.devze.com 2022-12-30 05:00 出处:网络
I am facing issue of the WCF Services on staging server. The same service is running perfectly in my local pc. But when i configured the same on staging server it is giving issue saying that:

I am facing issue of the WCF Services on staging server. The same service is running perfectly in my local pc. But when i configured the same on staging server it is giving issue saying that:

The communication object, System.Servic开发者_JAVA技巧eModel.Channels.ServiceChannel, cannot be used for communication, because it is in Faulted state.

Is it related to security or anything else?

How can i fix the issue?

Regards, Om


This might have some security issue. See how you have implemented the security. If you are using the default, the windows authentication credentials are used. For doing this, you need both the client and server use the same windows user account. Otherwise, you can use impersonation or if you don't have an issue, use no authentication to test.

The channel comes into fault if no fault contract is defined or there is some un-handled exception on the server side. Look at the possible exceptions and try loggin the exceptions on the server side.

0

精彩评论

暂无评论...
验证码 换一张
取 消