Error when attempting to generate large Word Document

Below is the stack trace of my error when attempting to generate a large word document. I increased the json max length property in my web.config but that had no effect. It is absolutely a large file issue so the question is how do I bypass this?

[FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\ jsaction='.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10550493
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +89
   xf9a9481c3f63a419.xed747ca236d86aa0.xb93ba02d7ec640e0(String x585da4d9795fa783) +230
   Aspose.Words.DocumentBuilder.InsertImage(String fileName, RelativeHorizontalPosition horzPos, Double left, RelativeVerticalPosition vertPos, Double top, Double width, Double height, WrapType wrapType) +328
   Aspose.Words.DocumentBuilder.InsertImage(String fileName, Double width, Double height) +58
   fbob_convert.Primer(Int32 sid) in C:\socialdetection\convert.aspx.vb:532
   fbob_convert.Page_Load(Object sender, EventArgs e) in C:\socialdetection\convert.aspx.vb:1072
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428v

Hi Robert,


Thanks for your inquiry. It would be great if you please share following detail for investigation purposes.

  • Please share some more detail about your scenario
  • Please attach your input Word document.
  • Please create a standalone/runnable simple application (for example a Console Application Project) that demonstrates the code (Aspose.Words code) you used to reproduce this issue.

Unfortunately, it is difficult to say what the problem is without the Document(s) and simplified application. We need your Document(s) and simple project to reproduce the problem. As soon as you get these pieces of information to us we’ll start our investigation into your issue.