Hi,
Can anyone help with these Export to Excel and Export to PDF errors please?
- Export to Excel error after upgrade to Dundas BI v11:
Object reference not set to an instance of an object.
Web response code: 500 Internal Server Error (System.NullReferenceException)
at ᔷᖧᒴᑒᗳᔗᕥᔟᙥᑤ.ᔓᙟᘛᕪᙑᔝᒵᘊᒢᑐ(Uri ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒐ, IShortLinkService ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒑ, String& ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒒ, String& ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒓ)
at ᔷᖧᒴᑒᗳᔗᕥᔟᙥᑤ.ᔓᙟᘛᕪᙑᔝᒵᘊᒢᑎ(View ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒐ, ExportRequest ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒑ)
at ᔷᖧᒴᑒᗳᔗᕥᔟᙥᑤ.ExportAsync(ExportRequest request, View temporaryView)
at Dundas.BI.WebApi.Controllers.ExportController.<>c__DisplayClass5_0.b__0()
at Dundas.BI.WebApi.Controllers.ApiControllerBase.DoAction(Nullable1 sessionId, Func
1 func, IDictionary`2 exceptionStatusCodeMap)
at lambda_method2931(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
— End of stack trace from previous location —
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Version: 11.0.0.1000-w
- Export to PDF error after upgrade to Dundas BI v11:
http://url/Link/?shortLink=dr8t3t4fyphw9rdpa1t7rge98o is not a valid application URL
(Note: url is in format like 0.0.0.0:0000)
Web response code: 500 Internal Server Error (Dundas.BI.InvalidUriException)
at ᔷᖧᒴᑒᗳᔗᕥᔟᙥᑤ.ᔓᙟᘛᕪᙑᔝᒵᘊᒢᑑ(ExportRequest ᔦᕾᒔᙯᐋᓋᙢᕈᔅᒐ)
at ᔷᖧᒴᑒᗳᔗᕥᔟᙥᑤ.ExportAsync(ExportRequest request)
Version: 11.0.0.1000-w
- Export to PDF error after upgrade to Dundas BI v10:
The export process failed (2): Script Error - Adapter: ‘View’ Event Name: ‘beforeExport’ Script Name: ‘script 28’ Error: 'datalblElectronicpopupkpi5018 is not defined’
Web response code: 500 Internal Server Error (Dundas.BI.Export.ExportException)
at ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓲ.ᓚᐐᙨᔀᐈᒨᔠᑽᘀᗶ(ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓳ config, Process process, DirectoryInfo outputDirectory)
at ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓲ.ᓚᐐᙨᔀᐈᒨᔠᑽᘀᗴ(ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓳ config, DirectoryInfo outputDirectory, String commandLineArgs)
at ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓲ.ᓚᐐᙨᔀᐈᒨᔠᑽᘀᗲ(ᖲᙋᘮᕮᑘᕜᐊᕄᑴᓳ config)
at Dundas.BI.Export.StandardExportProviders.PdfProvider.ᓺᖬᓧᙩᕌᕯᕕᓘᔩᙛ(ExportRequest request)
at Dundas.BI.Export.StandardExportProviders.StandardProviderBase.Export(ExportRequest request)
at ᓅᙫᗕᐬᖉᕒᒑᗌᖢᔶ.ᗣᕺᓽᙃᐤᒝᙐᓣᐣᘹ(ExportRequest request)
at ᓅᙫᗕᐬᖉᕒᒑᗌᖢᔶ.ProcessQueue(CancellationToken cancellationToken)
Version: 10.0.0.1009-w