Webviewer globalization Problem

Stimulsoft Reports.NET discussion
Post Reply
ape
Posts: 20
Joined: Thu Jul 03, 2008 2:21 am

Webviewer globalization Problem

Post by ape »

Hello

i've following problem:

i set the globalization file path:

Code: Select all

StiWebViewer.GlobalizationFile = @"C:\Program Files\Stimulsoft Reports.Net 2008.1 Trial\.Net 2.0\Bin\Localization\de.xml";
but i got following error:

Code: Select all

Following Exception has been thrown: 

System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
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, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at Stimulsoft.Report.Web.StiWebViewer.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Stimulsoft.Report.Web.StiWebViewer.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
i've also tried to save it on c:

Code: Select all

StiWebViewer.GlobalizationFile = @"C:\de.xml";
or without filename

Code: Select all

StiWebViewer.GlobalizationFile = @"C:\";
or without @ :)

Code: Select all

StiWebViewer.GlobalizationFile = "C:\\de.xml";
but i always get the same exception

hope you can help me again =)

thanks ape
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Webviewer globalization Problem

Post by Vital »

Hello,

Please try use relative path. For example:

de.xml

..\de.xml

..\localization\de.xml

Thank you.
ape
Posts: 20
Joined: Thu Jul 03, 2008 2:21 am

Webviewer globalization Problem

Post by ape »

Thanks for your great support =)
Post Reply