问题
I am using image Magick to create images from Stream. I am getting the error mentioned in title on following lines.
var image = new MagickImage();
It is an issue with ImageMagick or something else. Dont know how to solve this!!
回答1:
Workaround: assign user to application pool identity with extra privileges.
Solution (worked for me)
- Manually set temp directory MagickNET.SetTempDirectory(@"C:\Windows\Temp\");
- Give user of Application Pool Identity write permissions to it. In my case I've provided for "Users" group write permission.
来源:https://stackoverflow.com/questions/40219890/asp-net-unable-to-load-dll-magick-net-q16-x64-native-dll-access-is-denied-e