This usually indicates that the server you're deploying to is running an outdated version of .NET 6, we require .NET 6.0.5 to be running at least - you can ask your hosting provider to do an upgrade to the latest patch.
To make matters more confusing, .NET 6.0.5 is included in .NET SDK 6.0.300. We highly recommend SDK 6.0.301 however (including .NET 6.0.6) because it contains a security patch.
Value cannot be null. (Parameter 'source')
I have setup Umbraco 10 website on hosting and getting below error. It works fine on local
I'm getting the same error with site deployed to Elastic Beanstalk. (Works fine localy)
Same here, not sure what's going on...
This usually indicates that the server you're deploying to is running an outdated version of .NET 6, we require .NET 6.0.5 to be running at least - you can ask your hosting provider to do an upgrade to the latest patch.
To make matters more confusing, .NET 6.0.5 is included in .NET SDK 6.0.300. We highly recommend SDK 6.0.301 however (including .NET 6.0.6) because it contains a security patch.
Let me check with hosting
Thanks
Hi Sebastiaan,
I was pretty sure that was the cause of the problem but I'm not sure how to resolve it in Elastic Beanstalk.
From what I see, 6.0.6 is supported, but I haven't figured out how to ensure/force it to use 6.0.6
https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platform-history-dotnetlinux.html
Update: inside the EB "machine", dotnet --info says only 6.0.1 is available
Checking this out and seeing if a standalone deployment can do the trick. Thanks for the insight!
After upgrading .net core version it works
Thanks Sebastiaan
upgrade vs or download latest version for .net 6 will fix the problem
I get the same error but i am running on a newer .net version
is working on a reply...