Answered by:
Issue with excel file

-
text/html 5/3/2012 6:20:59 PM Jyo1105 0
Hi all,
I developed 2008 SSIS package to export data into multiple excel files(.xlsx) by following the below links
http://www.rafael-salas.com/2006/12/import-header-line-tables-into-dynamic_22.html
http://www.rafael-salas.com/2006/12/import-header-line-tables-_116683388696570741.html
Everything works fine. but I am not able to open Excel files that i've generated. I got an error like
Excel cannot open the file asd.xlsx because the file format or file extension is not valid. verify that the file has not been corrupted and that the file extension matches the format of the file
Here is the path in Excel connection manager:
\\abc\xyz\Files\test\a.xlsx
Can anyone please suggest how to solve this issue
Thanks,
Jyo
Question
Answers
-
text/html 5/7/2012 5:12:53 PM Nik - Shahriar Nikkhah 0
All replies
-
text/html 5/3/2012 6:27:50 PM ArthurZ 0
Hello Jyo,
this sounds to me that you simply do not have the proper version of the MS Office or at least the Excel file. To pen it download the Excel 2010 viewer.
Arthur My Blog
-
text/html 5/3/2012 6:35:31 PM SSISJoost 0did you choose the right excel version in the connection manager?
Please mark the post as answered if it answers your question | My SSIS Blog: http://microsoft-ssis.blogspot.com | Twitter
-
text/html 5/3/2012 7:05:50 PM Jyo1105 0
If i generate .xls files instead of >xlsx files i can open them. Still i can't open .xlsx files after dowloading excel 2010 viewer.
In connection manager , while i was trying to generate .xls files i did choose Excel 97-2003 and for .xlsx files i did choose excel 2007.
-
text/html 5/7/2012 2:41:50 PM ArthurZ 0
If i generate .xls files instead of >xlsx files i can open them. Still i can't open .xlsx files after dowloading excel 2010 viewer.
In connection manager , while i was trying to generate .xls files i did choose Excel 97-2003 and for .xlsx files i did choose excel 2007.
Arthur My Blog
-
text/html 5/7/2012 5:12:53 PM Nik - Shahriar Nikkhah 0
-
text/html 7/7/2013 10:31:36 AM jimforsing26 0
Decide your by the use of to fix xls
This article http://www.xlsfix.com will open to you a lot of tips&tricks about excel files