4.1 Busted our install
So, we have 2 issues after upgrading to 4.1. We've been messing with it all day to get to this point.
Issue 1: Site won't run using IIS. It only works (sort of, using the internal server in the Sitefinity Project Manager)
Server Error in '/' Application.
The type ExceptionManager cannot be constructed. You must configure the container to supply this value.
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.InvalidOperationException: The type ExceptionManager cannot be constructed. You must configure the container to supply this value.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The type ExceptionManager cannot be constructed. You must configure the container to supply this value.]
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context, SelectedConstructor selectedConstructor) +277
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context) +485
Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(IBuilderContext context, NamedTypeBuildKey buildKey) +400
Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +222
Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +434
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440
[ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionManager", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type ExceptionManager cannot be constructed. You must configure the container to supply this value.
-----------------------------------------------
At the time of the exception, the container was:
Resolving Telerik.Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionManager,(none)
]
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +546
Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +20
Telerik.Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, ResolverOverride[] overrides) +87
Telerik.Sitefinity.Abstractions.Exceptions.HandleException(Exception exceptionToHandle, ExceptionPolicyName policy) +70
Telerik.Sitefinity.Data.ManagerBase`1.Initialize() +773
Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +34
Telerik.Sitefinity.Localization.Res..cctor() +28
[TypeInitializationException: The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.]
Telerik.Sitefinity.Localization.Res.RegisterResource() +0
Telerik.Sitefinity.Abstractions.ObjectFactory.RegisterStringResources() +108
Telerik.Sitefinity.Abstractions.ObjectFactory.RegisterIoCTypes() +206
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +186
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +30
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +546
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +325
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11529072
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4784373
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Issue 2:
The sitefinity back end is available when using the internal server, but the Live site it not viewable. It put a div tag right in the middle of of a @Register directive. What?
Server Error in '/Sitefinity' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The server block is not well formed.
Source Error:
Line 2: <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Services.Search.Web.UI.Public" Assembly="Telerik.Sitefinity" %>
Line 3: <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Modules.Events.Web.UI" Assembly="Telerik.Sitefinity" %>
Line 4: <%@ Register TagPrefix="sf" Na<div runat="server" class="sf_cols">Line 5: <div runat="server" class="sf_colsOut sf_1col_1_100">
Line 6: <div runat="server" class="sf_colsIn sf_1col_1in_100" id= T06E90417001_Col00 >
Source File: /Sitefinity/SFPageService/b635ffef-8e25-4258-bd4f-9c5f121cda94_notheme.aspx Line: 4
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Please help!
I got the first error as well. I changed security permissions to allow "Network Service" full control over the App_Data directory and the error was resolved. I hope this helps a bit...
Thanks so much. That fixed the IIS issue. Now I'm just left with the 2nd issue.
Can't help with that second one, that looks nuts :)
FYI
I received this error locally when developing through VS2010. We use
Team Foundation Server. I needed to have the App_Data folder checked out
to fix this issue.
Hi Kyle,
Sorry for the bit late reply.
Do you see the 2nd error on all front end pages or just on some of them? We will have to isolate the issue and check if it is caused by the template or some of the controls.
Please let us know if you have any further findings.
Need to fix this guys
Come on guys, I have wasted 4 hours on this already 4.1 is broken. The initial release wasn't tested for custom master page files either. The default template is almost useless as well because there are no easy ways to create full width footers and headers on top of it. Please Please Please.
Thanking you for for fixing the boldness ( so it is nolonger italic, too) in the forums promptly!
Hello Jwize,
We've fixed some problems that might have caused the layouts to break, in the latest internal build. I suggest you trying with it, and send us the whole project and the database, if things go wrong or do not work again. We will fix it locally and return it to you with further information.
Kind regards,****************************** How to Fix *******************************
Make sure ALL files and ALL folders in App_Data are NOT read-only and have given NETWORK SERVICE FULL PERMISSON (I found even removing read-only from App_Data did not auto remove read-only from the Configuration folder)
Stop your site in IIS
Stop the App_Pool
Start the App_Pool
Start the site in IIS
************************** Note ******************************
This is how I resolved this issue for me on Windows Server 2003 using IIS6.