摘要: try{StringfileToUpload="C:\test.txt";StringsharePointSite="http://localhost:80/";StringdocumentLibraryName="test";SPSecurity.RunWithElevatedPrivileges(delegate(){using(SPSiteoSite=newSPSite(sharePointSite)){using(SPWeboWeb=oSite.RootWeb){oWeb.AllowUnsafeUpdates=true;if( 阅读全文
posted @ 2012-04-11 14:30 Hayden Han 阅读(1653) 评论(0) 推荐(0) 编辑
摘要: 解决方法:应用程序池标示不同,设置相同的应用程序池标示或选择与sharepoint使用同一个应用程序池。 阅读全文
posted @ 2012-04-11 14:27 Hayden Han 阅读(226) 评论(0) 推荐(0) 编辑