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:
Exportdocument error
Re: Exportdocument error
Hello.
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.
Please, describe your problem more detailed.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.
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
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
Thanks anyway
Paul
Re: Exportdocument error
Hello.
Good. Let us know if you will need any additional help.
Thank you.
Good. Let us know if you will need any additional help.
Thank you.