Asp.net 未找到Sharepoint文件错误
我似乎找不到关于这个例外的任何相关信息。它似乎在一个特定的网站上来来往往,有什么想法吗Asp.net 未找到Sharepoint文件错误,asp.net,sharepoint,moss,Asp.net,Sharepoint,Moss,我似乎找不到关于这个例外的任何相关信息。它似乎在一个特定的网站上来来往往,有什么想法吗 [FileNotFoundException]: File Not Found. at Microsoft.SharePoint.ApplicationRuntime.SPLocalFileInfo.get_CacheKey() at Microsoft.SharePoint.ApplicationRuntime.GhostedFileTemplateInfo.get_CacheKey()
[FileNotFoundException]: File Not Found.
at Microsoft.SharePoint.ApplicationRuntime.SPLocalFileInfo.get_CacheKey()
at Microsoft.SharePoint.ApplicationRuntime.GhostedFileTemplateInfo.get_CacheKey()
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetFileCacheKey(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureCacheKeyAndViewStateHash(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetVirtualPathProviderCacheKey(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.GetVirtualPathProviderCacheKey(String virtualPath)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)
at Microsoft.SharePoint.Publishing.Internal.CmsVirtualPathProvider.GetCacheKey(String virtualPath)
at System.Web.Compilation.BuildManager.GetCacheKeyFromVirtualPath(VirtualPath virtualPath, Boolean& keyFromVPP)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
[HttpException]: Exception of type 'System.Web.HttpException' was thrown.
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
看
[FileNotFoundException]:找不到文件。
在Microsoft.SharePoint.ApplicationRuntime.SPLocalFileInfo.get_CacheKey()上
在Microsoft.SharePoint.ApplicationRuntime.GhostedFileTemplateInfo.get_CacheKey()中
位于Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetFileCacheKey(HttpContext上下文,SPRequestModuleData requestData)
位于Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureCacheKeyAndViewStateHash(HttpContext上下文,SPRequestModuleData requestData)
位于Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetVirtualPathProviderCacheKey(HttpContext上下文,SPRequestModuleData requestData)
位于Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.GetVirtualPath ProviderCacheKey(字符串virtualPath)
位于Microsoft.SharePoint.ApplicationRuntime.SPVirtualPath提供程序.GetCacheKey(字符串virtualPath)
位于Microsoft.SharePoint.Publishing.Internal.CmsVirtualPathProvider.GetCacheKey(字符串virtualPath)
在System.Web.Compilation.BuildManager.GetCacheKeyFro上,IIS重置可以纠正此问题,但我想彻底解决此问题。您是否从IIS日志中获取这些错误?如果没有,我可以去那里试试。GhostedFileTemplateInfo.get_CacheKey在我看来可能是_layouts目录中的文件或文件系统中类似类型的文件。请参阅:问题与此相关