2012-10-29 9 views
0

我想在Windows 8上運行服務器,並在相同的Windows 8 PC上運行應用程序。 應用程序被賦予PC的IP地址,以便它連接到此服務器,但連接不會發生。 但是,如果我從2個不同的Windows 8個人電腦上運行服務器和應用程序,它工作正常。Windows 8:服務器運行在Windows 8上,並在同一個窗口上運行應用程序的問題8 PC

我的應用程序試圖通過此服務守護程序服務器(如中間代理服務器的行爲)

可能是什麼原因連接到XMPP服務器?這是否有一些設置問題?

下面是日誌:日誌

'sample_app.exe' (Win32): Loaded 'D:\LIBRA_WINRT_REL_V_0_1\RAClient_Intf_8_10_12 \Debug\sample_app\AppX\sample_app.exe'. Symbols loaded. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.110.Debug_11.0.50522.1_x86__8wekyb3d8bbwe\vccorlib110d.d  ll'. Symbols loaded. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.110.Debug_11.0.50522.1_x86__8wekyb3d8bbwe\msvcp110d.dll' . Symbols loaded. 

'sample_app.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.110.Debug_11.0.50522.1_x86__8wekyb3d8bbwe\msvcr110d.dll'  . Symbols loaded. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file. 

The thread 0x4dc has exited with code 0 (0x0). 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Xaml.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ninput.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wininet.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d11.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\urlmon.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\UIAutomationCore.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\twinapi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\actxprxy.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.Immersive.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dui70.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DWrite.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d2d1.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MrmCoreR.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\BCP47Langs.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msftedit.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Globalization.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgidebug.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d10warp.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\igd10umd32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dcomp.dll'. Cannot find or open the PDB file. 

The thread 0x84c has exited with code 0 (0x0). 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file. 

    'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dpapi.dll'. Cannot find or open the PDB file. 

    'sample_app.exe' (Win32): Loaded 'D:\LIBRA_WINRT_REL_V_0_1\RAClient_Intf_8_10_12\Debug\sample_app\AppX\ra.dll'. Symbols loaded. 

    [17:33:7(f0c)ALL ]Faile to Create a log file (C:Users estDocumentsVisual Studio 2012ProjectsRAClient_IntfDebug\test_re_2012-10-29T17-33-07.log) 

    [17:33:7(f0c)ALL ] 

    [17:33:7(f0c)ALL ] +-------------------------------------------+ 

    [17:33:7(f0c)ALL ] | <libra> | 

    [17:33:7(f0c)ALL ] | Vesion : 1.2.5+b | 

    [17:33:7(f0c)ALL ] | Date : Apr 17, 2012 | 

    [17:33:7(f0c)ALL ] +-------------------------------------------+ 

    [17:33:7(f0c)ALL ] 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\threadpoolwinrt.dll'. Cannot find or open the PDB file. 

[17:33:10(f0c)ALL ]Logging in as ([email protected]) 

[17:33:10(f0c)ALL ]XMPP Server : 107.108.82.145:5222 

[17:33:10(f0c)ALL ]Stun Server : 107.108.72.62:3474 

[17:33:10(f0c)ALL ]Turn Server : 107.108.72.62:3474 

[17:33:10(f0c)ALL ]Turn ELB Server : 107.108.72.62:3474 

[17:33:10(f0c)ALL ] 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Networking.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Networking.Connectivity.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FirewallAPI.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfplat.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\avrt.dll'. Cannot find or open the PDB file. 

[17:33:10(f0c)INFO]Physical socket created : 7 
IP:107.108.72.78 

PORT:5222 

The thread 0x9bc has exited with code 0 (0x0). 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Cannot find or open the PDB file. 

    'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file. 

    'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Cannot find or open the PDB file. 

    'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'. Cannot find or open the PDB file. 

'sample_app.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'. Cannot find or open the PDB file. 

First-chance exception at 0x75F87945 in sample_app.exe: Microsoft C++ exception: Platform::COMException^at memory location 0x0848EBC0. HRESULT:0x8007274D 

