Hi,
I have a custom menu item in the ECB context menu.
When user selects the custom menu item, we are retrieving the site id using Guid currentSiteId= SPContext.Current.Site.ID
But this results in below error for few users, for other users this is working fine.
System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid..ctor(String g)
What might be the reasons for this error?
Thanks in advance,
dhijit