Solved

C# - Client Clicks on "Enable Editing" in Excel and is asked to Log In

Posted on 2014-12-17
6
222 Views
Last Modified: 2015-01-25
I have a website which uses Crystal Reports to generate an excel spreadsheet.  The user clicks on a link that opens the report.  If the user saves the report there are no issues.  If the user opens the report the user sees their data.  If the user decides to click on "Enable Editing" the spreadsheet then will then display the login page of the website for them to login.

It seems that excel wants them to authenticate.

Any idea why and how to stop?

Thanks
0
Comment
Question by:CipherIS
  • 2
  • 2
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40505711
When they click to enable editing how are you allowing that?

SInce the spreadsheet is on the website, they have to verified before being allowed to potentially change something.

mlmcc
0
 
LVL 1

Author Comment

by:CipherIS
ID: 40507108
They use their browser to access our website.  They click on a link that downloads an excel file which was generated.  It gives them two options (1) Save or (2) Open.  If they click on save there are no issues.  When they click on open they see the data.  

It is using MS Office from their local machine.  When it is open the "Enable Editing" is displayed.  It is an inherent feature of MS Office.  When they click on Enable Editing that is when they are asked to log in.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40507159
If they save to their machine then click enable the permission to edit the file is handled locally and they have permission to write to the location of the file.  However if they open it from the website it probably depends on where the temporary file is stored that determines the permissions to change.

mlmcc
0
 
LVL 1

Author Comment

by:CipherIS
ID: 40507387
Is there anyway to prevent it from having to login?  From ensuring that it is local to their machine when they download?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40569020
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS Deployment problem 5 64
Response times in Excel 18 42
How do you check for multiple possibilities in Excel 7 26
SKip past fields with no data 6 11
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

839 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