0

Environment: Sharepoint 2010 with Service Pack 2 .NET Framework 3.5 Windows: Windows 2008 R2 Visual Studio 2010

I am getting this error when I run the event receiver in the debugging mode and moved from one list item to another in SharePoint.

JavaScript runtime error: Sys.InvalidOperationException: Type SP.EnumerableArray has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.

FYI: I have not written any code in event receiver. Event Receiver created using farm solutions and deployed using Visual Studio 2010.

6
  • reason you might have this error is that you have some script files referenced more than once on page. Nov 5, 2015 at 11:37
  • would you share your code please Nov 5, 2015 at 11:37
  • For your information, i have no code in event receiver. public override void ItemUpdated(SPItemEventProperties properties) { base.ItemUpdated(properties); }
    – Ganee
    Nov 5, 2015 at 12:15
  • And also we are not adding any script file in our program.
    – Ganee
    Nov 5, 2015 at 12:16
  • 1
    Try setting compilation debug=false in the web.config. Nov 6, 2015 at 7:21

1 Answer 1

0

Please check the script references in your page. There might be multiple references to the same file causing this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.