Server Error in '/' Application - License has expired


Does anyone know hos to fix this issue.  The Error occurs just after the Commerce Login screen.

I have created (serval) Parter Developer Liceses and copied to EPiServer website and Commerce website.

I have created EPiServer Incident at the servicedesk, but no result..


Server Error in '/' Application.

License has expired.

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.Licensing.LicenseException: License has expired.

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:

[LicenseException: License has expired. ]
   EPiServer.Licensing.LicenseData.Validate() +580

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +808
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
   System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2798
   Mediachase.Licensing.License.Load(String licenseData) +1167
   Mediachase.Licensing.LicenseManager.LoadLicense(String licenseData) +59
   Mediachase.Licensing.LicenseManager.LoadLicenseForComponent(String componentId) +134
   Mediachase.Licensing.LicenseManager.GetLicense(String componentId) +114
   Mediachase.Licensing.CommerceLicense.get_Instance() +111
   Mediachase.Licensing.CommerceLicense.CheckLicensing(Boolean useCache) +47
   Mediachase.Licensing.CommerceLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +28
   System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +277
   System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +82
   Mediachase.Commerce.Manager.Apps.Shell.Modules.UpTemplate.Page_Load(Object sender, EventArgs e) +54
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.4984; ASP.NET Version:2.0.50727.4971

Nov 21, 2013 13:58

Tried doing an iisreset after updating the license file? Do you have EPiServer.Licensing.dll in your bin folder?


Nov 21, 2013 14:41

Hi Frederik

I have tried to do a iisreset with admin and I have EPiServer.Licensing.dll in /bin

It's EPiServer 6.0 (Not R2) and Commerce 5.1


Nov 21, 2013 14:53
* 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.