Software⏱️ 3 min read📅 2026-06-19

How to Fix: Windows Server 2012 Joomla installation under IIS 500.50 error when clicking on PDF link

Windows Server 2012 Joomla installation under IIS error when clicking on PDF link

Quick Answer: Check the event logs for any errors related to the PDF file, and ensure that the MIME type is correctly mapped in IIS.

A stock standard installation of Windows Server 2012 with Joomla 3.x, configured to use URL rewriting, is experiencing issues when clicking on PDF links. The error 500.50 occurs when attempting to serve a PDF file through IIS.

This issue can be frustrating for users and administrators alike, as it prevents the full functionality of the website from being utilized. In this guide, we will walk through the steps to troubleshoot and resolve the issue.

⚠️ Common Causes

  • The primary cause of the error is related to the way IIS handles PDF files. By default, IIS uses the StaticFile handler for serving files like PDFs, which can lead to issues if not configured correctly.
  • Another potential cause could be related to the NTFS permissions on the web.config file or the physical location of the PDF file.

✅ Best Solutions to Fix It

Verifying and Adjusting NTFS Permissions

  1. Step 1: Step 1: Verify that the NTFS permissions for the web.config file allow access. Ensure that the IUSR_MACHINENAME account has read and execute permissions on the web.config file.
  2. Step 2: Step 2: Check the NTFS permissions for the physical location of the PDF file to ensure they are set correctly. The IUSR_MACHINENAME account should have read and execute permissions on this folder as well.
  3. Step 3: Step 3: If necessary, adjust the NTFS permissions on the web.config file or the PDF file's location to resolve any permission issues.

Checking IIS Event Logs for Additional Information

  1. Step 1: Step 1: Open the IIS Event Viewer and navigate to the Application Pool logs. Look for any errors related to the PDF file or the StaticFile handler.
  2. Step 2: Step 2: Check for any event log entries that indicate a permission issue or a problem with the PDF file's MIME type.

✨ Wrapping Up

By following these steps, you should be able to identify and resolve the issue causing the error 500.50 when clicking on PDF links in Joomla on Windows Server 2012. Remember to verify and adjust NTFS permissions as the primary step, and then check IIS event logs for additional information.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions