2

I have a sharepoint group that has arabic characters in the title. The site has been deleted, and I need to remove the group. When I use the GUI, I get this error message:

Error Code: 500 Internal Server Error. The server denied the specified Uniform Resource Locator (URL). Contact the server administrator. (12202)

When I use stsadm -o enumgroups I get this as the group name:

<Name>Blah blah -- ????? ??????? ????????? Members</Name>

stsadm -o deletegroup -name "Blah blah -- ????? ??????? ????????? Members" -url http://myurl.com returns:

Group cannot be found.

I know the group ID, any way I can use that in my quest for deletion?

Nathan DeWitt
  • 6,511
  • 8
  • 46
  • 66

2 Answers2

1

I would use a console application to explore the group, (see if there is any information within it that you need to keep) and then delete it.

DevinB
  • 8,231
  • 9
  • 44
  • 54
1

Remember that deletegroup requires the site URL as well. In this case I think you'll have to use the OM - you can use the SPGroupCollection.RemoveByID() method to do so.

Andy Mikula
  • 16,796
  • 4
  • 32
  • 39
  • yes, I passed in the URL parameter. I just didn't type it in the question because I was lazy. – Nathan DeWitt May 13 '09 at 19:20
  • Fair enough! The other option is to just try copying and pasting the group name from 'People and Groups' into the command window with stsadm, though I doubt the Windows command prompt will accept the characters. – Andy Mikula May 13 '09 at 19:27