简体   繁体   中英

WCF connection issue in windows xp

We have WCF service hosted as windows service in System1 [used NETTCP binding]

And we have client in system2 which has windows xp. It is working fine.

Issue: We have upgraded system1 to windows server 2016 and wcf service running as windows service. But from Windows xp, client couldnt even connect to WCF service. Only in XP machine am facing issue:

"system.servicemodel.channels.servicechannel cannot be used for communication because it is in the faulted state"

Any configuration work in windows XP to support WCF in windows server 2016??

Kindly advise

Found this in msdn forum (it´sa bit older):

We have now found the problem. The application are starting some services that WCF demands, the problem is that these services do not exists on WindowsXP(WAS, NETTCP listener and so on). When the application can´t find or start the service then the application will close. Apparently it is not a requirement to have these services on the client computer as long as it is not running the serivice(in IIS).

So when removing the service check from the client every thing seemse to work fine.

- source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM