这两天公司做pos机,原来的做pos的人走了,程序已经基本写完。

我下载到wince里,发现一旦调用webservice,就会弹出

 

针对此异常的错误消息可用但无法显示,原因是这些消息是可选的,而当前未安装在此设备上。对于 Windows Mobile 5.0 及更高版本,请安装“NETCFv35.Messages.zh-CHS.wm.cab”,对于其他平台,请安装“NETCFv35.Messages.zh-CHS.cab”。重新启动应用程序查看该消息。
位于 System.Net.HttpWebRequest.finishGetResponse()
位于 System.Net.HttpWebRequest.GetResponse()
位于 System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
位于 System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
位于 System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
位于 POS.WebReference.PosTools.LinkString()
位于 POS.Link.RasDialRun1()
位于 POS.Link.timer1_Tick(Object sender, EventArgs e)
位于 System.Windows.Forms.Timer._WnProc(WM wm, Int32 wParam, Int32 lParam)
位于 System.Windows.Forms.ApplicationThreadContext._InternalContextMessages(WM wm, Int32 wParam, Int32 lParam)
位于 Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
位于 System.Windows.Forms.Application.Run(Form fm)
位于 POS.Program.Main()

 

之后下载了NETCFv35.Message.zh-CHS.wm.cab,安装不上,表示不是可识别的程序(还是什么来着,反正就是不能装上)

后来仔细看了看这个异常消息,发现还有一个NETCFv35.Message.zh-CHS.cab,比上边的那个少了"wm",然后又我装上了!!!

此时不弹这个异常了,改弹

 

Unable to read data from the transport connection.
位于 System.Net.HttpWebRequest.finishGetResponse()
位于 System.Net.HttpWebRequest.GetResponse()
位于 System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
位于 System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
位于 System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
位于 POS.WebReference.PosTools.LinkString()
位于 POS.Link.RasDialRun1()
位于 POS.Link.timer1_Tick(Object sender, EventArgs e)
位于 System.Windows.Forms.Timer._WnProc(WM wm, Int32 wParam, Int32 lParam)
位于 System.Windows.Forms.ApplicationThreadContext._InternalContextMessages(WM wm, Int32 wParam, Int32 lParam)
位于 Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
位于 System.Windows.Forms.Application.Run(Form fm)
位于 POS.Program.Main()

 

然后我就去网上查啊查,第二天终于知道了,原来是我插着usb了

wince连着usb是不能上网的!!!

我用sim卡无线上网,竟然不能连usb,晕啊啊啊啊啊啊  

 

下边是用到的文件

 

wince_NETCFv35.Messages.zh-CHS.cab.zip

NETCFv35.Messages.zh-CHS.cab安装后产生的文件.zip

wince_NETCFv35.Messages.zh-CHS.wm.cab.zip

 

相关文章:

  • 2021-12-03
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2022-01-25
  • 2021-10-15
  • 2021-06-07
  • 2021-04-17
相关资源
相似解决方案