摘要:今天将一个在测试环境中测试通过的WSP解决方案部署到生产环境时出现如下错误:Event code: 3005 Event message: 发生了未处理的异常。 Event time: 2012/3/5 15:11:36 Event time (UTC): 2012/3/5 7:11:36 Event ID: 53e61463a2404804abd431d6c573ebd7 Event sequence: 75 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /... 阅读全文
posted @ 2012-03-05 16:49 Statmoon 阅读(3944) 评论(0) 推荐(0) 编辑
摘要:We can using the following code to elevate permissions to modify user profile: 1 try 2 { 3 SPSecurity.RunWithElevatedPrivileges(delegate() 4 { 5 HttpContext curcon = HttpContext.Current; 6 using (SPSite mySite = new SPSite("http://YourSiteURL")) 7 { 8 SPSe... 阅读全文
posted @ 2012-03-05 16:18 Statmoon 阅读(242) 评论(0) 推荐(0) 编辑
摘要:今天在部署一个WSP解决方案的时候出现了如下的错误:中文:SharePoint 管理框架中的对象“SPSolutionLanguagePack Name=0”依赖其他不存在的对象。请确保已创建所有对象依赖项,然后重试此操作。English:An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 ", depends on other objects which do not exist.Ensure that all of the objects depende 阅读全文
posted @ 2012-03-05 11:59 Statmoon 阅读(726) 评论(0) 推荐(0) 编辑