Error machineKey validationKey

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.
7/8/2010 11:09:38 AM
Gravatar
Total Posts 21

Error machineKey validationKey

Hi

I am new to Mojo portal I receiving error while installation.

Mojoportal Version : mojoportal-2-3-4-5-mssql-net35

 

Source Error:


Line 710:
Line 711: -->
Line 712: <machineKey validationKey="55BA53B475CCAE0992D6BF9FE463A5E97F00C6C16DA3D7DF9202E560078AB501643C15514785FEE30FEF26FC27F5CE594B42FFCA55452EF90E8A056B4DAE9F39" decryptionKey="939232D527AC4CD3E449441FE887DA110A16C1A36924C424CBAAE3F00282436C" validation="SHA1" decryption="AES"/>
Line 713: <!--
Line 714: The above key is better so I changed it, but leaving this one here

Source File: D:\inetpub\vhosts\sitename.info\httpdocs\cms\wwwroot\web.config Line: 712


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\sitename.info\httpdocs\cms\wwwroot\web.config line 766)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 778)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 784)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 958)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 964)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 1102)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 1104)

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\sitename.info\httpdocs\cms\wwwroot\web.config line 1105)

7/9/2010 1:12:16 PM
Gravatar
Total Posts 18439

Re: Error machineKey validationKey

Hi,

You uploaded the files to the wrong folder.

For a root site you should upload the contents of the wwwroot folder probably to httpdocs on your hosting or if you want to run it in a sub folder /cms then you need to upload the contents of the wwwroot folder to the cms folder. But instead you uploaded the wwwroot folder itself beneath cms. So the files are not in the correct location and will not work.

Hope it helps,

Joe

7/13/2010 1:06:43 AM
Gravatar
Total Posts 21

Re: Error machineKey validationKey

Hi joe,

Now I installed the mojo portal in root folder(in Httpdocs).

Its working...

Thank you ....

10/21/2012 9:57:59 PM
Gravatar
Total Posts 2

Re: Error machineKey validationKey

mojoPortal I installed and I have the same error but I place the entire contents of the wwwroot folder in a subfolder in the hostisng but the error appears machineKey what else can be wrong

10/22/2012 9:09:37 AM
Gravatar
Total Posts 18439

Re: Error machineKey validationKey

Generally you should install it in the root. You can install it in a sub folder but that sub folder must be marked as an application in IIS. Even doing that if there is another .NET app in the root then there can be conflicts between the web.config files, there is information about that in our developer faq.

Hope that helps,

Joe

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