Error after Replacing trial license
After replacing the trial license with our production license, I get the below error.
Server Error in '/Default' Application.
Invalid root node configured for pages. No root node with the name of "f669d9a7-009d-4d83-ddaa-000000000002".
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.Configuration.ConfigurationErrorsException:
Invalid root node configured for pages. No root node with the name of
"f669d9a7-009d-4d83-ddaa-000000000002".
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:
[ConfigurationErrorsException: Invalid root node configured for pages.
No root node with the name of "f669d9a7-009d-4d83-ddaa-000000000002".]
Telerik.Sitefinity.Web.SiteMapBase.Initialize(String name, NameValueCollection attributes) +2159
System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +578
System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection
configProviders, ProviderCollection providers, Type providerType) +114
System.Web.Configuration.SiteMapSection.get_ProvidersInternal() +130
System.Web.SiteMap.Initialize() +224
System.Web.SiteMap.get_Providers() +5
Telerik.Sitefinity.Web.SiteMapBase.GetSiteMapProvider(String rootName) +166
Telerik.Sitefinity.Web.SitefinityRoute.GetSiteMapProvider() +16
Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +89
System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +200
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +44
System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +160
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +70
Hello Kunal,
You have been answered in the support ticket you have submitted. Feel free to share the solution with the community.
Regards,Hello,
I'm experiencing this issue as well. If either of you could elaborate on the solution provided, it would be greatly appreciated. Thanks!
Hello Ashok,
Please take a look at the following KB article on the subject and try out the suggestions in it:
http://www.sitefinity.com/developer-network/knowledge-base/when-sitefinity-project-is-deployed-to-production-server-an-invalid-root-node-configured-for-pages-no-root-node-with-the-name-of-frontendsitemap-error-is-thrown
The issue with Kunal's project was the Multisite module which for some reason have changed the default site's root node id. Open your database and check the sf_sites table -> column site_map_root_node_id for your default site. If the GUID value is different from "f669d9a7-009d-4d83-ddaa-000000000002" go to your project's App_Data->Sitefinity->Configuration and open the ProjectConfig.config file. Should be looking something similar to this:
<
projectConfig
xmlns:config
=
"urn:telerik:sitefinity:configuration"
xmlns:type
=
"urn:telerik:sitefinity:configuration:type"
config:version
=
"6.3.5000.0"
dateCreated
=
"2014-01-09 08:26:58Z"
>
<
defaultSite
id
=
"1fde27dc-be4b-4fbd-bf1c-df09075ac0eb"
name
=
"Default"
siteMapRootNodeId
=
"f669d9a7-009d-4d83-ddaa-000000000002"
/>
</
projectConfig
>
Hi Pavel
My projectconfig.config file is damaged
and i cant find the defaultSite id
where can i find it on database
also how can i create a new one ?
defaultsite id : ?
siteMapRootNodeId: ?
homePageId: ?
name: Default same as before
<?xml version="1.0" encoding="utf-8"?>
<projectConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="7.1.5200.0" dateCreated="2014-07-24 12:44:40Z">
<defaultSite id="0a11b19b-72de-497e-b79e-2db336a504e9" name="Default" siteMapRootNodeId="f669d9a7-009d-4d83-ddaa-000000000002" homePageId="f0a5b93c-3a5e-6548-9148-ff0000a3601c" />
</projectConfig>
no multi site is installed in my sitefinity
best regards
omer