AspNetControl - Different behavior after deployed into production

0
0

Hi.

I have my DevExpress Dashboard Wrapper working really well and have been able to customize it to many different needs. One of them is the ability to Export dashboards raw data to Excel, and I have been helped to accomplish that in this post: https://wisej.com/support/question/devex-dashboard-extension-handle-the-datainspectorextensionoptions-ongridinitialized-event

This works perfectly in my dev machine. However, after deployed, I am facing a problem that I hope you guys have an idea of what I could check. Once I open the form where the dashboard is shown for the first time, the Export feature works fine. After this, if the user closes the form and goes back to it later, it doesn’t work anymore and we get the following error:

Uncaught Error: E1041 – The ‘JSZip’ script is referenced after the DevExtreme scripts or not referenced at all. See:
http://js.devexpress.com/error/20_2/E1041

I have added a “debbuger;” statement line into the script before the JSZip is referenced, and it runs through it every time, but it looks like the ScriptManager is not adding the script to the AspNetControl wrapper anymore. It works well, first time, doesn’t work anymore after that. If the user Exits the session and goes back to the application, it works again for the first time only.

All this only happens in the production server (IIS 8.5). When I run from Visual Studio, it works fine all the time.

Would you guys have any advice on this issue?

Thanks in advance.

Ivan
(VS 2019 – Wisej 2.2.44.0 – C# – SQL Server)

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.