DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Opening Excel 2007 File using Asp.net Hangs (http://www.daniweb.com/forums/thread150178.html)

gafooronline Oct 9th, 2008 9:44 am
Opening Excel 2007 File using Asp.net Hangs
 
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


All times are GMT -4. The time now is 2:08 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC