Exportdocument error

Stimulsoft Reports.NET discussion
Post Reply
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

Exportdocument error

Post 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:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Exportdocument error

Post 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.
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

Re: Exportdocument error

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Exportdocument error

Post by HighAley »

Hello.

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

Thank you.
Post Reply