404 Error when exporting Excel from ActiveReports 8 -
I am struggling with this and for two weeks, most of the time for that time my responses to the support issue. That is what I would expect that will help the next person who is moving forward on this issue. I am going to throw a lot of unnecessary expansion to increase the barriers of the next man.
I am working on an MVC 5 site and an ILISIL-bound code-based section report using the ActiveReports 8 HTML 5 viewer. I have enabled PhD, Word and Excel Exports using the available export parameters for the GrapeptectivePortports. The Viewer Javascript function renders properly on the Viewer page, and makes the requisite calls to ActiveReports. ReportSerice.asmx, which provides the information necessary to present the report, from which the URL is included for streaming the data. The report displays in the viewer just fine. So far so good.
On my development machine, I can export in PDF, Word and Excel. When the test server is deployed, however, the Excel export stops working, and the browser only shows a file that attempts to save a file named ActiveReports.ar8? After digging with Blahblahblah Fiddler, I decided that this is almost the same as the URL returned to the URL for the report service, except for some parameters like "command = export" and "export format = xls".
Saving this "file" is in a 0-byte file called ActiveReports.xls. I remove this important DLL like GrapeCity.ActiveReports.Export.Pdf for other export types and then export PDFs For example, I can ask for. It appears that ActiveReports (at least as version 8.1.414.0) swallows some server-side errors, such as missing DLL, and returns a 404 error code to the customer. I think a 500 error would be better for the general 404 with details of what is missing.
I must believe that there is something wrong with the test server since I have all the active ActiveDeports DLL on the local "set", and I can see that they were all successfully deployed to the test server The missing piece should be present in the GAC of my local machine, but not on the server. What is missing on the server that is stopping Excel from completing the export? The missing piece of the puzzle is DocumentFormat.OpenXml.dll, which is a copy of "C: \ Program Files (X86) \ Common Files can be found in the \ ComponentOne \ ActiveReports 8 "folder ironically, it is described above all of the whole grapes whistle. Active Reports assembly, but it is used for other denominations without any indication, you can easily see it properly as I did, assuming that the dependency of something else in that folder was the license generator Adding context to the Web document in DocumentFormal.OpenXml.dll, and setting the copy locale to the correct ensures that DLL is deployed with everyone else. My Excel export works just fine.
Comments
Post a Comment