------------------------------------------------------------------------ 
Call stack before crash (if needed) 
------------------------------------------------------------------------ 
KernelBase.dll!75f87945() Unknown 
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll] 
> msvcr110d.dll!_CxxThrowException(void * pExceptionObject, const _s__ThrowInfo*  pThrowInfo) Line 152 C++ 
ra.dll!Concurrency::unobserved_task_exception::throw_stored_exception() Line 196 C++ 
ra.dll!Concurrency::details::_ExceptionHolder::_RethrowUserException() Line 953 C++ 
ra.dll!Concurrency::details::_Task_impl_base::_Wait() Line 1444 C++ 
ra.dll!Concurrency::task<unsigned char>::get() Line 3019 C++ 
ra.dll!Concurrency::task<void>::get() Line 3970 C++ 
ra.dll!<lambda_05604c12395ee9f669b724ea276b81ae>::operator()(Concurrency::task<void> previousTask) Line 863 C++ 
ra.dll! std::_Callable_obj<<lambda_05604c12395ee9f669b724ea276b81ae>,0>::_ApplyX<int,Concurrency::t ask<void> >(Concurrency::task<void> && _V0) Line 431 C++ 
ra.dll! std::_Func_impl<std::_Callable_obj<<lambda_05604c12395ee9f669b724ea276b81ae>,0>,std::alloca tor<std::_Func_class<int,Concurrency::task<void>,std::_Nil,std::_Nil,std::_Nil,std::_Nil,st d::_Nil,std::_Nil>  >,int,Concurrency::task<void>,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil>: :_Do_call(Concurrency::task<void> && _V0) Line 239 C++ 
    ra.dll! std::_Func_class<int,Concurrency::task<void>,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_ Nil,std::_Nil>::operator()(Concurrency::task<void> _Vx0) Line 515 C++ 
ra.dll!Concurrency::task<unsigned char>::_ContinuationTaskHandle<void,int,<lambda_05604c12395ee9f669b724ea276b81ae>,std::inte gral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>::_Continue (std::integral_constant<bool,1> __formal, Concurrency::details::_TypeSelectorNoAsync __formal) Line 3393 C++ 
    ra.dll!Concurrency::task<unsigned char>::_ContinuationTaskHandle<void,int,<lambda_05604c12395ee9f669b724ea276b81ae>,std::inte gral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>::_Perform() Line  3301 C++ 
ra.dll!Concurrency::details::_PPLTaskHandle<int,Concurrency::task<unsig ned char>::_ContinuationTaskHandle<void,int,<lambda_05604c12395ee9f669b724ea276b81ae>,std::integral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_Co ntinuationTaskHandleBase>::operator()() Line 1254 C++ 
ra.dll! Concurrency::details::_UnrealizedChore::_InvokeBridge<Concurrency::details::_PPLTaskHandle<  int,Concurrency::task<unsigned char>::_ContinuationTaskHandle<void,int,<lambda_05604c12395ee9f669b724ea276b81ae>,std::inte  gral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_Co  ntinuationTaskHandleBase> > (Concurrency::details::_PPLTaskHandle<int,Concurrency::task<unsigned char>::_ContinuationTaskHandle<void,int,<lambda_05604c12395ee9f669b724ea276b81ae>,std::inte gral_constant<bool,1>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_Co  ntinuationTaskHandleBase> * _PChore) Line 4464 C++ 
    msvcr110d.dll!Concurrency::details::_UnrealizedChore::_UnstructuredChoreWrapper (Concurrency::details::_UnrealizedChore * pChore) Line 293 C++ 
    msvcr110d.dll!Concurrency::details::_UnrealizedChore::_Invoke() Line 4419 C++ 
    msvcr110d.dll!Concurrency::details::WorkItem::Invoke() Line 172 C++ 
    msvcr110d.dll!Concurrency::details::InternalContextBase::ExecuteChoreInline (Concurrency::details::WorkItem * pWork) Line 1605 C++ 
    msvcr110d.dll!Concurrency::details::InternalContextBase::Dispatch(Concurrency::DispatchState * pDispatchState) Line 1719 C++ 
    msvcr110d.dll!Concurrency::details::FreeThreadProxy::Dispatch() Line 197 C++ 
    msvcr110d.dll!Concurrency::details::ThreadProxy::ThreadProxyMain(void * lpParameter) Line 171 C++ 
    kernel32.dll!76b583db() Unknown 
    ntdll.dll!77199a3f() Unknown 
    ntdll.dll!77199a12() Unknown 
------------------------------------------------------------------------ 

請告知

+0

你可以告訴更多關於你如何試圖連接? – ayush

+0

我的應用程序試圖通過這個服務守護進程服務器連接到XMPP服務器(就像一箇中間代理服務器) – Spooferman

+0

你說:'連接不會發生.'請解釋。任何錯誤或消息? –

回答

1

我與WCF類似的問題。據我所知,Windows Store應用程序無法通過HTTP與本地服務進行通信。

但菲德勒有一個很棒的工具。這解決了我的問題。

檢查了這一點: http://blog.virtew.com/2012/08/13/using-fiddler-in-a-windows-8-metro-style-app/

+0

你是如何完成它的?我的意思是你必須做的設置,讓本地流量通過提琴手。截至目前,我選擇我的應用程序的環回免除工具列表,使其流量被捕獲本地,但它沒有發生。 – Spooferman

+0

我已經豁免了使用此命令的應用程序的環回限制太「CheckNetIsolation.exe LoopbackExempt -c」 – Spooferman

+0

CheckNetIsolation.exe做同樣的事情..所以,如果這沒有幫助,那麼問題的原因是別的 – gregkalapos

相關問題