-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment IIS Attempted to read or write protected memory. This is often an indication that other memory is corrupt. .net6.0 #548
Comments
It's not one i've seen before. Can you access any pages or static content? The exception seems to occur dynamically loading an assembly during view compilation using the .NET What are you delpoying to? Perhaps it's IIS and it's a config issue? Also ensure you have view pre-compilation set up correctly in your csproj file by disabling |
I can not access any pages or static content. I disabled 2 options of pre-complilation too:
The project run on local worked well both debug and release build. :( |
One thing to try is to deploy a bare bones Cofoundry sample like the SimpleSite and see if you can get it working. That would rule out anything in your implementation being an issue. You could also try uploading your MS boilerplate MVC sample with Razor View Compilation enabled to see if that is triggering the issue. I have had Cofoundry on .NET 6 running on IIS serves and previous versions running on servers hosted behind Plesk, but I know these types of hosts can run restricted environments with limited memory which is something I was trying to dig into but I'm yet to find anything concrete. |
Any .dll inside cofoundry core is used for x86? |
The main Cofoundry packages have very few non-Microsoft .NET dependencies and I believe those are all .NET standard. The only plugin I can think of with native binaries is the SkiaSharp imaging plugin. |
Hi team, I'm using cofoundry on net6 (simple.project net6).
I run debug on local or release build on local run very well. But when deploy on server, it corrupt and can not access site.
I test my hosting server by try deploying an fresh project of razor page net6 of microsoft boilerplate, it work very well.
Please help me determine something wrong? thank team.
this is my log start at Fatal exception:
program.cs
The text was updated successfully, but these errors were encountered: