Solved

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

Posted on 2014-12-17
6
207 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

809 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