Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > export to excel

Reply
Thread Tools

export to excel

 
 
Andre
Guest
Posts: n/a
 
      10-11-2004
I'm not sure if this is the best place for this post or not, but I can't
find many asp newsgroups anymore.

I have an app that's 3-4 years old, and has been working just fine. One of
the pages exports the html to Excel. My users just upgraded from
Office97/2000 to Office XP/2003, and now the export to Excel isn't working
for them.

This is the code that I use, and from what I find around the Internet, it's
all I need. Does anyone have any suggestions for what might be causing this
to not work in Office XP/2003? It still works just fine on Office 2000.
Could it be a security setting in the newer version of Office?

Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
EnableViewState = false

Thanks, Andre


 
Reply With Quote
 
 
 
 
Manohar Kamath
Guest
Posts: n/a
 
      10-11-2004
What is "not working for them" mean? Do they get a file prompt at least? I
have several reports in the similar way, but I haven't seen any difference
upgrading to Office 2003.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


"Andre" <> wrote in message
news:ez%...
> I'm not sure if this is the best place for this post or not, but I can't
> find many asp newsgroups anymore.
>
> I have an app that's 3-4 years old, and has been working just fine. One

of
> the pages exports the html to Excel. My users just upgraded from
> Office97/2000 to Office XP/2003, and now the export to Excel isn't working
> for them.
>
> This is the code that I use, and from what I find around the Internet,

it's
> all I need. Does anyone have any suggestions for what might be causing

this
> to not work in Office XP/2003? It still works just fine on Office 2000.
> Could it be a security setting in the newer version of Office?
>
> Response.Buffer = True
> Response.ContentType = "application/vnd.ms-excel"
> Response.Charset = ""
> EnableViewState = false
>
> Thanks, Andre
>
>



 
Reply With Quote
 
 
 
 
Andre
Guest
Posts: n/a
 
      10-11-2004
They get 1 of 2 different dialog boxes.

- One says "Microsoft Office Excel cannot access the file 'my url here...'.
There are several possible reasons:
- The file name or path does not exist.
- The file is being used by another program.
- The workbook you are trying to save has the same name as a currently
open workbook.

- The other says "IE cannot download excel_report.asp from 'my url...'. IE
was not able to open the Internet site. The requested site is either
unavailable or cannot be found. Please try again later.

Does this tell you anything?

Andre


"Manohar Kamath" <> wrote in message
news:%...
> What is "not working for them" mean? Do they get a file prompt at least? I
> have several reports in the similar way, but I haven't seen any difference
> upgrading to Office 2003.
>
> --
> Manohar Kamath
> Editor, .netWire
> www.dotnetwire.com
>
>
> "Andre" <> wrote in message
> news:ez%...
> > I'm not sure if this is the best place for this post or not, but I can't
> > find many asp newsgroups anymore.
> >
> > I have an app that's 3-4 years old, and has been working just fine. One

> of
> > the pages exports the html to Excel. My users just upgraded from
> > Office97/2000 to Office XP/2003, and now the export to Excel isn't

working
> > for them.
> >
> > This is the code that I use, and from what I find around the Internet,

> it's
> > all I need. Does anyone have any suggestions for what might be causing

> this
> > to not work in Office XP/2003? It still works just fine on Office 2000.
> > Could it be a security setting in the newer version of Office?
> >
> > Response.Buffer = True
> > Response.ContentType = "application/vnd.ms-excel"
> > Response.Charset = ""
> > EnableViewState = false
> >
> > Thanks, Andre
> >
> >

>
>



 
Reply With Quote
 
Mark Schupp
Guest
Posts: n/a
 
      10-11-2004
see if this helps:
http://groups.google.com/groups?hl=e...TNGP11.phx.gbl

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"Andre" <> wrote in message
news:%23t%23b$...
> They get 1 of 2 different dialog boxes.
>
> - One says "Microsoft Office Excel cannot access the file 'my url

here...'.
> There are several possible reasons:
> - The file name or path does not exist.
> - The file is being used by another program.
> - The workbook you are trying to save has the same name as a currently
> open workbook.
>
> - The other says "IE cannot download excel_report.asp from 'my url...'.

IE
> was not able to open the Internet site. The requested site is either
> unavailable or cannot be found. Please try again later.
>
> Does this tell you anything?
>
> Andre
>
>
> "Manohar Kamath" <> wrote in message
> news:%...
> > What is "not working for them" mean? Do they get a file prompt at least?

I
> > have several reports in the similar way, but I haven't seen any

difference
> > upgrading to Office 2003.
> >
> > --
> > Manohar Kamath
> > Editor, .netWire
> > www.dotnetwire.com
> >
> >
> > "Andre" <> wrote in message
> > news:ez%...
> > > I'm not sure if this is the best place for this post or not, but I

can't
> > > find many asp newsgroups anymore.
> > >
> > > I have an app that's 3-4 years old, and has been working just fine.

One
> > of
> > > the pages exports the html to Excel. My users just upgraded from
> > > Office97/2000 to Office XP/2003, and now the export to Excel isn't

> working
> > > for them.
> > >
> > > This is the code that I use, and from what I find around the Internet,

> > it's
> > > all I need. Does anyone have any suggestions for what might be

causing
> > this
> > > to not work in Office XP/2003? It still works just fine on Office

2000.
> > > Could it be a security setting in the newer version of Office?
> > >
> > > Response.Buffer = True
> > > Response.ContentType = "application/vnd.ms-excel"
> > > Response.Charset = ""
> > > EnableViewState = false
> > >
> > > Thanks, Andre
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Andre
Guest
Posts: n/a
 
      10-14-2004
Unfortunately, it didn't. I removed the "cache" instances from the code and
the export still works great for me on Office 2k. My user on XP still isn't
able to get it to work. She's also telling me that if she exports just a
few thousand records, it will work. But the one we're working on now is 12k
records. Like I said, it works great still on a desktop with Office 2k.

Any other suggestions are much appreciated.

Thanks, Andre


"Mark Schupp" <> wrote in message
news:...
> see if this helps:
>

http://groups.google.com/groups?hl=e...TNGP11.phx.gbl
>
> --
> Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com
>
>
> "Andre" <> wrote in message
> news:%23t%23b$...
> > They get 1 of 2 different dialog boxes.
> >
> > - One says "Microsoft Office Excel cannot access the file 'my url

> here...'.
> > There are several possible reasons:
> > - The file name or path does not exist.
> > - The file is being used by another program.
> > - The workbook you are trying to save has the same name as a

currently
> > open workbook.
> >
> > - The other says "IE cannot download excel_report.asp from 'my url...'.

> IE
> > was not able to open the Internet site. The requested site is either
> > unavailable or cannot be found. Please try again later.
> >
> > Does this tell you anything?
> >
> > Andre
> >
> >
> > "Manohar Kamath" <> wrote in message
> > news:%...
> > > What is "not working for them" mean? Do they get a file prompt at

least?
> I
> > > have several reports in the similar way, but I haven't seen any

> difference
> > > upgrading to Office 2003.
> > >
> > > --
> > > Manohar Kamath
> > > Editor, .netWire
> > > www.dotnetwire.com
> > >
> > >
> > > "Andre" <> wrote in message
> > > news:ez%...
> > > > I'm not sure if this is the best place for this post or not, but I

> can't
> > > > find many asp newsgroups anymore.
> > > >
> > > > I have an app that's 3-4 years old, and has been working just fine.

> One
> > > of
> > > > the pages exports the html to Excel. My users just upgraded from
> > > > Office97/2000 to Office XP/2003, and now the export to Excel isn't

> > working
> > > > for them.
> > > >
> > > > This is the code that I use, and from what I find around the

Internet,
> > > it's
> > > > all I need. Does anyone have any suggestions for what might be

> causing
> > > this
> > > > to not work in Office XP/2003? It still works just fine on Office

> 2000.
> > > > Could it be a security setting in the newer version of Office?
> > > >
> > > > Response.Buffer = True
> > > > Response.ContentType = "application/vnd.ms-excel"
> > > > Response.Charset = ""
> > > > EnableViewState = false
> > > >
> > > > Thanks, Andre
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export to Excel (Default File Type - Excel) =?Utf-8?B?SGVtYW50IFNpcGFoaW1hbGFuaQ==?= ASP .Net 15 05-21-2009 12:01 PM
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
Export to excel in asp.net using excel template Grey ASP .Net 4 10-17-2007 08:08 AM
using Microsoft Excel image for Export to Excel button =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 0 12-09-2005 08:58 PM
Invalid export DLL or export format =?Utf-8?B?RGF2aWQgVmFsbGU=?= ASP .Net 0 10-29-2003 11:46 AM



Advertisments