Monday 15 July 2013

The dependent component WebResource (Id=(webresource_main_system_library.js) does not exist. Failure trying to associate it with SystemForm (Id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx) as a dependency. Missing dependency lookup type = PrimaryNameLookup.

Hi ,

Last few days i was facing one error while publishing my custom entity which got imported from CRM 4.0.

Error :

The dependent component WebResource (Id=(webresource_main_system_library.js) does not exist. Failure trying to associate it with SystemForm (Id=) as a dependency. Missing dependency lookup type = PrimaryNameLookup.


I have resolved this by doing the following step.


1) Queried the form id (which i got in the error log) in Systemform table.

2) In the result window, i got one column which xml values.

3) Copied and opened the xml in vs xml editor or notepad.Then searched for the webresource name (which i got in the error log).

4) Then i found the dependent fields.

5) I removed that field from the form. Saved and Published.

6) Then again i added the removed field and published.


Check this Post


Thanks.... Enjoy.....................


No comments:

Post a Comment