簡體   English   中英

SharePoint 無法加載文件或程序集'Microsoft.SharePoint.ApplicationPages“訪問被拒絕”

[英]SharePoint Could not load file or assembly 'Microsoft.SharePoint.ApplicationPages “Access is Denied”

當我訪問 SharePoint 2007 中的任何管理功能(例如“站點設置”或“創建頁面”)時,我收到以下錯誤。 當我重新啟動服務器時,錯誤暫時得到修復,但它會在相對較短的時間內再次出現。

我檢查了與這篇文章相關的其他問題,但沒有一個有答案。 我認為它與安全有關,但是為什么在重新啟動服務器時會暫時修復它?

更新:我剛剛重新啟動了 IIS,問題又暫時解決了……太混亂了。 伙計,我能感覺到這個問題很快就會得到tumbleweed徽章。

Could not load file or assembly Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Access is denied. at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail) at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

我最近與遇到同樣問題的人取得了聯系。 他向微軟開了一個案子,他們建議在 GAC 中放一份 Microsoft.SharePoint.ApplicationPages.dll 的副本。 它可能不是最好的解決方案,但它可以解決問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM