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     [CLOSED] Excel Output Error - File Format or File Extension is not Valid

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Excel Output Error - File Format or File Extension is not Valid
 Login/Join
 
Member
posted
We are using Excel 2013 on our desktops. When we create a report using EXL07 as an output type we receive the "File Format or File Extension is not Valid" message.

When we use EXL2K we get a message "The File Format and Extension of WFServlet.xls don't match". If you click ok you get the same "File Format or File Extension is not valid" message as EXL07. The only difference being that the EXL2K version will open when you select OK. The EXL07 error does not allow you to open the file.

We are using WF 8009 on Windows Server 2008R2.

We would like to have the Excel reports open correctly on our users desktops without any error messages. I have read all of the available forum posts but the solutions either don't work (Add SET EXCELSRVURL = '') or won't be allowed by internal security (Change the Registry to cancel extension hardening).

Are there any solutions that I'm missing?

Thanks for the assistance.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8.009
Windows 2008R2 x64
HTML, PDF, AHTML, Excel
 
Posts: 8 | Registered: February 26, 2010Report This Post
Master
posted Hide Post
Are you able to reproduce this using CAR sample file. If so can you share the fex code. Also try running the report directly in server(from webconsole) and also try executing using WFServlet(using Client).
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
I get the same results when I use CAR.

TABLE FILE CAR
PRINT
CAR.COMP.CAR
CAR.CARREC.MODEL
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
END

and this won't open at all through Excel.

TABLE FILE CAR
PRINT
CAR.COMP.CAR
CAR.CARREC.MODEL
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
END

I've never seen the XLSX format before. Usually, Excel 7 uses EXL07

The output failure is consistent through the client, webconsole, or self service URL.


WebFocus 8.009
Windows 2008R2 x64
HTML, PDF, AHTML, Excel
 
Posts: 8 | Registered: February 26, 2010Report This Post
Virtuoso
posted Hide Post
If you save the file with ON TABLE HOLD FORMAT EXL07:
Is there anything around the binary content if you open it with a text or hex editor?

If not, can you open the file in Excel 2007 or what you have?

Can you unzip it? If you can, do the contents look valid?
You can compare the contents with the unzipped contents of a valid xlsx file if you're unsure.


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
Platinum Member
posted Hide Post
Is this resolved for you?

I am seeing the same error.


8.2.06
Windows, All Formats
 
Posts: 184 | Registered: December 27, 2013Report This Post
Platinum Member
posted Hide Post
I am experiencing this as well. Any solutions? We are using Excel 365.
Thanks.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Guru
posted Hide Post
Only thing that helps is changing registry to my knowing. Don't see the security threath, the message you get is a warning, the user clicks OK and it opens. With the registry change you just disable the message.

And it's a very common warning with a lot of tools that export to Excel.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Expert
posted Hide Post
Agreed.

Microsoft Support - Error opening file: "The file format differs from the format that the file name extension specifies

Other reading: WebFOCUS and Excel - several issues


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [CLOSED] Excel Output Error - File Format or File Extension is not Valid

Copyright © 1996-2020 Information Builders