Exception has been thrown by the target of an invocation.
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at GS.PflanzenCMS.Classes.PageCreator.createUserControl(IUserSession session, List`1 shortCodes, ShortCode shortCode, Boolean verbose, Boolean replace)
at GS.PflanzenCMS.Classes.PageCreator.Create(String code, Boolean onlyBlocks)
at GS.PflanzenCMS.Controllers.CMSController.Index(Nullable`1 version) at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at GS.PflanzenCMS.UserControls.Wizard.Initialize()
at GS.PflanzenCMS.UserControls.ShoppingCart.Initialize()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at GS.PflanzenCMS.Classes.PageCreator.createUserControl(IUserSession session, List`1 shortCodes, ShortCode shortCode, Boolean verbose, Boolean replace)
at GS.PflanzenCMS.Classes.PageCreator.Create(String code, Boolean onlyBlocks)
at GS.PflanzenCMS.Controllers.CMSController.Index(Nullable`1 version) at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at GS.PflanzenCMS.UserControls.Wizard.Initialize()
at GS.PflanzenCMS.UserControls.ShoppingCart.Initialize()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at GS.PflanzenCMS.UserControls.Wizard.Initialize()
at GS.PflanzenCMS.UserControls.ShoppingCart.Initialize()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at GS.PflanzenCMS.UserControls.Wizard.Initialize()
at GS.PflanzenCMS.UserControls.ShoppingCart.Initialize()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)