Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > config error :( View modes: 
User avatar
Member
Member
janssy - 11/25/2010 5:44:13 AM
   
config error :(
hi there,

I was setting up the site and it was running well yesterday.

it is down when I try to open it today. during this period, I did not do any code changing.

the error I have got as bellow:

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: Could not load file or assembly 'CMS.ResourceManager, Version=5.5.3789.9797, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)

Source Error:

Line 59: <providers>
Line 60: <clear />
Line 61: <add name="CMSRoleProvider" type="CMS.MembershipProvider.CMSRoleProvider" connectionStringName="CMSConnectionString" applicationName="SampleApplication" writeExceptionsToEventLog="false" />
Line 62: </providers>
Line 63: </roleManager>


Source File: ********\wwwroot\web.config Line: 61

Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209

any idea??

Many many thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/25/2010 5:51:29 AM
   
RE:config error :(
Hi,

We are not sure what is causing this issue as it is general .NET issue that might be related to your server settings. Maybe something was changed on your server regarding some settings.

If you use the Medium trust environment please follow these instructions:

http://devnet.kentico.com/docs/devguide/installation_in_medium_trust_environment.htm
http://devnet.kentico.com/docs/devguide/configuration_for_medium_trust_environment.htm

I would also recommend you to apply latest hotfix (5.5.27) (http://devnet.kentico.com/Bugtracker/Hotfixes.aspx) package over your 5.0 version of Kentico CMS.

One of our customers was having the same issue. This how he was solving his issue:

"To resolve this, every time, we simply need to drag the web.config file OUT of the httpdocs folder (i.e. to the Windows desktop, for instance), then drag the web.config file back into the httpdocs folder. Then, after a long pause, the site will resume working normally again (until next time the problem occurs). It appears to be a permissions issue on the web.config file, that when the file is put back into the httpdocs folder, it's re-granted the inherited permissions from the httpdocs folder and the problem is resolved."

So, could you please also check the disk permissions for your web application?

Best regards,
Juraj Ondrus

User avatar
Member
Member
janssy - 11/27/2010 7:38:12 PM
   
RE:config error :(
Thank you, Juraj! it is fixed.