[英]Win Mobile 6.5.3 Emulator cannot connect to Internet
Environment: Windows Mobile 6.5.3 Professional VGA Emulator 环境:Windows Mobile 6.5.3 Professional VGA仿真器
In the Tools->Device Emulator Manager, I connected to the emulator and cradled the device (the icon to the left changed from a green arrow to a network connection). 在“工具”->“设备仿真器管理器”中,我连接到仿真器并安装了设备(左侧的图标从绿色箭头变为网络连接)。
I am attempting to access Web Services through a Proxy. 我正在尝试通过代理访问Web服务。 In the Windows 7 Professional desktop Windows Application environment, I can access the Web services;
在Windows 7 Professional桌面Windows应用程序环境中,我可以访问Web服务。 in the emulator (the step before I test on the device - MC75A) I get the following:
在仿真器中(在设备上进行测试之前的步骤-MC75A),我得到以下信息:
_HResult -2146233079 int
_innerException null System.Exception
_message "Could not establish connection to network." string
_methodDescs {System.IntPtr[19]} System.IntPtr[]
HResult -2146233079 int
InnerException Could not evaluate expression System.Exception
Message "Could not establish connection to network." string
StackTrace
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at MobilePOS.WebReference.Service.FetchNewSession(String OperatorCode, String Password)
at MobilePOS.TelechargeProxy.FetchNewSession()
at MobilePOS.Username_Password.fetch_new_session(String user_name, String password)
at MobilePOS.Username_Password.user_valid(String user_ID, String password)
at MobilePOS.Login.quick_login_BUT_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)
at System.Windows.Forms.Form.ShowDialog()
at MobilePOS.Mobile_POS.Mobile_POS_Dispatcher()
at MobilePOS.Program.Main()
m_Response null System.Net.WebResponse
m_Status ConnectFailure System.Net.WebExceptionStatus
Response Could not evaluate expression System.Net.WebResponse
Status ConnectFailure System.Net.WebExceptionStatus
At the suggestion of a colleague, I attempted to access www.google.com. 应一位同事的建议,我尝试访问www.google.com。 The results were
结果是
Cannot connect with current connection
settings. To change your connection settings,
tap Settings.
When I tap settings, I am given 当我点击设置时,我得到
My ISP
Add a new modem connection
My Work Network
Add a new modem connection
Add a new VPN server connection
Set up my proxy server
I tried File->Configure->Network and checked the Enable NE2000.... After a reset (soft) nothing changed. 我尝试了“文件”->“配置”->“网络”,并检查了“启用NE2000”。
At this point I am lost. 在这一点上我迷路了。
Any help would be appreciated. 任何帮助,将不胜感激。
TIA TIA
Gus 古斯
After an inordinate amount of wasted research, we decided to pay Microsoft to answer this question. 经过大量浪费的研究之后,我们决定向Microsoft付费以回答此问题。
Microsoft stated 微软表示
Problem 问题
When you run the Windows Mobile 6.5 emulator on your desktop TCP/IP packets sent by the emulator are not routed via the VPN software to your corporate network. 当您在桌面上运行Windows Mobile 6.5仿真器时,仿真器发送的TCP / IP数据包不会通过VPN软件路由到公司网络。
Solution 解
The network interface used by the emulator is plugging into the TCP/IP stack at a point lower than that which the VPN application sees hence they are routed to the Internet. 仿真器使用的网络接口插入到TCP / IP堆栈的位置比VPN应用程序看到的位置低,因此它们被路由到Internet。 By using desktop pass through (WMDC in DMA mode and cradling the emulator in the device manager) the VPN application did see the packets and routed them to the corporate network as required.
通过使用桌面直通(DMA模式下的WMDC并在设备管理器中安装仿真器),VPN应用程序确实看到了数据包,并根据需要将其路由到公司网络。
The procedure to follow consists of the following steps: 遵循的过程包括以下步骤:
Debug the application in the usual manner. 以通常的方式调试应用程序。 Hope this helps.
希望这可以帮助。
Gus 古斯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.