Solved

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

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

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculating percentage 2 32
Delete row if does not start with 0 43 38
c#, datatable, aspx 4 25
Excel format formula with percentage 3 8
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

730 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