Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Deleting a Site

  Asked By: Pauline    Date: Jul 09    Category: Sharepoint    Views: 708

I am trying to recreate one of my sites using a different template.
However, even though I deleted the site when I try to reuse the same
url when creating a new site it gives me an error saying that 'a site
with the specified name already exists'. Is there some place where I
can 'clear' this site out of Sharepoint's 'memory'?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Varun Mehta     Answered On: Jul 09

Interesting question, since I've noticed the same thing. I've found that using
STSADM to delete the site  does remove the path, so the site can be readded. To
do this go to /program files/common files/microsoft shared/web server
extensions/60/bin on the SP server and issue the following command:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN>stsa
dm -o deletesite -url "<url of site to delete>"
Operation completed successfully.

be sure to issue an IISRESET after the command to clear  SharePoint's cache...

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN>iisr
eset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted

You can get a list of site urls using the following command:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN>stsa
dm -o enumsites -url http://localhost

 
Answer #2    Answered By: Junior Jarvis     Answered On: Jul 09

When I tried to delete it using the command, it gave me the following error:

"The server instance specified was not found. Please specify the server's
address and port."

I wonder if this is because I already deleted  it through web method.

 
Answer #3    Answered By: Sanjay Lohar     Answered On: Jul 09

Nevermind, I got it to work. I had to take the 's' off of my https.

 
Didn't find what you were looking for? Find more on Deleting a Site Or get search suggestion and latest updates.




Tagged: