Quick Tips

Minnesota Web Developer

A little something about everything...

New IIS 7.5 Setup Errors, HTTP Error 401.3 - Unauthorized or 500.19

Related Errors:

HTTP Error 401.3 Unauthorized

You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

Simple to fix,

  • Open IIS
  • Select the main web tree or spacific website if its only one
  • select authentication, then click edit on the right
  • change it from spacific user to app pool identity

Done!

Error:

HTTP Error 505.19 Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Simple to fix,

Done!

.pdf files hosted on IIS 7.5 lock up when downloading in firefox

This issue now has a hotfix however, if you don't want to take a performance hit that this hotfix causes then you can simply do the following to solve the problem with pdf files and IIS 7.5

  1. Open "IIS Manager" on your server
  2. Select your service instace
  3. Select "MIME Types" under IIS
  4. Select ".pdf" then click "edit"
  5. Chenge the MIME type from "application/pdf" to "application/octet-stream"

This will cause the web server to treat the file as a download instead of a pdf application. From IE8 pdf files will open as normal, in firefox it will first download the file in full then open it.

Cannot access IP on windows 2008 R2 server from external network

This problem can occur two way, one is cause by the server not updateing your gateway routers arp tables. You can solve this problem by logging into your router and clearing the arp tables. for instace, on a cisco router your would do the following:

using serial or hyperterminal if available

  • connect to your router
  • password: (enter password)
  • router> enable
  • password: (enter password)
  • router# clear arp
  • router# write mem
  • router# exit

done.

The other problem is caused when using Network Load Balancing (NLB) on windows 2008 / 2008 R2 Server

For more information on this issue use these links:

http://support.microsoft.com/kb/960916

http://blogs.technet.com/b/networking/archive/2009/01/15/unable-to-connect-to-windows-server-2008-nlb-virtual-ip-address-from-hosts-in-different-subnets-when-nlb-is-in-multicast-mode.aspx