While attempting to grade assignments, regardless of the content (or lack of content) submitted, our instructors are all getting this error. Here is a screenshot of me attempting to grade an assignment. I yellowed out identifying information for privacy.
Before I go further, we are on Windows, using IIS, and our Moodle version is 3.9.6, PHP is 7.4.23, and we are newly installed on an upgraded server (a new one).
Before I made this post I researched this error and found it is a common issue brought up with a multitude of "fixes". I tried everything that I could to eliminate the cause of this problem. A common "fix" was to check to make sure Ghostscript is installed. So I downloaded it and installed the Windows X64 version, thinking that would most likely solve this problem. But it did nothing to solve the problem. I do not recall ever having to install Ghostscript on any previous server we used (two of them).
I need help at this point. I've followed all the lead I could find to rectify the issue. That said, it's not completely preventing grading because the instructor can click on the button and then still grade the item. But it is very annoying and furthermore it does not open the content submitted should it be a Word document or an image, into the viewer so that instructor can view it and annotate it for grading purposes.