Site Content Type in Use – Error while Deleting Content Type

If you get “Site Content Type in Use” error while deleting the content type.

Change the default content type for the list/library, which uses this content type.

Then try to delete the content type.

“The file has been modified by SHAREPOINT\system” Error while Updating InfoPath xml file in SharePoint Library

If you try to update the InfoPath xml file through object model in events/WebParts or through any medium.

While execting the Item.Update() will cause the below error. While updating the InfoPath xml file in ListItem the file and ListItem object getting disconnected.

Item.File.Update() will solve your issue.

StackTrace […]