Hi Ramya,
thanks for your test project. If i change nothing, just download and run it, it will still show the initial error in this thread: "Parameter is not valid."
Then I add the line with the zoomFactor and the document is shown, but only at 100%. So the following error we are discussing now is just a child of the original error with the smaller than 1 values in the zoomFactor. What should I update that this System.Drawing error disappears?
If i add this line the document loads, but only at 100% (what makes sense) - if I delete the line it will not load anything with a zoomFactor smaller than 1.
The only thing that is not included in your sample is the System.Drawing.dll from the asp.net core - isn't it? Can you create a self-contained deployment and provide me the example? maybe you have a different dll in the GAC or something like this. Otherwise i have no idea whats so different from our computers.