Server Error in '/' Application.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/19/2013 1:41:34 AM
Gravatar
Total Posts 2

Server Error in '/' Application.

i tried to install mojoportal on my server in the subfolder "portal" (not in the main root). when i tried to open the installation page, i got the following error. what does it mean?

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 693: visit Administration > Security Advisor and you will see the tool to generate a machine key.
Line 694: -->
Line 695: <machineKey validationKey="55BA53B475CCAE0992D6BF9FE463A5E97F00C6C16DA3D7DF9202E560078AB501643C15514785FEE30FEF26FC27F5CE594B42FFCA55452EF90E8A056B4DAE9F39" decryptionKey="939232D527AC4CD3E449441FE887DA110A16C1A36924C424CBAAE3F00282436C" validation="SHA1" decryption="AES" />
Line 696: <xhtmlConformance mode="Strict" />
Line 697: <!-- Example culture settings

Source File: D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config Line: 695


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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 735)

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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 747)

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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 753)

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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 907)

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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 923)

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. (D:\InetPub\vhosts\crify.com\httpdocs\mojoportaljc\web.config line 1112)


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

 

 

 

6/19/2013 5:43:22 AM
Gravatar
Total Posts 18439

Re: Server Error in '/' Application.

1. As the error states "This error can be caused by a virtual directory not being configured as an application in IIS." The sub folder where you installed mojoPortal needs to be configured as an application in IIS

​2. If there is something else installed in the root site that also has a web.config file it may cause conflicts. Ideally, remove any other web.config files that may exist in fodlers above the folder where mojoportal is installed. If you cannot do that then you will have to try to mitigate the problems. There is information and links about how to do this in our developer FAQ.

3. If you have your own server there is no reason that you must install it as a sub folder. When people say that it usually means they don't know how to setup a another root IIS web site without breaking the default web site so they install everything under the default web site instead. 

You must sign in to post in the forums. This thread is closed to new posts.