Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6914733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:23:10+00:00 2026-05-27T09:23:10+00:00

I have an ASP.NET MVC3 website with custom authentication (i.e. <authentication mode=None / >).

  • 0

I have an ASP.NET MVC3 website with custom authentication (i.e. <authentication mode="None" />). It’s hosted on IIS with only Anonymous Auth enabled to support some SSO work we’re doing. That’s just to say that requesting a plain old file from /Content typically “just works”, e.g. https://oursite.com/Content/ourlogo.jpg opens in the browser window as expected without providing credentials.

Having a problem with CSV files in IE7 and 8, however. I’ve placed the [im]pertinent CSV in /Content/Documents/hello.csv and linked to it normally. When the user clicks the link and chooses “Open”, as opposed to “Save”, it should open smoothly with Excel. However, it appears that Excel is making additional requests for authentication, and the user gets prompted for username/password. Of course, they don’t have those credentials to give, and IIS doesn’t want them anyway. If the user cancels out the prompt, they’ll get it one more time, and after a second cancel, the CSV opens in Excel as desired.

Really want to get rid of those prompts.

The problem in production behaves the same on my dev machine running ASP.NET Dev Server, so it’s probably not a problem with HTTPS or something we configured on IIS. Did a test on an empty MVC site, putting the file in the same relative location. This works correctly. Kind of leaves me thinking there’s a problem in our code, but I’m at a loss to what it might be.

Would love any thoughts, as I’m about out of ideas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:23:10+00:00Added an answer on May 27, 2026 at 9:23 am

    The solution in our case was to deny the HTTP verbs OPTIONS, HEAD and PROPFIND for the directory hosting the CSV in IIS. Apparently Excel is making these calls as part of WebDAV.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on an ASP.NET MVC3 website. I have a simple authentication
I have setup an ASP.NET MVC3 website using Windows Authentication and am getting a
I have an asp.net-mvc3 website using nhibernate and SQL server. I have 2 web
I have a website developed using ASP.NET MVC3. I now want to expose a
I'm building an ASP.NET MVC3 website. I have some javascript in my .cshtml file:
I hope that title is clear enough. I have 2 projects, MyProject.Website (ASP.NET MVC3
I am creating website (football, soccer) in ASP.NET MVC3 and I want have users
I have an asp.net mvc3 website. It replaced an older php website. Many people
I have an asp.net mvc3 website, I need to update the database periodically, for
I have an ASP.NET MVC3 website setup using fluent validation and ninject. The validation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.