The basic setup is that I have a web application that calls SQL Reporting Services to run reports. The reports have the option of returning in PDF or Excel format. The code in the background runs the report, gets the results and writes it out using httpResponse.BinaryWrite(). Most of the reports work fine. IE recognizes the excel file, fires up excel and opens the worksheet. HOWEVER, some reports don't cause excel to start. Some end up in some kind of excel widget that is running within IE. This is unsatisfactory.
The code to run the reports and display them is totally generic and used by all of the reports. So I'm thinking it has something to do with the report....but I don't know what that might be. At this point I'm really grasping in the dark.
It only happens when using Excel 2003. Excel 2007 works fine. I'm currently unable to get a development machine that is running Excel 2003 so it has been a bear to try and debug.
Any ideas?