London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

custom property: Error: Can't load property type '(Namespace).CustomPropertiers.MyCustomProperty (NameSpace).Templates'

Vote:
 

In our solution we have several Custom Properties that work as expected. But when I add a new one and apply it to a page template, I get an error in edit mode:

Error: Can't load property type '(Namespace).CustomPropertiers.MyCustomProperty (NameSpace).Templates' 

This error appears as a JS alert when trying to expand the page tree in which the property is used. Everything works when I remove my custom property (or replace it with another).

I have made several attempts in creating the property with different approaches:

 

  1. Visual studio wizard -> add new custom property
  2. Copy/pasting the example in Denis Yakovlev's article http://world.episerver.com/en/Articles/Items/Creating-custom-properties-in-EPiServer-CMS-5/
  3. Copying one of our existing custom properties  and replacing classnames
but the problem persists. I seem to have exhausted my alternatives, so any help in resolving this issue is greatly apprecciated Frown
 

 

Ps: this might be discussed earlier, but I was unable to find any similar posts.

 

PR 

 

 

 

 

 

#25538
Oct 29, 2008 10:38
Vote:
 

Forgot to mention: when this error occurs, I am unable to open the pages whatsoever. I get this exception:

[EPiServerException: Can't load property type '(nnnnn).CustomProperties.MyCustomProperty.MyCustomProperty, (nnnnn).Templates']
EPiServer.Core.PropertyData.CreatePropertyDataObject(String assemblyName, String typeName) +633
EPiServer.DataAbstraction.PageDefinition.CreatePropertyData() +31
EPiServer.Core.PropertyDataCollectionFacade.EnsureAllPageTypeProperties(String languageBranch, PropertyDataCollection props) +481
EPiServer.Core.PropertyDataCollectionFacade.InitializeData(Boolean clearCommonProperties) +191
EPiServer.Core.PageDataFacade.InitializeData() +45 

 

#25539
Oct 29, 2008 10:54
Vote:
 

Ahem, this was a configuration error where Cruise Control failed to include the CP in build. 

Embarassed 

 

#25609
Oct 30, 2008 16:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.