New answers tagged c#
It appears that you are trying to browse to the site from the machine on which it is hosted. When you access it via localhost, the machine translates the hostname to the loopback address, 127.0.0.1; when you access it via the fqdn, mywebiste.ddns.net, your machine translates the hostname to your WAN address (assuming you don't host a local DNS server). To ...
The following two links helped solve my issue. http://www.beansoftware.com/ASP.NET-Tutorials/Custom-Error-Pages.aspx http://stackoverflow.com/questions/126167/asp-net-how-to-show-a-error-page-when-uploading-big-file-maximum-request-leng
If the uploaded file is larger than allowed by IIS, it will never reach the ASP.NET runtime and your exception handling is useless. You should set uploadReadAheadSize to much higher than you want to allow, ideally only for the specific URL. And then check for the upload size in your code and display your own message. If the user uploads a huge file larger ...
Top 50 recent answers are included