Saturday, 23 August 2008

STSADM and SharePoint Designer operations failed

I was getting error messages (cannot delete folder "WEBNAME") for deleteweb operation for stsadm and when opening the web in SharePoint Designer (SD) I got "There is no web "/XXX/YYY". Couldn´t delete documents but the web was browsable in SD (error code 16388). I finally tried to attach to the database in Visual Studio and got an error message about full transaction logs on the database server. In this case we configured "simple mode" instead and all operations completed sucessfully.

So know your DBA and have them close :)

// Henrik

3 comments:

Anonymous said...

I am receiving a similar error, but when trying to provision a site through a console application running on a web front-end server.

SPSite siteCollection = new SPSite("http://localhost");
siteCollection.AllWebs.Add(...); // Exception thrown here.

--- Exception Message ---
e.GetType(): Microsoft.SharePoint.SPException
e.Message:"Provisioning did not succeed. Details: Failed to create the 'Pages' library. OriginalException: Cannot remove file "Document". Error Code: 16388."
e.StackTrace:" at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.CreatePagesDocumentLibrary(SPList approvalTaskList)

JasonTrotter said...

Hi,

I have been recieving a similar error while trying to delete from my site and then Recycle bin. I needed to do this to free up space on my SQL Server Express edition database which is limited to 4Gb.

After a while working out what the problem was, I found that it was because of this lack of space that I could not delete the items after eventually finding some files that could be deleted I cleared enough space to delete more and more files.

Unknown said...

Same thing here, running STSADM -deleteweb returned a "CANNOT REMOVE FOLDER". We checked on the database server and the disk was full, one helpful item was to turn SQL transaction logging to SIMPLE.