Solved

Server Error in '/' Application.

Posted on 2010-09-10
3
1,163 Views
Last Modified: 2012-08-13
each time i try to load up:
http://localhost/umbraco/

I get the error message below in the web browser.

I have windows 7 64bit, and visual studio 2010 and SQLserver 2008 express installed.



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 58:     <customErrors mode="RemoteOnly" />
Line 59:     <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
Line 60:     <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
Line 61:     <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
Line 62:     <xhtmlConformance mode="Strict" />


Source File: C:\inetpub\wwwroot\umbraco\web.config    Line: 60


Show Additional Configuration Errors:

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. (C:\inetpub\wwwroot\umbraco\web.config line 105)

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. (C:\inetpub\wwwroot\umbraco\web.config line 114)

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. (C:\inetpub\wwwroot\umbraco\web.config line 123)

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. (C:\inetpub\wwwroot\umbraco\web.config line 131)

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. (C:\inetpub\wwwroot\umbraco\web.config line 153)

Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927
0
Comment
Question by:jeremyll
3 Comments
 
LVL 1

Accepted Solution

by:
Arthalius earned 250 total points
ID: 33651428
Is the /umbraco/ folder configured as an application in IIS? I've done this a few times in IIS7 when I've accidentally linked an app as a Virtual Directory instead of as an application. Just right-click on the VD in IIS7 and select "Convert to Application" from the context menu.
0
 
LVL 18

Assisted Solution

by:mgfranz
mgfranz earned 250 total points
ID: 33654901
The answer is in the comments;

"This error can be caused by a virtual directory not being configured as an application in IIS..."

You didn't say what version of IIS you are using, but this is an easy fix in just about all versions.  In IIS5 all you do is Create an application out of the directory, just right click on the directory and select Properties, when the dialog box comes up, just click Create Application.  Then try the page again.
0
 

Author Closing Comment

by:jeremyll
ID: 33785005
Good answer
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Local Webcam passing through windows 2008R2 or 2012R2 Remote Desktop 4 28
Registering DLL 5 43
Using Classic ASP inside HTML pages 2 56
Questions about INCLUDE FILES 2 20
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now