What would cause a "Cannot start PDF Document!" error ?

  • A user of ours has suddenly starting getting random "Cannot start PDF Document!" error when a PDF file is created by our software. There doesn't appear to be any pattern to this, i.e. the file may be created 15 times successfully and then it will fail with this error the next time they create a PDF. What are the possible reasons for getting this error?

  • I did think that and we have asked the user to disable anti virus for the folder containing the file but they say they still got the error at random times. The file is on a file server so if there was a temporary network issue I assume this could cause this error?

    We do actually need the resulting PDF as a file so would using a memory stream and then writing that stream to file reduce the likelihood of this error. I am a bit concerned regarding how much memory would get used if we did this and if there is more chance of running out of memory?