Comments (6)
Hi, Natiox,
Sorry to hear you're having trouble. I know how much of a pain IIS configuration can be!
- Are you publishing this example, or your own code based on this example?
- What are the details of your IIS 8.5 server? Shared? Dedicated? Azure?
from asp.net-httperrors-example.
Publishing this unaltered example using a deployment package. Dedicated IIS server on Windows Server 2012...accessing both from internal network and locally on the server. I notice that going to /Error works in debug mode from Visual Studio but that gets a 404 on the server. Wonder if it could be a routing issue?
from asp.net-httperrors-example.
I'll see if I can replicate.
from asp.net-httperrors-example.
Hi, Natiox,
I've tested deploying to a clean install of IIS 8.5 via FTP, Package, and WebDeploy and have been unable to replicate the behaviour you describe. The site behaves exactly as in the Azure Web Sites live example; in particular the three error pages give me the correct errors and status codes.
from asp.net-httperrors-example.
Thank you for all your efforts to replicate this. If you ever need any info I can provide, or for me to try anything, just let me know. I'll close the issue, since it could be a network or configuration issue of some kind.
from asp.net-httperrors-example.
Hey natiox, I had this exact issue...GitHub solution works as-is in Visual Studio 2017 and IIS Express 10.x, but when deployed to IIS 7.5 in a site subfolder which I had converted to an app, I had to change path="/Error/Forbidden" to path="/MyAppFolder/Error/Forbidden"...otherwise I got empty/blank screen content with 403 forbidden or 404 not found errors, depending on environment (makes sense, in retrospect).
Hope this helps you,
Kevin
from asp.net-httperrors-example.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asp.net-httperrors-example.