Exportdocument error
Posted: Fri Jan 18, 2013 1:39 pm
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:
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: