Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > reading a file from OfficeLive

Thread Tools

reading a file from OfficeLive

David Thielen
Posts: n/a

There does not appear to be an active forum anywhere for OfficeLive
tech questions so I'm hoping someone here may know the answer to this.

We have an Office AddIn and in it use the filename returned by the
office app to read the file when generating a report. Word, Excel, &
PowerPoint all have variations on this problem. Here is what occures
with Excel:

1. In OfficeLive the file is -
simple test.xlsx
1. Requesting the file (1) above in a browser works!
2. Reading the file (1) above using C# in our app returns
an XLSX file that appears to be some javascript.

2. Application.ActiveWorkbook.FullName returns - simple
1. Requesting the file (2) above returns an error 505 if
pasted in a browser.
2. Reading the file (2) above in my C# code it returns
an error 501 (not implemented).

Note: we want to be able to read not just the Office files (which are
our report templates) but also XML files as data files.

I think when it is requested via OfficeLive it adds cookies named ANON
and NAP.

Any idea what is going on and what I can do?

thanks - dave

david@(E-Mail Removed)
Windward Reports --
me --

Cubicle Wars -
Reply With Quote

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
Reading of file by next of map file and by next of file descriptor. =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki C++ 1 07-10-2007 02:46 AM
Reading a file and resuming reading. Karim Ali Python 2 05-25-2007 02:04 PM
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) ASP .Net 0 09-15-2006 02:08 PM
An Automated process of watching a network file folder, reading a file in it and deleting the file using ASP.NET ? Luis Esteban Valencia Muņoz ASP .Net 3 06-04-2005 10:56 AM
reading the DB vs. reading a text file...performance preference? Darrel ASP .Net 3 11-11-2004 02:27 PM