Maui kernelbase error when installed on client

Mads S. Christiansen 1 Reputation point
2022-09-02T10:29:53.607+00:00

Hi,

I have made a Maui application and has signed it and it is installing on the client. But when opening I dont get any response and the following is shown in the event viewer.

Faulting application name: FlexViewer.exe, version: 1.0.0.0, time stamp: 0x62cf0990
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1949, time stamp: 0xcb12e58e
Exception code: 0xc000027b
Fault offset: 0x000000000010fb62
Faulting process id: 0x7f0
Faulting application start time: 0x01d8beb610d27bbd
Faulting application path: C:\Program Files\WindowsApps\AA8DA5AE-7CDF-4B6E-83D2-15AB74FCA754_1.0.3.0_x64__8p38cmvnx8q0r\FlexViewer.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 5f6cfba2-cec2-41e1-a85d-1aa06e6077aa
Faulting package full name: AA8DA5AE-7CDF-4B6E-83D2-15AB74FCA754_1.0.3.0_x64__8p38cmvnx8q0r
Faulting package-relative application ID: App

I'm targeting net6.0-windows10.0.19041.0

It is working correcly on my dev enviroment in vs2022.

I have looked everywhere and tried all kinds of things, but still not running.

Any great idea?

Best regards

Mads

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,861 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bety Hapau 5 Reputation points
    2023-10-25T16:18:30.27+00:00

    Hi,

    I had the same issue and I believe I managed to find the root of it (at least this is what it currently seems after some hours of testing)

    After looking at this video: https://learn.microsoft.com/en-us/shows/inside/c000027b

    I figured I was using

    Shell.Current.GoToAsync(nameof(FinalPage), navigationParameter);

    to travel to the next page, without adding await in front of it. After I changed it to Navigation everything was fine:

    await Navigation.PushAsync(new FinalPage(path));

    Now I don't seem to have the problem anymore..

    Please let me know if this helps!

    1 person found this answer helpful.
    0 comments No comments