You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by nitish14s March 31, 2024
I am trying to create a PSA app using WindowsAPPSDK (WinUI3). I have created it as a multiinstancing app and updated the Package.AppManifest of the app
But when while opening from a IPP enabled printer to open this app on clicking the Printer Preferences, app is crashing with
System.Runtime.InteropServices.COMException
Steps to Reproduce
Add the IPP Class driver (Add printer via IPP)
Associate the printer to the PSA via regedit by adding a new key "Association" and add a new value to the registry by adding the app details as in the below screenshot
3.Run the package app and click on Preferences button as available in the IPP Class Driver image given below
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator)
at PSASample.App.InitializeComponent() in C:\code\PSASample\PSASample\PSASample\obj\x64\Debug\net6.0-windows10.0.19041.0\App.g.i.cs:line 57
at PSASample.App..ctor() in C:\code\PSASample\PSASample\PSASample\App.xaml.cs:line 36
at PSASample.Program.<>c__DisplayClass1_0.b__0() in C:\code\PSASample\PSASample\PSASample\Program.cs:line 46
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
##IPP Class Driver
The text was updated successfully, but these errors were encountered:
Discussed in #4301
Originally posted by nitish14s March 31, 2024
I am trying to create a PSA app using WindowsAPPSDK (WinUI3). I have created it as a multiinstancing app and updated the Package.AppManifest of the app
<printsupport:Extension Category="windows.printSupportSettingsUI" EntryPoint="$targetentrypoint$"/>
But when while opening from a IPP enabled printer to open this app on clicking the Printer Preferences, app is crashing with
System.Runtime.InteropServices.COMException
Steps to Reproduce
3.Run the package app and click on Preferences button as available in the IPP Class Driver image given below
PSASample.zip
Stacktrace
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator)
at PSASample.App.InitializeComponent() in C:\code\PSASample\PSASample\PSASample\obj\x64\Debug\net6.0-windows10.0.19041.0\App.g.i.cs:line 57
at PSASample.App..ctor() in C:\code\PSASample\PSASample\PSASample\App.xaml.cs:line 36
at PSASample.Program.<>c__DisplayClass1_0.b__0() in C:\code\PSASample\PSASample\PSASample\Program.cs:line 46
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
##IPP Class Driver
The text was updated successfully, but these errors were encountered: