Hi
Two weeks ago i've managed to create my first mojo portal site for a client. everything was running smoothly, until this morning when the website started giving the following error (see stack trace below). I am the only administrator, and no changes was made to the site in the past couple of days.
I've downloaded the full site and full db to my dev server, and everything runs 100% fine there, without any changes. i've now also tried creating a new mojo site on the server at my ISP, and i still get the same error, so i'm assuming they may have made some server changes/udpates on their side.
Do you perhaps have any suggestions as to where i can start searching for the problem, so i can forward it to my ISP? i have also tried changing the globalization settings without luck. The site is running in medium trust.
Regards
Werner
Server Error in '/' Application.
--------------------------------------------------------------------------------
String was not recognized as a valid Boolean.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: String was not recognized as a valid Boolean.
Source Error:
[No relevant source lines]
Source File: App_global.asax.epcknyup.0.cs Line: 0
Stack Trace:
[FormatException: String was not recognized as a valid Boolean.]
log4net.Core.LoggerManager.RegisterAppDomainEvents() +0
log4net.Core.LoggerManager..cctor() +33
[TypeInitializationException: The type initializer for 'log4net.Core.LoggerManager' threw an exception.]
log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String name) +0
log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name) +8
log4net.LogManager.GetLogger(Type type) +42
mojoPortal.Web.Global..cctor() +17
[TypeInitializationException: The type initializer for 'mojoPortal.Web.Global' threw an exception.]
mojoPortal.Web.Global..ctor() +0
ASP.global_asax..ctor() in App_global.asax.epcknyup.0.cs:0
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +215
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +8878568
System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +136
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +92
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614