Solved

response.setContentType("application/vnd.ms-excel"); give warning in 2007

Posted on 2010-08-14
7
1,675 Views
Last Modified: 2013-11-23
Hi ,

I am developing some content and that will 1st diapsly in HTML after that it will convert to XLS
so i am using response.setContentType("application/vnd.ms-excel");

its working fine upto 2003 ms excel but 2007 its give waraning msg and open

can you tell me why it happen and how to slove this ??

(
0
Comment
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
I'm wondering why you're setting that content type if it's first html?
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
Comment Utility
sorry typo error
Its JSp
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
OK. What warning message are you getting?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 20

Author Comment

by:Sathish David Kumar N
Comment Utility
The file format is not supported do u want to continoue ?
yes no .
if i press yess then it will open normaly
0
 
LVL 23

Assisted Solution

by:Ajay-Singh
Ajay-Singh earned 50 total points
Comment Utility
0
 
LVL 92

Assisted Solution

by:objects
objects earned 50 total points
Comment Utility
thats an application issue, changing the content type is not going to make any difference

0
 
LVL 26

Accepted Solution

by:
mrcoffee365 earned 400 total points
Comment Utility
The most effective workaround is to create a .xls file and point the user to that file.

The warning was added to Excel in 2007:
http://support.microsoft.com/kb/948615

Long discussion from a Web developer's standpoint here:
http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/03/11/excel-2007-extension-warning.aspx

0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now