Win 7 - Server Error in '/' Application problem

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/27/2010 4:16:30 PM
Jay
Gravatar
Total Posts 1

Win 7 - Server Error in '/' Application problem

•What operating system? Windows 7 Professional 64
•What database platform? MS SQLExpress
•What version of mojoPortal? 2.3.3.9

I installed using MS Platform Installer. I want to run it first under the IIS on my dev box to get used to it.
Went thru the install ok. I've read the install docs, copied 'mediumtrust web config' over web.conf, made sure 'data' dir is writable, but can't get past the error below.

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 732:
Line 733: -->
Line 734: <machineKey validationKey="55BA53B475CCAE0992D6BF9FE463A5E97F00C6C16DA3D7DF9202E560078AB501643C15514785FEE30FEF26FC27F5CE594B42FFCA55452EF90E8A056B4DAE9F39" decryptionKey="939232D527AC4CD3E449441FE887DA110A16C1A36924C424CBAAE3F00282436C" validation="SHA1" decryption="AES" />
Line 735: <!--
Line 736: The above key is better so I changed it, but leaving this one here
Source File: C:\inetpub\wwwroot\mojoportal\web.config Line: 734

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\mojoportal\web.config line 789)

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Perhaps I don't have the virtual directory set up correctly? But I've tried a couple of approaches without luck.

Any help would be appreciated.

Jay

3/2/2010 6:58:58 AM
Gravatar
Total Posts 18439

Re: Win 7 - Server Error in '/' Application problem

Hi,

Most likely this error means you have another .NET application running in the root web site and the Web.config file from that application interferes with mojoportal.

http://www.mojoportal.com/developer-faq.aspx

Hope it helps,

Joe

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