2015-06-21 82 views
3

我的應用程序不是默認啓動的,即使我配置了它並顯示在啓動列表中。Windows 10物聯網應用程序默認不啓動

[192.168.178.21]: PS C:\Users\Administrator\Documents> iotstartup startup 
Headed : SmartHomeController_m8d17z30eray2!App 

的應用程序似乎要啓動,但堆棧彩色欄在屏幕上,但從未完全打開:

我通過命令行命令iotstartup add headed SmartHomeController_m8d17z30eray2!App其放置在應用程序在啓動列表中所增加我的應用程序。我的應用程序的進程被列爲正在運行。我究竟做錯了什麼?

順便說一句:我可以從Visual Studio成功部署,運行和調試我的應用程序。我也嘗試過使用該應用的發佈版本。

我試圖在兩個單獨的樹莓Pi2上。

編輯: 這是WER報告的內容,顯示我的應用啓動時的激活失敗。我甚至用來自Github的HelloWorld樣本進行了測試,但也沒有運氣。

WER-報告:

Version=1 
EventType=WindowsPhone8ExecManService 
EventTime=130796035482184453 
ReportType=1 
Consent=1 
UploadTime=130796035502965782 
ReportIdentifier=5e94ed6f-1a40-11e5-9a6c-b827ebbfa778 
Response.BucketId=dbea6798d9ffe78cb5aebf0e09d609d0 
Response.BucketTable=5 
Response.LegacyBucketId=111672501508 
Response.type=4 
Sig[0].Name=App 
Sig[0].Value=C:\USERS\DefaultAccount\APPDATA\Local\DevelopmentFiles\HelloWorldIOTVS.Release_ARM.Sebastian\HelloWorldIOT.exe 
Sig[1].Name=AppVer 
Sig[1].Value=99999, 
Sig[2].Name=AppID 
Sig[2].Value={00000000-0000-0000-0000-000000000000} 
Sig[3].Name=AppName 
Sig[3].Value=unknown 
Sig[4].Name=Reason 
Sig[4].Value=EM_WATCHDOG_TIMEOUT 
Sig[5].Name=Description 
Sig[5].Value=Activation Failure 
DynamicSig[1].Name=OS Version 
DynamicSig[1].Value=10.0.10075.2.0.0.256.123 
DynamicSig[2].Name=Locale ID 
DynamicSig[2].Value=1033 
State[0].Key=Transport.DoneStage1 
State[0].Value=1 
FriendlyEventName=WindowsPhone8ExecManService 
ConsentKey=WindowsPhone8ExecManService 
AppName=Shell Infrastructure Host 
AppPath=C:\Windows\system32\SIHOST.EXE 
ApplicationIdentity=00000000000000000000000000000000 

回答

2

值EM_WATCHDOG_TIMEOUT可能表明您已經封鎖了長時間運行的一段代碼或一些描述等待UI線程。

Mark Radbourne [MSFT]

相關問題