NetCFSvcUtil “Error: An error occurred in the tool.”

半世苍凉 提交于 2019-12-18 13:25:28

问题


I am trying to generate a WCF proxy client code for a Windows mobile application that uses basicHttpBinding and I'm continuously receiving the follow error:

Error: An error occurred in the tool.

Error: Error in the application

I was able to generate the proxy before but I don't know why suddenly this happens. I have read the Sameh Samir's post but the service I use doesn't use any Message Contracts created by me (I've used LINQ to SQL ORD) and the WCFTestClient can connect to the service and shows the contracts.

UPDATE

It seems the problem was with the Windows 7 RC1. I was trying it on Win7 and after running the NetCFSvcUtil on XP everything works just fine.

Anyone knows how can I report this problem to the Microsoft?


回答1:


THere is now a new tool available that replaces the older version of NetCFSvcUtil. It came out on Monday, August 10, 2009. It can be downloaded at the following link:

http://download.microsoft.com/download/6/2/0/6205ED05-E435-44FC-AA82-B763CA5F8B1A/NetCFSvcUtil.exe

Best of luck!




回答2:


I found this: http://blogs.msdn.com/habibh/archive/2009/06/26/netcfsvcutil-exe-and-windows-7.aspx

Basically, it states: Currently, there are no fixes available for this issue. The only workaround is to run NetCFSvcUtil.exe on Windows Vista (SP1 or earlier) or Windows Server 2008 (SP1 or earlier) and then copy the generated client code to other machines.



来源:https://stackoverflow.com/questions/992712/netcfsvcutil-error-an-error-occurred-in-the-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!