Monthly Archives: July 2014

setParameter() not defined on null or undefined object in CRM 2011

After installing Rollup 15 at the clients CRM 2011 environment we encountered issues with some of our supported javascript files. One of the most time-consuming errors to find was the following:

setParameter() not defined on null or undefined object in CRM 2011

The reason for this error is that since RU12 the name of this function has changed to SetParameter() with uppercase letter S.

Tagged , ,

Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found

When trying to deploy my CRM plugin assymbly with the XRM Toolbox, I experienced the following error.

 

Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found. Confirm that the resource name “ErrorSerializingRegFile” is correctly spelled, and the resource exists in the task’s assembly.

 

errorRegisteringPlugin

After searching the internet I found the following forum post. It seems like the problem is coming from TFS. The Registerfile is read-only, but TFS tries to write to the file when deploying the solution. We can easily fix this. Just right click the “RegisterFile.crmregister” and choose “Check out for Edit…“.

 

checkoutforedit

 

Hope this small post helped you to stay productive.

Tagged ,