The settings for this list have been recently changed. Refresh your browser before editing this list

Hello Everyone,

In this article,i am going to talk about one of SharePoint development issue with object model if you faced this annoying error :
“The settings for this list have been recently changed. Refresh your browser before editing this list”

Here a sample scenario:
* You have a C# application from which you are frequently uploading documents to a SharePoint Foundation 2010 Document Library while updating or deleting the list item getting this error.

You may encounter possible 3 issue:

1) Your event recievers is executing something wrong.
Check your event handlers code. for detect the problem you may try to remove the event reciever(s) and test that issue is happening again.
It may cause by some buggy code belongs to triggered eventreciever or this event reciever has activated more than one time or not an appropriate time.if you have this kind of issue
i suggest  that use SPEventReceiverBase.EventFiringEnabled property to prevent unnecessery code execution when your event recievers triggered.

2) You may changing some  property of a list which is not to done in item level operations.
somehow you change high level setting or property of this list object  like SPList.EnableThrottling property , by design you should get fallowing error “The settings for this list have been recently changed. Refresh your browser before editing this list.” This is same scenario as while UserA who already editing a document metadata , changing Versioning settings of the current list by an administrator, UserA will get the error when he/she try to save his/her changes.

Check your source code for to be dangerous changes of list settings.So there is not any way to escape from this error while changing this kind of settings .Main rule is simple do not change list settings while you are working on list items.

3) It caused by a bug. Consider the following scenario:

  • You click the Variation link to configure the variation setting in a Windows SharePoint Services 3.0 publishing site.
  • You click the Variation Labels link to create two variation labels.
  • You click the Create Hierarchies link to create hierarchies.
  • You create a new publishing page in the source variation site.
  • You publish the new publishing page, and then you wait until the page propagation ends.
  • You edit the page in the destination variation site, and then you try to save it.

In this scenario, you receive the following error message.it is fixed by June CU 2011
http://support.microsoft.com/kb/2536591

If you have another one , please inform me .)

Advertisements

Sending meeting request form Sharepoint – Simple Meeting Request Project

Hello Everyone,

I have published more simple project for sending meeting request in codeplex.

Project Description: In this sample project you can able to send real meeting request form Sharepoint using EWS Managed Api 1.1 You can find answers for fallowing topics in this sample project :

How to use Exchange Web Services (EWS) Managed Api in Sharepoint.
How to use EWS Impersonation
How to manage EWS Appointment object
How to create a list definition with Content Approval
How to create a list definition with Custom Content Type
How to add/remove event recievers to specific list
How to use custom actions to add list settings page
How to use ULS Logging Service
How to use ElevetedPriviledges in Sharepoint Object Model.

Prerequisites:
*SharePoint 2010
*Exchange Server 2010
*Exchange Web Services (EWS) Managed Api v1.1
*Visual Studio 2010

For Download Project Source and WSP file

http://spssampleprojects.codeplex.com/releases/view/83437