我失去了对数据库的访问,在此事件发生后,我从控制面板重置了数据库的密码;查看错误,说明数据库连接不正确。我进行了一些研究,发现数据连接凭据位于DataConfig文件中。在这种情况下,我通过FTP转到该文件,并使用新的用户名和密码直接进行相应的编辑。
出现以下错误:
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我已经试了几天了,但还是不起作用。
发布于 2015-06-10 22:14:51
从这个thread看,可能是因为您的数据库用户没有将其默认模式设置为dbo。此外,请确保您的用户设置了db_owner权限。
希望这能有所帮助!
https://stackoverflow.com/questions/30707508
复制相似问题