CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
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.
- Article ID:
6262 - Date Created
Saturday, January 14, 2023 - This Article Has been Viewed
482 times - Short Desc
An error occurred during the processing of a configuration file required to service this request. This error can be caused by a virtual directory not being configured as an application in IIS. - Details
Using an Upload script that has many components involved, you will need to make it an Application. If you try to access the file through your web browser, you will receive the following error.
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:
An application error occurred on the server. The current custom error settings
for this application prevent the details of the application error from being viewed remotely (for security reasons).
It could, however, be viewed by browsers running on the local server machine.
Source File: G:\Inetpub\wwwroot\demo.domain.com\upload\web.config Line: 17
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3701.0 - Recreate Issue
When uploading files to your server, you may have to change the folder to an Application. - Resolve Issue
Open IIS
(If you are running an IIS Server Farm, you will want to do this on the machine which shares its Config file, so you only have to perform this action once.)
Next, choose the [ServerName (domain.com\domainUser)]
Then, choose [Sites]
Then, select the site.
Expand the site, and choose the folder you want to change to an application.
Right-click and choose [Convert to Application]
When the [Add Application] dialog opens, make sure everything is correct.
Then click, [OK]
For IIS Server Farms, to see that your changes worked across all IIS Servers which share the same Config files.
Select the [demo.domain.com]
On the far Right-side, click [View Applications]
This will show you the applications associated with this domain and the Application we just created.






Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24959
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21730
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19809
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 18295
- The backup set holds a backup of a database other than the existing 17094