Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Sunday, December 14, 2014

SharePoint 2013 error – The server was unable to save the form at this error

While working with SharePoint 2013 list, saving the data I got an error saying that “The server was unable to save at this time. Please try again.” As shown the image below.

By checking the logs I have found following error “Memory gates checking failed because the free memory is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.


After verifying the details in event logs, Services and Task Manager Details, I have found that error causing low memory. To fix this error we have to restart “SharePoint Search Host Control” and “SharePoint Administration service”. By refreshing this error we can have a lot of memory will be freed. We have same error when custom application deployed without disposing object. In that case we need to reset the IIS. By resetting the IIS We can save the list data without error.
Hope this helps.


Sunday, November 2, 2014

SharePoint 2007 error while unblocking a file - An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=XXXX Parent=SPWebService is being updated by XXXXX, in the OWSTIMER process, on machine XXXXX. View the tracing log for more information about the conflict while unblocking a fie type

While working with SharePoint 2007, unblocking a file extension, I got an error saying that “An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=XXXX Parent=SPWebService is being updated by XXXXX, in the OWSTIMER process, on machine XXXXX. View the tracing log for more information about the conflict while unblocking a fie type” as shown the image below.


To fix this error we have to clear the configuration cache in SharePoint server. To clear the cache we have to follow the steps below,
  • Go to the server where we are seeing the error and stop windows SharePoint service in services.
  • Navigate to C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\GUID (here GUID is guid of the folder, we can see the Guid number, Drive is not specifically “C” that might be any drive that SharePoint installed)
  • If we are using Windows server 2008 folder path would be C:\ProgramData\Microsoft\SharePoint\Config\GUID. If we didn’t see ProgramData file, we have to change the folder view settings.
  • Back up the GUID folder another location, and delete all the XML files except Cache.ini file in the folder.
  • Open the cache.ini file in any editor like notepad, select all the data, and delete it. Enter 1 and save the file.
  • Start the Windows timer service in services.
  • Clear the cache in all the WFE servers in the farm.
  • Now we can block/unblock file without any error. 

Hope this helps.

Wednesday, June 4, 2014

SPGrid Error in SharePoint 2010: System.ArgumentNullException: Value cannot be null. Parameter name: container

While working with SharePoint 2010 Grid view grouping depending on dropdown value, got an error saying that “Value cannot be null. Parameter name: Container” as shown the image below.
















Iam unable to find the issue while debugging the code. I have spent much time on this issue finally got the reason. By making “EnableViewState” to false error got fixed as show the code below.

grdPropertyValues.EnableViewState = false;
grdPropertyValues.AllowSorting = true;
grdPropertyValues.AllowGrouping = true;
grdPropertyValues.AllowGroupCollapse = true;



Here grdPropertyValues is SPGridview object. Hope this helps.