Windows 10 IoT app won't launch by default

My application does not start by default, although I configured it and it shows up in the startup list.

I added my application via the command line command iotstartup add headed SmartHomeController_m8d17z30eray2!App

which placed the application in the startup list:

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

      

The app appears to launch, but the stack is on the screen with colored stripes, but never fully opens. My application process is listed as running. What am I doing wrong?

Btw: I can successfully deploy, run and debug my application from Visual Studio. And I also tried launching with an already released version of the app.

I am trying to do this on two separate Raspberry Pi2s.

EDIT: Here is the content of the WER report showing activation failure of my application on startup. I even tested it with HelloWorld example from Github, but no luck.

WER-Report:

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

      

+3


source to share


1 answer


The EM_WATCHDOG_TIMEOUT value probably indicates that you have blocked the UI thread with a long piece of code or waiting for some description.



Mark Radbourne [MSFT]

+2


source







All Articles