In my web application, I am using Microsoft.Office.Interop.Excel to generate a pivot table in Excel. While Executing the application in my Visual studio IDE, the code is working fine and I am getting the Excel file. But when I hosted the same on IIS, my code is not working and I am receiving the following error
Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near 'Retrieving the COM c'.
Please guide me to overcome this.