Errors Encountered After Upgrading from .NET 8 to .NET 9
Error 1: System.InvalidOperationException - Missing Asset File
Error Message:
System.InvalidOperationException: No file exists for the asset at either location 'wwwroot\css\ace\ace.bundle.css' or 'wwwroot\css\ace\ace.bundle.css'
Details:
After upgrading my project from .NET 8 to .NET 9, I encountered this error during the rebuild process. However, the application runs well despite the rebuild issue. This indicates that the missing asset (ace.bundle.css) is referenced somewhere in the project configuration but does not exist in the specified directory.
Image Reference:
<img src="https://i.imgur.com/0YVcAeS.png" />
https://i.imgur.com/0YVcAeS.png
Error 2: TypeError - Promise Constructor Issue
Error Message:
TypeError: Promise constructor cannot be invoked without 'new'
Message=
Source=
StackTrace:
at Number.Promise (<anonymous>)
at
at s (
at
at
at
Details:
And now, I also encountered a JavaScript runtime error that is preventing the application from running. The error occurs in the plugins.bundle.js file.
Image Reference:
<img src="https://i.imgur.com/waU5zLB.png" />
https://i.imgur.com/waU5zLB.png
Replies (1)
Hi,
Sorry for the delay in reply.
In Metronic source code, we do not have ace.bundle.css, is it your custom file?
Regards,
Lauris Stepanovs,
Keenthemes Support Team