Appstream2.0 build issue

0

Hi

I ran the image builder and created a new image (AppStream-WinServer2022-12-11-2023) Then I uploaded the vendor application and installed it using the built in Administrator account. I ran the application with the built in Admin account and it work. No issues detected.

Then tried the "Image Assistant" and added the vendor application. I then switched user to "Template User". I tried running my program directly as "Template User" (not using the "Image Assistant") and it work. No issues.

I start "Image Assistant" and see the application icon, (using Template User account) and run the application and nothing happen. It do not open the application.

Event Viewer give two errors .NET Runtime Event ID 1026

  • <EventData> <Data>Application: VENDORAPPLICATION.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Threading.WaitHandleCannotBeOpenedException at System.Threading.Mutex+MutexTryCodeHelper.MutexTryCode(System.Object) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object) at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean, System.String, Boolean ByRef, SECURITY_ATTRIBUTES) at System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity) at System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef) at VENDORAPPLICATION.Program.Main()</Data> </EventData> </Event>

Another Event Viewer error Application error Event ID 1000

Faulting application name: VENDORAPPLICATION.exe, version: 1.1.1.0, time stamp: 0x65392dd7 Faulting module name: KERNELBASE.dll, version: 10.0.20348.2227, time stamp: 0xfcb273fc Exception code: 0xe0434352 Fault offset: 0x00138e42 Faulting process id: 0xa28 Faulting application start time: 0x01da51f8321e4284 Faulting application path: C:\VENDOR\VENDORAPPLICATION\VENDORAPPLICATION.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: d9354055-d039-466b-80e2-e22c2ac0d1cb Faulting package full name: Faulting package-relative application ID

I can run the application using Administrator, Template User and Test User accounts. Using the "Image Assistant" to switch between accounts.

The problem is when I use the "Image Assistant" on either Template User and Test User account and try to start the Application by clicking on the application icon. It give me those two errors above in the Event log.

I am stuck on STEP 3 in the appstream guide since the "Image Assistant" cant run the program https://docs.aws.amazon.com/appstream2/latest/developerguide/tutorial-image-builder.html

In short the application is working on all three accounts if I start the application from Windows. The Application do not work executing inside the "Image Assistant" using Template User and Test User account.

I have one user account in the USER POOL and one image. I do not have anything else in AWS since I started using AWS this week.

unknown
demandé il y a 3 mois91 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions