New developer with problem: "Can't load property type"

A new developer in my team is experiencing problems when setting up R2 in his dev environment. This is the error message & call stack. Anyone seen this before? He is accessing the same database as the other developers.

Can't load property type 'EPiServer.CustomProperties.PropertyAlertMessageCollection, EPiServer.Templates.Public'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: EPiServer.Core.EPiServerException: Can't load property type 'EPiServer.CustomProperties.PropertyAlertMessageCollection, EPiServer.Templates.Public'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[EPiServerException: Can't load property type 'EPiServer.CustomProperties.PropertyAlertMessageCollection, EPiServer.Templates.Public']
EPiServer.Core.PropertyData.CreatePropertyDataObject(String assemblyName, String typeName) +649
EPiServer.DataAccess.PageDB.ReadProperty(IDataReader reader, PropertyDataType dataType, Boolean readTypeName, Boolean readData) +180
EPiServer.DataAccess.PageLoadDB.LoadPageInternal(PageReference pageLink, Int32 languageBranchId, IDataReader reader) +448
EPiServer.DataAccess.PageLoadDB.LoadPage(PageReference pageLink, Int32 languageBranchID) +249
EPiServer.LocalPageProvider.GetLocalPage(PageReference pageLink, ILanguageSelector selector) +195
EPiServer.Core.<>c__DisplayClass4.b__3() +98
EPiServer.Core.OptimisticCache`1.Read(String cacheKey, ReadAndCacheObject`1 readAndCacheObject) +1094
EPiServer.Core.PageProviderBase.GetPageInternal(PageReference pageLink, ILanguageSelector selector) +585
EPiServer.Core.PageProviderBase.GetPage(PageReference pageLink, ILanguageSelector selector) +45
EPiServer.DataFactory.GetPage(PageReference pageLink, ILanguageSelector selector) +168
EPiServer.PageBase.GetPage(PageReference pageLink) +156
EPiServer.Web.PageExtensions.SaveCurrentPage.get_CurrentPage() +198
EPiServer.PageBase.get_CurrentPage() +16
EPiServer.Web.PageExtensions.ContextMenu.SetupOnPageEdit() +89
EPiServer.Web.PageExtensions.ContextMenu.RegisterMenuScripts(Object sender, EventArgs e) +72
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +12
EPiServer.PageBase.OnInit(EventArgs e) +325
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

 


  • Could it be that someone has created a custom property, compiled it, tested it locally, making EPiServer put the definition in the database (autoregistering it).

    But the code with the actual property has not been checked in yet, and thus, he cannot load it.

     /Steve

  • Thanks, Steve - as always, the solution is only seconds away. Three years since my last EPiServer projects couldn't avoid to have an impact. You were right Cool of course. More newbie questions to follow...

  • hello guys,

    I am newbie here, also with the EPIServer. I got the same error regarding "Can't load property type" issue.

    Below is the error details, pls help to ressolve on it.

    Can't load property type 'Sitemap.PageProperties.ChangeFrequency, Sitemap'
    
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: EPiServer.Core.EPiServerException: Can't load property type 'Sitemap.PageProperties.ChangeFrequency, Sitemap'
    
    Source Error:
    
    Line 18:             if (!Page.IsPostBack)
    Line 19:             {
    Line 20:                 DynamicProperty dynPropReferences = DynamicProperty.Load(CurrentPage.PageLink, "references");
    Line 21:                 if (dynPropReferences != null)
    Line 22:                 {
    
    
    Source File: C:\egenita\web apps\e-man kigwa\Units\DropDownMenu.ascx.cs    Line: 20
    
    Stack Trace:
    
    [EPiServerException: Can't load property type 'Sitemap.PageProperties.ChangeFrequency, Sitemap']
       EPiServer.Core.PropertyData.CreatePropertyDataObject(String assemblyName, String typeName) +653
       EPiServer.DataAccess.PageDB.ReadProperty(IDataReader reader, PropertyDataType dataType, Boolean readTypeName, Boolean readData) +185
       EPiServer.DataAccess.<>c__DisplayClass3.b__2() +342
       EPiServer.DataAccess.<>c__DisplayClass1`1.b__0() +58
       EPiServer.DataAccess.DatabaseFactory.Execute(Action`1 method) +55
       EPiServer.DataAccess.DataAccessBase.Execute(Action`1 action) +247
       EPiServer.DataAccess.DynamicPropertiesDB.Load(PageReference pageLink) +238
       EPiServer.DataAbstraction.DynamicProperty.Load(PageReference pageLink, String propertyName) +38
       eman.Public.Units.DropDownMenu.Page_Load(Object sender, EventArgs e) in C:\egenita\web apps\e-man kigwa\Units\DropDownMenu.ascx.cs:20
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    

        

     

  • You are probably missing a dll-file called Sitemap.dll in you solution.

  • @Erik Nordin: Thank you very much :D It's indeed no Sitemap.dll file to my local bin. :D Thanks again...!!

First   1   Last