Wednesday, October 23, 2013

IE Crash When Adding a new List Item in to a List in Datasheet View

I came across an issue from one of the clients regarding Internet Explorer crash when user tried to a new list item in to a custom list. This list had many fields of around all field types including four to five Person or Group fields.

Reported Problem:
1. Can attach documents to existing rows, but cannot add a new row for a new item without Internet Explorer freezing. 
a. Click Debug and receive an “Unhandled win32 exception in iexplore.exe (10940)” error message
How it happens:
1. Either click New to add a new row in the Datasheet view, or go to the bottom of the datasheet and start populating fields in a blank row.
After populating all fields, and tabbing, the progress (activity) indicator above the clock will change from blank to green bars going back and forth. THEN, Internet explorer returns an error message, “Unhandled win32 exception in iexplore.exe (10940)”.

Resolution: 

SharePoint 2010 List Datasheet View has a known bug of this type, Microsoft  provides a hotfix (Click for Official Link to the Hotfix) named " Office 2010 hotfix package (Stslist-x-none.msp): October 30, 2012" for this issue. Download and update your server for the issue if it occurs for all lists. 

In my case, a similar list worked fine created from its template. The problem was just with the list. The last solution was to create a backup for the list and check all the field that possibly could cause the Problem 

Delete all the fields with Calculated field type and Person and Group field type  one by one and try testing the list again,I found out that a Person or Group field was responsible for the issue, I recreated it, stopped related workflow, cleared browser Cache but it was none of my use.

At last I found out that the field allowed multiple user selection, disallowing multiple selection (not needed in my case) resolved the issue.

I hope this helps :)





No comments:

Post a Comment