[英]EndpointNotFoundException [in Windows Mobile 6.5.3 APP]
[英]Win Mobile 6.5.3 Emulator cannot connect to Internet
環境:Windows Mobile 6.5.3 Professional VGA仿真器
在“工具”->“設備仿真器管理器”中,我連接到仿真器並安裝了設備(左側的圖標從綠色箭頭變為網絡連接)。
我正在嘗試通過代理訪問Web服務。 在Windows 7 Professional桌面Windows應用程序環境中,我可以訪問Web服務。 在仿真器中(在設備上進行測試之前的步驟-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
應一位同事的建議,我嘗試訪問www.google.com。 結果是
Cannot connect with current connection
settings. To change your connection settings,
tap Settings.
當我點擊設置時,我得到
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
我嘗試了“文件”->“配置”->“網絡”,並檢查了“啟用NE2000”。
在這一點上我迷路了。
任何幫助,將不勝感激。
TIA
古斯
經過大量浪費的研究之后,我們決定向Microsoft付費以回答此問題。
微軟表示
問題
當您在桌面上運行Windows Mobile 6.5仿真器時,仿真器發送的TCP / IP數據包不會通過VPN軟件路由到公司網絡。
解
仿真器使用的網絡接口插入到TCP / IP堆棧的位置比VPN應用程序看到的位置低,因此它們被路由到Internet。 通過使用桌面直通(DMA模式下的WMDC並在設備管理器中安裝仿真器),VPN應用程序確實看到了數據包,並根據需要將其路由到公司網絡。
遵循的過程包括以下步驟:
以通常的方式調試應用程序。 希望這可以幫助。
古斯
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.