Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

unable to delete folder in SPS 2001

  Asked By: Leila    Date: Mar 30    Category: Sharepoint    Views: 1022

I am running Sharepoint Portal Server 2001, sp3. One of the users created an
enhanced folder with the ":" character. Now I am unable to delete this folder.
I thought that folders could not be created with special characters, such as :
* ? <>?|, in the name. Can anyone suggest a way to delete this folder?

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Brandyn Slater     Answered On: Mar 30

Can you create a web folder  to the parent folder? If you can and you can see
the folder, try renaming the folder.

 
Answer #2    Answered By: Hubert Pollard     Answered On: Mar 30

but I cant delete  or rename the folder. There is one document in
the folder  that is checked-out but I cannot manipulate this document either. I
can open it but I cannot check-in, publish, delete, rename, etc.

 
Answer #3    Answered By: Gladys Trevino     Answered On: Mar 30

Try to write down a web part to delete  the folder. put the following code in the
web part.

dim sFolderUrl
dim objFolder
sFolderUrl = " http://computerName/Workspace/... (intranet Url)"
set objFolder = CreateObject("CDO.KnowledgeFolder")
objFolder.DataSource.Open sFolderUrl,,3
objFolder.Delete
set objFolder = nothing

and make sure you have coordinator/author role on that folder.
I didn't try it since I couldn't create a folder  with ":" in it.

 
Answer #4    Answered By: Jignesh Pitale     Answered On: Mar 30

Try to write down a web part to delete  the folder. put the following code in the
web part.

dim sFolderUrl
dim objFolder
sFolderUrl = " http://computerName/Workspace/... (intranet Url)"
set objFolder = CreateObject("CDO.KnowledgeFolder")
objFolder.DataSource.Open sFolderUrl,,3
objFolder.Delete
set objFolder = nothing

and make sure you have coordinator/author role on that folder.
I didn't try it since I couldn't create a folder  with ":" in it.

 
Answer #5    Answered By: Ravish Patel     Answered On: Mar 30

So I think possibly WSS stores the folder  in a different name. Try to output the
folder's "DAV:href" property by querying its parent folder's Subfolders. If WSS
stores that in a different name, then you probably could delete  it by using the
web part.
You should know how to list a folder's all subfolders. If you don't know, I can
write down some code for you.

 
Didn't find what you were looking for? Find more on unable to delete folder in SPS 2001 Or get search suggestion and latest updates.




Tagged: