Hello,
we are using combit report server to generate reports (v.25.2).
Now we wanted to add reports in japanese. But reports with japanese symbols in report name fail when we try to download paged preview.
Exporting full report (e.g. PDF) or printing it - works as expected.
The order of api calls is following:
- /api/v1/report/{guid}/export/{guid}?..&resulttype=pagelinks - this call returns an array of FileUrls, which we use to download the files for preview - 2nd call
- /api/v1/report/{guid}/tempresult/1_%E6%9C%88…_1?encodedPath=… - this call fails with “internal server error” message
In the systemlog we see following errors:
#1:
Message:
Uncaugt Application error: System.InvalidOperationException: There was an error reflecting type 'System.Exception'. ---> System.NotSupportedException: Cannot serialize member System.Exception.Data of type System.Collections.IDictionary, because it implements IDictionary.
at System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type type, String memberInfo)
at System.Xml.Serialization.TypeScope.ImportTypeDesc(Type type, MemberInfo memberInfo, Boolean directReference)
at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
at System.Xml.Serialization.StructModel.GetPropertyModel(PropertyInfo propertyInfo)
at System.Xml.Serialization.StructModel.GetFieldModel(MemberInfo memberInfo)
at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)
at System.Xml.Serialization.XmlRefle
Timestamp (UTC):
12/11/2024 2:07:28 PM
Error location:
Stack Trace:
#2:
Message:
RESTApi: Uncaught internal exception: System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at combit.ReportServer.WebUI.Controllers.ExternalApi.ExternalApiExportController.GetTemporaryExportResult(String templateID, String encodedpath)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
Timestamp (UTC):
12/11/2024 2:07:28 PM
Error location:
Stack Trace:
Is there any way to use japanese characters in report name in this scenario?
Thank you in advace!
Aleksej