Freigeben über


Could not load type ‘Microsoft.ContentManagement. WebAuthor.PostingProperties’

sometimes you  deploy a new CMS 2002 site and you will see above error message or “could not load type” for CMS pages. It means that page is trying to load find the class but it doesn’t exist. So best tool to troubleshoot this type of issue is Assembly Binding Log Viewer (Fuslogvw.exe). You can run this tool and request the culprit page in the browser it will let you know that what are assemblies requested and what is the result of the call.

In my case, it told me that page was not calling for Microsoft.ContentManagement. WebAuthor.dll” . So I tried to find out whether this assembly was added in the web.config.

image

 

Here is the code snippet which requires to be add in the web.config file :-

    1: <add assembly="Microsoft.ContentManagement.Common, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    2:         <add assembly="Microsoft.ContentManagement.Publishing, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    3:         <add assembly="Microsoft.ContentManagement.Publishing.Extensions.Placeholders, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    4:         <add assembly="Microsoft.ContentManagement.Publishing.Extensions.Placeholders.Office, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    5:         <add assembly="Microsoft.ContentManagement.Web, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    6:         <add assembly="Microsoft.ContentManagement.WebAuthor, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    7:         <add assembly="Microsoft.ContentManagement.WebControls, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>