Hi,
I have recently used windows.frameElement.CommonDialogClose function for some of the modal dialog popups. Also I have used SP.UI.ModalDialog.RefreshPage. Functionality wise, everything is working as expected. But it throws some web page error.Below are the error details :
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2) Timestamp: Sun, 2 Jun 2013 06:54:09 UTC Message: 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. Line: 1717 Char: 42 Code: 0 URI: http://test/ScriptResource.axd?d=ADzP05BhfuGyZfeifSHhDDYqb-CJOGq0PMdo5IroNm-d2xSm5egpMOKeoE8pCx0M6zHVdnrz-RVfOcnCQdaCg54J0Rw0SpT_RZKGV5fSSQThkbK1Fxzz4CB_nxc4d3VFbNKKPxKFnQFPRNsosfgSL1Ua4H-eHtomuQ3CFPNVQ29vA9hI0&t=fffffffff9d85fa6 Message: Sys.InvalidOperationException: Type SP.UI.DialogResult 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. Line: 2315 Char: 38 Code: 0 URI: http://test/ScriptResource.axd?d=ADzP05BhfuGyZfeifSHhDDYqb-CJOGq0PMdo5IroNm-d2xSm5egpMOKeoE8pCx0M6zHVdnrz-RVfOcnCQdaCg54J0Rw0SpT_RZKGV5fSSQThkbK1Fxzz4CB_nxc4d3VFbNKKPxKFnQFPRNsosfgSL1Ua4H-eHtomuQ3CFPNVQ29vA9hI0&t=fffffffff9d85fa6 Message: Sys.InvalidOperationException: Type SP.DateTimeKind 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. Line: 2315 Char: 38 Code: 0 URI: http://test/ScriptResource.axd?d=ADzP05BhfuGyZfeifSHhDDYqb-CJOGq0PMdo5IroNm-d2xSm5egpMOKeoE8pCx0M6zHVdnrz-RVfOcnCQdaCg54J0Rw0SpT_RZKGV5fSSQThkbK1Fxzz4CB_nxc4d3VFbNKKPxKFnQFPRNsosfgSL1Ua4H-eHtomuQ3CFPNVQ29vA9hI0&t=fffffffff9d85fa6 Message: Sys.InvalidOperationException: Type SP.PermissionKind 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. Line: 2315 Char: 38 Code: 0 URI: http://test/ScriptResource.axd?d=ADzP05BhfuGyZfeifSHhDDYqb-CJOGq0PMdo5IroNm-d2xSm5egpMOKeoE8pCx0M6zHVdnrz-RVfOcnCQdaCg54J0Rw0SpT_RZKGV5fSSQThkbK1Fxzz4CB_nxc4d3VFbNKKPxKFnQFPRNsosfgSL1Ua4H-eHtomuQ3CFPNVQ29vA9hI0&t=fffffffff9d85fa6
Any Idea why this is happening?
Many thanks