Thursday, April 5, 2012

Error : Type SP.PermissionKind has already been registered.

For the first time using ECMAscript the following error i got it which is
"Error : Type SP.PermissionKind has already been registered."
By seeing the error i thought some thing is registered twice.
Find any script tag which is pointing to /_layouts/SP.js as source.if it is there remove it.
So i simply removed "script" tag which is using "SP.js" as source file.
Now deployed my code this time i didnt get any error.

This SP.js file is already registered in master page.SO no need to use again in ECMAScript.

1 comment:

  1. Exactly am also did the same...its working thanks

    ReplyDelete