Internal error on move to WIN2012

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.
3/7/2013 9:25:23 AM
Gravatar
Total Posts 26

Internal error on move to WIN2012

Hi I'm getting an Internal error 500 when I move a site from WIN2008 to WIN2012, site works perfectly WIN2008, FW4.0

Browsing the site gives

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:

Module    IIS Web Core
Notification    BeginRequest
Handler    Not yet determined
Error Code    0x80070021
Config Error    This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File    \\?\C:\inetpub\wwwroot\VP-F45\web.config

Requested URL    http://192.168.1.151:80/
Physical Path    C:\inetpub\wwwroot\VP-F45
Logon Method    Not yet determined
Logon User    Not yet determined

Config Source:

1043: <!-- Handlers for IIS 7.0 Integrated mode -->

1044: <handlers>            this line is highlighted

1045: <!-- This is causing errors on some Win 2008 installations

More Information:

This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. 

 

<handlers> is highlighted as the problem

I'm using Mojoportal 2.3.9.5, WIN2012, pgsql, FW4.0

Any ideas?

 

3/7/2013 9:34:44 AM
Gravatar
Total Posts 18439

Re: Internal error on move to WIN2012

most likely a conflict because another web.config file exists in a folder above the one for mojoPortal

3/7/2013 9:59:10 AM
Gravatar
Total Posts 26

Re: Internal error on move to WIN2012

Hi Joe

I've checked and there isn't another web.config in an higher folder

I've also for test purposes removed all other sites from the server and still get the same error

3/7/2013 10:25:44 AM
Gravatar
Total Posts 18439

Re: Internal error on move to WIN2012

I would make sure you are using .NET 4 and an integrated app pool.

I would also check whether the machine has things locked down too much in machine.config

​You could also try removing the <location element that wraps sections in the mojoPortal Web.config to see if that helps.

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