Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > compilation error View modes: 
User avatar
Member
Member
maria.montero-lkxsoftware - 5/12/2010 1:52:18 PM
   
compilation error
Hello,

this is Our first installation over Our hosting.

This is the steps to install:

1- Install Kentico execute software into local machine with Windows 7
2- Run Web installer and select Intall to producer Server with .Net 2.0 into the folder from Disc
3- Copy all content from KenticoCMS folder to our clientes folder in the root from the hosting
4- Create the Virtual folder assigned to clientes
5- run the path in IE8 http://lkxsoftware.es/DemoCMS

after appear this error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'SiteProvider' does not exist in the namespace 'CMS' (are you missing an assembly reference?)

Source Error:

Line 13: using CMS.SettingsProvider;
Line 14: using CMS.DataEngine;
Line 15: using CMS.SiteProvider;
Line 16: using CMS.CMSHelper;
Line 17:

Source File: d:\inetpub\vhosts\lkxsoftware.es\httpdocs\Clientes\App_Code\Global\CMS\CMSPageEvents.cs Line: 15

what does we do bad?

Regards

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/13/2010 2:16:31 AM
   
RE:compilation error
Hi,

Could you please check if the CMS.SiteProvider.dll file was copied to the target location? Does this error occur everytime you open the page?

Best regards,
Juraj Ondrus

User avatar
Member
Member
maria.montero-lkxsoftware - 5/13/2010 4:09:06 AM
   
RE:compilation error
Yes, this file exist into Bin folder. We do a new virtual folder to check if the problem is a wrong in the folder parameters. Now the path is http://lkxsoftware.es/demo_cms/default.aspx
and the problem is the same.

Regards.

Technician

User avatar
Member
Member
maria.montero-lkxsoftware - 5/13/2010 9:22:34 AM
   
RE:compilation error
Well, we can Run the setup. The problem was the file's size was lower than the original file.

But now, before ask about create a DB, after the name SQL server and user password, appear this error:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

Why, If the installation is a new from zero?

Regards.

Technician

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 5/17/2010 11:31:34 AM
   
RE:compilation error
Hi,

Could you please try to lower your browser security settings or try to use different browser type for example like Firefox is when installing Kentico CMS?

Best regards,
Miroslav Remias.