SaaS CMS has officially launched! Learn more now.



Hello all,

I'm trying to start development on a pre-existing site. I copied the live site to my development machine and replaced the license.config file with my developer license file.

I had to change various connection strings etc. to get it working but once i did i receive the following error:

LicenseException: A error occured while loading the license file [Could not load file or assembly 'ElektroPost.Licensing, Version=6.0.318.89, Culture=neutral, PublicKeyToken=6c80515f031c7fe6' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

The version of the electropost.licensing DLL is

I believe the web.config file refers to this version ( correctly (see below)

    <assemblyIdentity name="ElektroPost.Licensing" publicKeyToken="6c80515f031c7fe6" culture="neutral"/>
    <bindingRedirect oldVersion="" newVersion=""/>

The license.config file refers to version 6.0.318.89 (see below)

        <VersionRestriction From="4.20" To="4.9999" Type="ElektroPost.Licensing.RestrictionTypes.VersionRestriction, ElektroPost.Licensing, Version=6.0.318.89, Culture=neutral, PublicKeyToken=6c80515f031c7fe6" />
        <MACRestriction Address="xxxxxxxxxxxx" Type="ElektroPost.Licensing.RestrictionTypes.MACRestriction, ElektroPost.Licensing, Version=6.0.318.89, Culture=neutral, PublicKeyToken=6c80515f031c7fe6" />
        <ValidToRestriction Date="04/04/2010 00:00:00" Type="ElektroPost.Licensing.RestrictionTypes.ValidToRestriction, ElektroPost.Licensing, Version=6.0.318.89, Culture=neutral, PublicKeyToken=6c80515f031c7fe6" />

Is this something i can fix, or do i need a different license.config file?

Any help is much appreciated.


Feb 11, 2010 14:58

You have to register the electropost dll information into your GAC(c:\windows\assembly) . Drag the dll and drop it into the GAC(c:\windows\assembly) and do a iisreset  and then refresh your page.

Please let me know still you are having issues

Many thanks,
Lakshmi narayanan



Edited, Feb 16, 2010 6:49

You have to registered the ElektroPost.Licensing dll into your GAC(c:\windows\assembly). Drag ElektroPost.Licensing dll in to your GAC(c:\windows\assembly) and do a iisreset and refresh the page.

Please let me know if you still facing the issue.

Thanks and regards
Lakshmi narayanan



Feb 16, 2010 6:57

Hi George,

This problem appeared after we deployed latest build on license portal. This issue has already been fixed so creating a new license file for episerver cms-4 will solve your issue.


Feb 16, 2010 8:10

Hi, I have a simular problem. I'm using demo licenses when developing our website, but today there seems to be changes in how the demo license is created. Now a version attribute is added to the license file, and our 4.62 site does'nt recognize version of Electropost.Licensing dll and throws me an LicenseException. Is this change permanent, or just a problem like Shahid mentioned her?



Mar 09, 2011 15:56

Hi Kai,

Unfortuntely we got the same problem after deploying latest build on license portal. We are currently working on and will update you once we solve it.


Mar 09, 2011 16:16

Hi Shahid, thanks for your quick reply. I'll just wait for your update, thanks for your time.


Mar 09, 2011 17:37


We have updated the license portal just now. You need to get a new license to get it work. Let me know if you get any problem (I HOPE NOT :)).

Mar 10, 2011 10:33

Hi, thanks for your help and time in solving my issue (and yours;-)), now its possible to create demo license without the version attribute in the Electropost.Licensing tags. Thanks again and have a nice day




Mar 10, 2011 11:30
* 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.