Free Support Forum - aspose.com

Crash when saving PDF files

Debug information:
Illegal characters in path. (Err#201105161020)

at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission…ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at ..€( , Image )
at ..( )
at „..( )
at †..( )
at ..( )
at ..€(String )
at ..€(Pdf , Section , Cell , Text , )
at ..€(Pdf , Section , Table , Cell , Text , , ƒ )
at ..€(Pdf , Section , HeaderFooter , Table , Row , Cell , Text , , ƒ , Boolean )
at .‚.€(Pdf , Section , Table , Row , Cell , , ƒ )
at ..€(Pdf , Section , Table , Row , , ƒ )
at ..€(Pdf doc, Section currentPart, HeaderFooter hf, Table table, assignInfo, ƒ useType, Boolean isFirst, & breakTableNextPart)
at ..€(Pdf , Section , )
at ..€(Pdf )
at ..€( , Pdf )
at Aspose.Pdf.Pdf.Save(Stream stream)

Hello Tony,

Thanks for using our products.

Can you please share some code snippet so that we can test the scenario at our end. More along, please share the version of product that you are using and also some details regarding your working environment. We are really sorry for this inconvenience.

This is hard to send you some code.


The problem is only happen in Production environment: Windows 2008 R2, ASP.NET

Hello Tony,

Until or unless we have tested the scenario, we might not be able to figure out the actual reasons of this problem. Can you please share some details regarding the approach that you are using to generate the PDF ? We are sorry for this inconvenience.