Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Intermittent error - CMSRoleProvider. View modes: 
User avatar
Member
Member
sales-bluweb.co - 2/6/2010 5:46:06 AM
   
Intermittent error - CMSRoleProvider.
Has anyone seen this before? I'm intermittently receiving the following error. I've checked the web.config but it doesn't even contain this provider. Is this a bug?

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: Thread was being aborted.

Source Error:

Line 64: <providers>Line 65: <clear/>Line 66: <add name="CMSRoleProvider" type="CMS.MembershipProvider.CMSRoleProvider" connectionStringName="CMSConnectionString" applicationName="SampleApplication" writeExceptionsToEventLog="false"/>
Line 67: </providers>Line 68: </roleManager>

Source File: D:\Hosting\4619864\html\web.config Line: 66


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/9/2010 1:54:03 PM
   
RE:Intermittent error - CMSRoleProvider.
Hi,

I'm not sure what was causing the issue as it is general .NET issue that might be related to your server settings.

Could you please also try to increase executionTimeout settings in your web.config as described at the bottom of the page at http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.adonet/topic3899.aspx.

Moreover, it is recommended that you restart the application pool regularly.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
hortvision - 3/20/2011 3:40:20 AM
   
RE:Intermittent error - CMSRoleProvider.
G'day,

I'd be interested to know if this fixed the guys problem. Because I've got it now as well.

Trying you solution now.

Will post if it fixes it.

Cheers

User avatar
Member
Member
hortvision - 3/20/2011 3:49:31 AM
   
RE:Intermittent error - CMSRoleProvider.
Actually Scratch that.......I don't really understand where to go to extend the time out time.

Is it because the servers taking too long to respond. I haven't changed anything at my end so it must be. Is it possible for code to spontaneously go haywire?

This is my error:

--------------------------------------------------------------------------------------


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: Thread was being aborted.

Source Error:

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


Source File: \\n5200-2\iis7_www\h\o\hortvision.com.au\www\web.config Line: 60

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

----------------------------------------------------------------------------------------------------

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/22/2011 10:22:42 AM
   
RE:Intermittent error - CMSRoleProvider.
Hi,

Please find the web.config file on the file system. It is in the web project directory. From the error message it should be in this path: \www\web.config

There you can find parameters like:
Connection Timeout - for the DB connection
executionTimeout - in the httpRuntime element for application time out.

Try to increase their values.

Best regards,
Juraj Ondrus