System.ServiceModel.ni.dll中出现“System.ServiceModel.CommunicationException”类型的异常,但未在用户代码中处理 [英] An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code

查看:475
本文介绍了System.ServiceModel.ni.dll中出现“System.ServiceModel.CommunicationException”类型的异常,但未在用户代码中处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用visual studio 2012 for windows phone。但是无法访问运行本地盒子的WCFService。但我能够访问实时服务。

我每次都会得到以下异常。

可能是什么原因?任何人都可以帮助我并保存我的头脑吗?







类型'System.ServiceModel的例外。 CommunicationException'发生在System.ServiceModel.ni.dll中但未在用户代码中处理

如果存在此异常的处理程序,则可以安全地继续该程序。

I am using visual studio 2012 for windows phone. But not able to access my WCFService which is running local box. But i am able to access live service.
The below exception i am getting each time.
What might be the reason? Can anybody help me and save my head?



An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code
If there is a handler for this exception, the program may be safely continued.

推荐答案

http:// msdn.microsoft.com/en-us/library/windowsphone/develop/jj684580(v=vs.105).aspx [ ^ ]






我面临同样的问题。

您找到了解决方案吗?
Hi,

I am facing same issue.
Have you found solution?


这篇关于System.ServiceModel.ni.dll中出现“System.ServiceModel.CommunicationException”类型的异常,但未在用户代码中处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