sp1 upgrade error
I'm in the process of updating to sp1 and have hit a snag... I'm going through the instructions here and got to step 2. I hit the upgrade button, then opened the site up in VS and ran it and got the following error...
Creating a new website with sp1 with a new database works fine... This site was originally in 3.7 and have upgraded and migrated using the migration tool...
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.
|
[InvalidOperationException: The type String cannot be constructed. You must configure the container to supply this value.] Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context, SelectedConstructor selectedConstructor) +285 Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context) +356 Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +262 Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(IBuilderContext context, NamedTypeBuildKey buildKey) +187 Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +221 Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +262 Telerik.Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +227 Telerik.Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) +90 BuildUp_Telerik.Sitefinity.Modules.Pages.PageManager(IBuilderContext ) +192 Telerik.Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +42 Telerik.Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +309 Telerik.Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +262 Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +377 [ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Modules.Pages.PageManager", name = "OpenAccessDataProvider". Exception occurred while: while resolving. Exception is: InvalidOperationException - The type String cannot be constructed. You must configure the container to supply this value. ----------------------------------------------- At the time of the exception, the container was: Resolving Telerik.Sitefinity.Modules.Pages.PageManager,OpenAccessDataProvider Resolving parameter "providerName" of constructor Telerik.Sitefinity.Modules.Pages.PageManager(System.String providerName, System.String transactionName) Resolving System.String,(none) ] Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +440 Telerik.Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +45 Telerik.Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) +43 Telerik.Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, String name, ResolverOverride[] overrides) +126 Telerik.Sitefinity.Abstractions.ObjectFactory.Resolve(String name) +109 Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +362 Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName) +75 Telerik.Sitefinity.Modules.Pages.PageManager.GetManager(String providerName) +35 Telerik.Sitefinity.Web.SiteMapBase.Initialize(String name, NameValueCollection attributes) +1263 Telerik.Sitefinity.Web.SiteMapBase.GetSiteMapProvider(String rootName) +373 Telerik.Sitefinity.Web.SitefinitySiteMap.GetCurrentProvider() +59 Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +131 System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +285 System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60 System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 |
Hi,
We have replied you in the support ticket send for the same case.
Is anyone receiving this error on a 4.1 Upgrade? Development server upgrade went fine, live server upgrade started throwing this error. I didn't upload the App_Data folder, so the database connection is correct.
Thanks.
Hello Kevin,
Could you make sure that you moved the configuration files from App_Data/Sitefinity/Configuration folder?
Greetings,
Ivan Dimitrov
the Telerik team