Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...** URGENT ** Major Production Site Down** URGENT ** Major Production Site Down
Previous
 
Next
New Post
9/11/2009 10:26 AM
 

 Guys I really need your help urgently.

Our DNN Portal is down at present - we are getting the following error:

DotNetNuke.Services.Exceptions.PageLoadException: The type initializer for 'DotNetNuke.Security.Roles.RoleController' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Security.Roles.RoleController' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Security.Roles.RoleProvider' threw an exception. ---> System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for dotnetnuke/roles: Could not load file or assembly 'DOTNETNUKE' or one of its dependencies. Access is denied. (\\Server\QLD-ProductPortal\web.config line 17) ---> System.IO.FileLoadException: Could not load file or assembly 'DOTNETNUKE' or one of its dependencies. Access is denied. File name: 'DOTNETNUKE' at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.Configuration.HttpConfigurationSystem.GetApplicationSection(String sectionName) at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection(String sectionName) at DotNetNuke.Framework.Providers.ProviderConfiguration.GetProviderConfiguration(String strProvider) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, Boolean UseCache) at DotNetNuke.Security.Roles.RoleProvider.CreateProvider() at DotNetNuke.Security.Roles.RoleProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Security.Roles.RoleProvider.Instance() at DotNetNuke.Security.Roles.RoleController..cctor() --- End of inner exception stack trace --- at DotNetNuke.Security.Roles.RoleController..ctor() at DotNetNuke.Entities.Users.UserInfo.get_Roles() at DotNetNuke.Entities.Users.UserInfo.IsInRole(String role) at DotNetNuke.Security.PortalSecurity.IsInRole(String role) at DotNetNuke.Common.Globals.IsLayoutMode() at DotNetNuke.UI.Skins.Skin.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception

 

Any ideas?

We realluy don't think we have touched anything or anything has changed :-( 


Blue & White hooped blood runs through my veins!
 
New Post
9/11/2009 10:59 AM
 

I know this is pretty obvious, but the one time I had this happen with one of our sites I went in through ftp and touched the web.config.  This caused a site restart and the site came back up.  FWIW.

Bill

 

 
New Post
9/11/2009 11:02 AM
 

if restart doesn't help, please revalidate file system permissions of the ASP.Net account.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/11/2009 11:14 AM
 

 Bill, you're a star ***

This at least got our site back up and running - great suggestion - I just wish I'd thought of it 

So now that we are back, up & running, does anyone have any suggestions as to what the error might of been?

We host the site internally and I have had our tech guys check, double check & TRIPLE check the permissions and they swear that they are Ok and cannot of changed!

 

 


Blue & White hooped blood runs through my veins!
 
New Post
9/11/2009 11:43 AM
 

On the site where this happened for me, it was on a hosting company.  I watched it closely for a few weeks and it has never happened again in 6 months or so.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...** URGENT ** Major Production Site Down** URGENT ** Major Production Site Down


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out