Reference: http://blog.krichie.com/2008/06/27/using-stsadm-o-migrateuser-on-a-re-created-account/I see this come up quite a bit and thought I would show you how to work around the problem. I thought I had show this on my old blog a couple of years
1、用代碼調用MOSS的SSP擷取UserProfile時,代碼只能運行於MOSS網站下,或者是WinForm中,否則,會出錯,這個問題如何解決呢? 代碼如下:SPSite site = new SPSite("http://ssjin073:9031"); //擷取上下文環境 ServerContext context = ServerContext.GetContext( site )
在SharePoint中通過SPQuery.Folder屬性, 可以很方便的查詢列表下檔案夾中的資料, 下面介紹如何使用: SPQuery.Folder: Gets or sets the folder within a document library from which to return items in the query. Demo:using (SPWeb oWebsiteRoot = SPContext.Current.Site.RootWeb){
本文來自網路(http://www.sharepointblogs.com/tanujashares/archive/2007/08/07/impersonation-in-sharepoint-2007.aspx):在進行SharePoint編程時,有時需要修改List中的某一個Item,但是當前的登入使用者沒有許可權對該List修改,那麼在編程時一般可以通過兩種方式來進行,下面就是這兩種方法的介紹:Impersonation in SharePoint 2007 SharePoint
今天我的伺服器出現如下的錯誤:IIS Admin Service 服務因 2147549465 (0x80010119) 服務性錯誤而停止。IIS 伺服器停止服務,telnet 80連接埠無任何資訊,沒有辦法,試著重新啟動World wide web Publishing service ,系統提示:與 World Wide Web Publishing Service 服務相依的 IIS Admin Service 服務因下列錯誤而無法啟動: 服務已返回特定的服務錯誤碼。
Fix those SIDs(I'm not sure why this isn't showing up under my blog, but I'm working on it!)Thanks to my good friend Jeremy McMahan for finding the suser_sid() function for me -- My original solution was a crazy mix of linked servers and the