I am trying to implement UseStatusCodePagesWithReExecute. I have it set up and it works...but perhaps too well. I am using Windows auth and IIS with anonymous access disabled. The problem is that when the site comes up it automatically goes to the error page due to a 401 unauthorized (which does make sense). I should be getting the built in login prompt. When I comment out the middleware in my startup class I get the login prompt and all is good. Is UseStatusCodePagesWithReExecute not a good choice for this? Am I missing something to make it work with Windows auth?
.NET CORE 2 MVC UseStatusCodePagesWithReExecute Windows Auth 401 issue
196 Views Asked by AnotherDev At
1
There are 1 best solutions below
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in ASP.NET-CORE-MVC-2.1
- Error 403 when trying to update entity in azure table storage using HttpClient
- how to write a post controller action method to call an external api in .Net Core Web API
- Selected string value of select not posting in asp.net MVC core 3.0
- How to Create a text File in Asp.net Core Application
- Send Json data and file from web aplication to web api net core in same request
- Is there a better way to store data about 2 table relationship?
- Customizing Bootstrap SCSS
- Returning Binary Data from ASP .Net Core MVC using Serverless and AWS API Gateway
- Is it possible to get environment variable from webapp coming from webjob
- Is it possible to create and save related data in an entity constructor?
- What is the best client side technology which can support and able to render '.cshtml Razor Pages' at client side as?
- PartialView not returning bound model properties
- How to process tag helper in asp.net core?
- .NET CORE 2 MVC UseStatusCodePagesWithReExecute Windows Auth 401 issue
- ASP.Net Core 2.1 MVC Localization culture fallback
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Derp...I figured it out. Immediately after posting the question I went and looked at the web project settings and found that the IIS Express settings had Allow Anonymous Authentication checked. I unchecked the box and presto! It started working as expected. Hope this helps someone.