gafooronline 0 Newbie Poster

Hi
I have created a web page that reads excel file it's working fine in Excel 2003 files, when I am trying to open Excel 2007 it hangs(If I run the page from VS 2005 then it first display 'file conversion Box' and then reading the excel file.if I am accessing through IIS its hanging)
I am attaching my code below

Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open(filename, 0, true, 5,"", "", true, Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, true, true);


I am using MS Excel 11.0 Object library

thank