Wednesday, February 10, 2010
How to Delete SharedServices?
What ever reason you want to delete the shared services, because of wrong name or wrong site, you can do it either using UI or STSADM tool. Some times UI delete option is disabled, so you dont have any choice other than using STSADM tool.
You can use the following STSADM syntax to delete the sharedservices. In command propmt, go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
STSADM -o deletessp -title "SharedServices1"
Before you delete the sharedservices, you have remove any sites within it, then only it allow you remove the sharedservices.
I recommend to delete the sites from the "Application Management" --> Delete Web Application. I also found the following approch to delete the dependencies which i am not sure. May be you try with your own risk
Open SQL Server Management Studio and execute following query to fetch the SharedServices1 dependencies:
SELECT * from Objects WHERE Objects.name like '%SharedServices1%'
Note that in the "Status" column, you'll find "3". Changing that back to default "0" does the job:
UPDATE Objects SET Objects.Status=0 WHERE Objects.name='SharedServices1'
Hope this post helped some one.
Good Luck.
Before you leave:
You can use the following STSADM syntax to delete the sharedservices. In command propmt, go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
STSADM -o deletessp -title "SharedServices1"
Before you delete the sharedservices, you have remove any sites within it, then only it allow you remove the sharedservices.
I recommend to delete the sites from the "Application Management" --> Delete Web Application. I also found the following approch to delete the dependencies which i am not sure. May be you try with your own risk
Open SQL Server Management Studio and execute following query to fetch the SharedServices1 dependencies:
SELECT * from Objects WHERE Objects.name like '%SharedServices1%'
Note that in the "Status" column, you'll find "3". Changing that back to default "0" does the job:
UPDATE Objects SET Objects.Status=0 WHERE Objects.name='SharedServices1'
Hope this post helped some one.
Good Luck.
Before you leave:
- Tell me whether you like this article or not? Rate this post accordingly by selecting the stars below.
- Any suggestion, question or comment? Please post it in the comments below.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2010
(48)
-
▼
February
(15)
- How to find duplicate records in SQL Server?
- The product level is insufficient for component
- How to generate Data script from SQL Database
- JavaScript Frameworks/Libraries Side by Side Compa...
- How to Eliminate Merged Cells from a Reporting Ser...
- Top 10 VMware Performance Tweaks
- A nice article about Microsoft Windows Communicati...
- How to Delete SharedServices?
- Virtual Server Performance Tips
- How to Enable AHCI After Windows OS installation?
- How to find Your processor supports Virtualization...
- UnKnown PCI Simple Communications Controller
- Dynamically Change Environment Specific Web.Config...
- UNIX VS Linux
- Factory Method Pattern (Creational)
-
▼
February
(15)
0 comments:
Post a Comment