Page 1 of 1

Exportdocument error

Posted: Fri Jan 18, 2013 1:39 pm
by paullef
Hello,

I am trying to export to pdf, using the exportdocument function. The filename is in the my documents folder, which is an UNC path. I am getting an NotSupportedExeption, with the following stack trace. What can I do to fix this.

Thanks
Paul

System.NotSupportedException occurred
Message="De opgegeven padindeling wordt niet ondersteund."
Source="mscorlib"
StackTrace:
bij System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
bij System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
bij System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
bij System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
bij 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)
bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
bij Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
bij Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file)
bij ReportClient.ReportViewer.Toolbar_ToolClick(Object sender, String Tag)
InnerException:

Re: Exportdocument error

Posted: Mon Jan 21, 2013 2:02 pm
by HighAley
Hello.
paullef wrote:I am trying to export to pdf, using the exportdocument function. The filename is in the my documents folder, which is an UNC path. I am getting an NotSupportedExeption, with the following stack trace. What can I do to fix this.
Please, describe your problem more detailed.
What filename do you use?
What system is on your machine?
What export settings do you use?
Do you have such problem everytime?

Thank you.

Re: Exportdocument error

Posted: Tue Jan 22, 2013 9:57 am
by paullef
Thanks Aleksey, I was stupid enough to put some illegal charachters in the filename, this had nothing to do with the UNC path as I tought.

Thanks anyway
Paul

Re: Exportdocument error

Posted: Tue Jan 22, 2013 11:46 am
by HighAley
Hello.

Good. Let us know if you will need any additional help.

Thank you.