0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
JPPINTO
  • Home
  • Blog
  • Certifications
  • About
  • Contact
  • Shop
  • Gallery
  • Current Setup
Contact

Search

March 21, 2009 / IIS 7.0

Server Error in Ôò¼├┤Ôö£├ºÔö£ÔöÉ/’ Application on IIS 7 (allowDefinition=’MachineToApplication’)

Featured image for Server Error in Ôò¼├┤Ôö£├ºÔö£ÔöÉ/' Application on IIS 7 (allowDefinition='MachineToApplication')

I received this error in IIS 7 when I went to the default application of an ASP billing application that I installed on my web server.

In this case the error is pretty self explanatory, in the error it says "This error can be caused by a virtual directory not being configured as an application in IIS." With that known this article will describe how to set a web directory as an application in IIS 7.

Error Message:

Server Error in ‘/’ Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 14:     </configSections>

Line 15:     <system.web>

Line 16:         <machineKey validationKey="4CF1DB62263A5748D6F6C03409E401068F3DE114B826D371D72B77D7CCC7A0CB20D7A3DE8F08F8A0FD67F27289127FF62F538EE82B900C1DCE7A44052BD92D4E" decryptionKey="8CD524CA8D6B430C259590D94A95A4CF6D1B1D10F75BFA256A4F43231FEC523C" validation="SHA1" decryption="AES" />

Line 17:         <customErrors mode="Off" />

Line 18:         <pages>

Source File: C:\inetpub\plan.0\dynoreg.com\billing\web.config    Line: 16

Open "IIS Manager", right click the directory and select "Convert to Application"

You can keep the default settings or adjust the settings of the web application here. Press "OK"

You will now see the web application with a small globe next the directory name instead of a folder this indicates it’s a web application

Now when we browse to the /billing directory we no longer get the error.

Post Views: 625
<- Configuring Windows Firewall for FileZilla Server on Windows Server 2008
Install and Configure FastCGI & PHP 5.2.9 on (IIS 7) Windows Server 2008 ->

Categories

  • Active Directory (5)
  • AI (5)
  • Amazon Cloud Services (1)
  • AWS (3)
  • Blazor (1)
  • C# (C-Sharp) (3)
  • CI/CD Pipelines (1)
  • Cloud (1)
  • Cloudflare (2)
  • Codex (2)
  • Containers (4)
  • Deployment (2)
  • Development (6)
  • DNS (1)
  • Docker (3)
  • Email (1)
  • Family (1)
  • General (5)
  • IIS 6.0 (4)
  • IIS 7.0 (10)
  • IIS 8.0 (1)
  • Infrastructure as Code (IaC) (1)
  • Kubernetes (3)
  • Linux (11)
  • Microsoft 365 (2)
  • MySQL (1)
  • Office 2010 (1)
  • PHP (1)
  • PowerShell (11)
  • Productivity (1)
  • Security (2)
  • Servers (9)
  • SharePoint 2007 (8)
  • SharePoint 2010 (19)
  • SharePoint 2013 (2)
  • SharePoint Online (1)
  • SMTP (4)
  • SQL Server 2008 (1)
  • SQL Server 2008 R2 (1)
  • SQL Server 2012 (2)
  • SQL Server 2019 (1)
  • SSL (1)
  • Travel (1)
  • Troubleshooting (1)
  • Ubuntu (9)
  • Uncategorized (1)
  • URL Rewrite (2)
  • Visual Studio 2019 (1)
  • Visual Studio Code (1)
  • Web Server (1)
  • Windows 10 (7)
  • Windows 2003 (9)
  • Windows 2008 (18)
  • Windows 2012 (6)
  • Windows 7 (3)
  • Windows Firewall (1)
  • Windows Server (1)
  • Windows Vista (1)
  • WordPress (5)
  • WP-CLI (3)

Recent Posts

  • Fix ‘Codex Could Not Start’ in VS Code Remote SSH on Linux
  • Move WordPress Uploads to Amazon S3 with the Uploads to S3 Plugin
  • WordPress Must-Use Plugins: MU Plugins vs. Regular Plugins
  • Install Codex Desktop on Windows Server and Control It from Your Phone
  • Create an Internal Certificate Authority for Private Websites

Advertisement

Tags

agents.md ai coding agents aws bash cloudflare cloud storage codex context engineering developer workflow dev to production dns externalize blob externalize sharepoint data full installation https IIS IIS installation index server configuration installing cumulative updates linux load balance central administration microsoft 365 nginx powerpoint powershell redirect http to https s3 server setup sharepoint 2010 cumulative updates sharepoint 2010 farm build sharepoint 2010 farm configuration sharepoint 2010 farm installation sharepoint data externalization ssl storagepoint tls ubuntu ubuntu server web server windows windows server 2008 wordpress WordPress plugins wp-cli x86
© 2026 JPPinto.com. All rights reserved.