2015-06-08 71 views
0

我已經失去了訪問數據庫的權限,在此事件發生後,我從控制面板重置數據庫的密碼;查看說明與數據庫的連接不正確的錯誤。我跟蹤了一些研究,發現DataConfig文件中存在數據連接憑據。在那種情況下,我通過FTP訪問該文件,並直接使用新的用戶名和密碼進行編輯。Sitefinity無效的根

以下錯誤出現了:

Server Error in '/' 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) +2778 
    System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +597 
    System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType) +118 
    System.Web.Configuration.SiteMapSection.get_ProvidersInternal() +130 
    System.Web.SiteMap.Initialize() +226 
    System.Web.SiteMap.get_Providers() +4 
    Telerik.Sitefinity.Web.SiteMapBase.GetSiteMapProvider(String rootName) +145 
    Telerik.Sitefinity.Web.SiteMapProviderResolver.GetSiteMapProviderForAppRelativeUrl(String url) +111 
    Telerik.Sitefinity.Web.SiteMapProviderResolver.GetSiteMapProviderForRequest(HttpContextBase context) +48 
    Telerik.Sitefinity.Web.SitefinityRoute.GetSiteMapProvider() +39 
    Telerik.Sitefinity.Web.SitefinityRoute.GetRouteData(HttpContextBase httpContext) +89 
    System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +233 
    System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60 
    System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82 
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69 

我一直在嘗試了幾天,但它不工作。

回答

1

從這個thread看來它可能是您的數據庫用戶沒有將其默認模式設置爲dbo的問題。另外,請確保您的用戶設置了db_owner權限。

希望有幫助!