Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Troubleshooting : ‘This type of page not served’

Karl Schwirz

Recently when deploying a site to IIS I got the following error.

image

I tried several troubleshooting options such as checking the IIS mapping configuration to see if the .aspx pages were an accepted page extension, folder permissions on the deployment folder,  and I knew for a fact that .net was correctly installed on my server.

After some more searching and trial and error we narrowed the problem down to the CustomError tag in the applications web.config file.  The mode attribute was set to “Off” and therefore when the application threw an error, in my case an unauthorized user signed in, it didn’t know what to do with the redirected webpage.

Once I set the Mode to “On” and followed the rest of the redirect settings my site came up and the issue was resolved.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>