簡體   English   中英

SharePoint應用程序頁面-找不到文件異常

[英]SharePoint Application Page - File not found exception

我正在使用wspbuilder項目模板在Visual Studio 2005 for SharePoint中開發一個Webpart。

我使用WSPBuilder部署頁面,圖像,css和javascript文件。 有時,當我使用wspbuilder進行部署時,遇到“找不到文件”異常。

經過一系列重復部署后,該頁面將正常運行。 我不知道這是什么原因。 我還包括在SharePoint應用程序頁面中獲得的異常的堆棧跟蹤。

堆棧跟蹤 :-找不到文件。 在System.Reflection.Assembly.nLoad(AssemblyName fileName,字符串codeBase,證據,System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,Evidence assemblySecurity,StackCrawlMark&stackMark,Boolean forIntrospection)處的System.Reflection.Assembly.InternalLoad(String forIntrospection),位於System.Web.UI.TemplateParser.LoadAssembly(String AssemblyName,Boolean throwOnFail),位於System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName,Boolean throwOnFail),位於System.Web.UI.TemplateParser.LoadAssembly(String .Web.UI.MainTagNameToTypeMapper。 System.Web.UI.BaseTemplateParser.ProcessDirective(String指令名稱,IDictionary指令)的System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(TagNamespaceRegisterEntry nsRegisterEntry)的ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)在System.Web.UI.TemplateControlParser.ProcessDirective(String System.Web.UI.PageParser.ProcessDirective上的IDictionary指令)(System.Web.UI.TemplateParser.ParseStringInternal(String文本,Encoding fileEncoding)處的IDictionary指令)對Windows SharePoint Services的問題進行故障排除。

確保您的應用程序頁面引用了完整的程序集名稱,包括其頁面聲明中的版本和公共密鑰令牌

暫無
暫無

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

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