Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]cannot open the file because the file format or file extension is not valid

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]cannot open the file because the file format or file extension is not valid
 Login/Join
 
Member
posted
I created a report for the Accounting department that exports the results to Excel (EXL2K FORMULA). When I tested the reports on a box running XP and Excel '07, I was warned that the file wasn't in the format specified by the file extension (.xls), but prompted me as to whether the source was trusted or not, to which I select "Yes", and the file is opened.
The accountants, running Windows 7 but the same version of Excel '07 recieve the same error but are not given the opportunity to verify the authenticity of the file. Even when saved to the disk and opened in notepad, the file is empty.

I figured I could fix the problem by exporting the results to EXL07, which opened in the XP version's Excel '07 without a single error. However, when the Windows 7 box was used, the same error as before was thrown, and the file was unable to be opened.

I had them download a compatibility package but that didn't help.

Has anyone experienced this problem and knows how to rectify it? The only difference between the two boxes seems to be the OS.

Thanks, Joe

This message has been edited. Last edited by: jjeanjaquet,


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
 
Posts: 18 | Registered: June 22, 2010Report This Post
<JG>
posted
Well reported on the this forum and on Microsoft forums.

There is a registry fix.

It's Microsoft that's caused the problem.

Do a search.
 
Report This Post
Member
posted Hide Post
I found a registry fix online but didn't really want to deal with that. As it turns out, we had licensing to upgrade them to Office 2010 so we took care of that yesterday.

The combination of Windows 7 and Excel '07 have been a problem for those downloading files from the internet according to Microsoft Forums.

The Windows 7 people still have issues downloading files in .xlsx, but the .xls files work fine now.


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
 
Posts: 18 | Registered: June 22, 2010Report This Post
Gold member
posted Hide Post
So what keywords do I use to search for this problem on Focalpoint?

I tried "Windows 7 Excel" and "Windows 7 registry" and I only get relavant hits to this thread.

I read the Focalpoint digest weekly and I didn't notice a thread discussing problems with Windows 7 and EXL2K Focus output format requiring a registry hack.

Can someone throw a bone to a clueless person on this problem. We seem to have it at our institution.

I wish Microsoft would stop changing their products to break the competition. The only ones who suffer are their customers.

-- Dan at UNO --


WebFOCUS 8.8.05M (Prod)/8.0.09(Sandbox) Windows
 
Posts: 56 | Location: Omaha, Ne USA | Registered: October 15, 2007Report This Post
Member
posted Hide Post
I'm not sure where in Focalpoint this is found. I looked for quite a while without success before posting on the Forum. I ended up finding a registry fix (which I didn't use) by doing a google search and found this.

http://www.itexperience.net/20...-the-file-extension/

You'll have to let me know if this works.


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
 
Posts: 18 | Registered: June 22, 2010Report This Post
Virtuoso
posted Hide Post
According to the same page it should help to change the mime-type for excel <= 2003 files to application/msexcel

I tried modifying WebFOCUS' mime.wfs and tomcat's web.xml file to use that mime-type, but it doesn't appear to have any effect - the report is still sent as application/vnd.ms-excel;charset=ISO-8859-1 (according to Firebug).

I did restart the WebFOCUS server and tomcat - what did I miss?


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
It turns out that the WebFOCUS client mime.wfs is the one to modify for this (I originally modified the server one), but alas, it doesn't seem to have any effect on the problem. Perhaps application/msexcel isn't the right mime-type either?

This message has been edited. Last edited by: Wep5622,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]cannot open the file because the file format or file extension is not valid

Copyright © 1996-2020 Information Builders