I'm having the same problem running Umbraco 12 on IIS. Error code: 500.19 Message: The requested page cannot be accessed because the related configuration data for the page is invalid.
I ran the code below:
dotnet publish --configuration Release
I copied the publish code physical path of IIS Manager, gave file permission to the folder, started the app, and got the error message above.
platform: windows 10
dotnet version: 7.0
I think is having a problem with the web.config file generated.
Umbraco version 12 not working on IIS.
I'm having the same problem running Umbraco 12 on IIS. Error code: 500.19 Message: The requested page cannot be accessed because the related configuration data for the page is invalid.
I ran the code below:
I copied the publish code physical path of IIS Manager, gave file permission to the folder, started the app, and got the error message above.
platform: windows 10 dotnet version: 7.0
I think is having a problem with the web.config file generated.
Having similar issues with Umbraco 12 on IIS
App won't start due to package issues.
I was able to fix this by uninstalling and reinstalling net core 7.0.
is working on a reply...