Crystal report viewer export failed11/13/2022 net framework 2.0 has installed and those JS folder doesn't exist. If the server does not have these directories or they are incomplete then copy these files from your local development server to recreate a replica of the directories and the files therein. You will find the ‘aspnet_client’ directory under the parent website that your virtual directory is in. ‘aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer3\JS’ The error you are receiving is because the javascript files are not present on the server. Open the IIS by typing the 'inetmgr' in run command. See below pictures to understand it well. Solution: We need to configure the report viewer auto generated axd in the IIS. The Crystal Reports toolbar export and print functions for ASP.NET are driven by javascript functions. Other javascript errors which caused the report viewer failed to load correct. Response.ContentType = "application/vnd.ms-excel" ExportFormatType = ExportFormatType.Excel ' The following code writes the pdf file to the Client’s browser.įname = Fname
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |