Quantcast
Channel: Using Optimizely Platforms
Viewing all 8020 articles
Browse latest View live

Selection dropdown values not culture specific

$
0
0

Although forms supports multi language, it doesn't seem as though you are able to provide the values for a dropdown in anything other than the base language. 

Steps to reproduce:

Create a new form and add a Selection element. 

Switch to another language

You can't provide options in the needed language.


404 Handler logging HttpException

$
0
0

CMS 11.10.6

404Handler 11.1.12

We are getting the following HttpExceptions being logged for 404 and 301 statuses :

The controller for path '' was not found or does not implement IController.

The BVNetwork 404 Handler has the following configuration

The /ErrorPage/NotFound action has the NotFoundPage attribute applied

Nullreference exception in EPiServer.Commerce.Marketing.OrderFormPriceMatrix.CalculateAndCommit when redemption limit is exceeded.

$
0
0

Hi,

I'm running into following error when I have more products that apply to a discount than I have available redemptions.
In this case I'd have expected that the discount would only be applied on the first products. However i get a null reference error in OrderFormPriceMatrix.

We've implemented a custom RedemptionLimitService. I can see that the number of available redemptions returned is correct.

Any ideas?

We are running Commerce 11.8.2 and CMS 11.4

StackTrace:

at EPiServer.Commerce.Marketing.OrderFormPriceMatrix.CalculateAndCommit(AffectedEntries item, Func`3 apply)
at EPiServer.Commerce.Marketing.OrderRewardApplicator.ApplyPercentage(AffectedOrder item, Decimal percentage, PromotionProcessorContext processorContext)
at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.<>c__DisplayClass1_0.<Apply>b__1(TAffectedObject item)
at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.ForEach(Func`2 apply, IEnumerable`1 affectedItems)
at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.Apply(RewardDescription reward, RedemptionDescription redemption, PromotionProcessorContext processorContext)
at EPiServer.Commerce.Marketing.RewardApplicatorBase`1.Apply(RewardDescription reward, Int32 remainingRedemptions, PromotionProcessorContext processorContext)
at EPiServer.Commerce.Marketing.PromotionEngine.Run(IOrderGroup orderGroup, PromotionEngineSettings settings)
at EPiServer.Commerce.Order.IOrderGroupExtensions.ApplyDiscounts(IOrderGroup orderGroup, IPromotionEngine promotionEngine, PromotionEngineSettings settings)

Thanks in advance,

Brecht 

Commerce manager login fails: Default Membership Provider must be specified.

$
0
0

Hi,

I'm having issues when I try to login directly into commercemanager.

What works:
-Logging in locally in CMS and navigate to the commercemanager -> I do not need to log in and can use commerce manager without problems.

What doesn't:
-I navigate to the commercemanager in an incognito screen, I get the login form. After trying to login I get a "Default membership provider must be specified" error 
-Logging in on our azure test environment in CMS and navigate to the commercemanager: I get the same "Default membership provider must be specified" error

Default Membership Provider must be specified.
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: System.Configuration.Provider.ProviderException: Default Membership Provider must be specified.
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: 
[ProviderException: Default Membership Provider must be specified.]
   System.Web.Security.Membership.Initialize() +575
   System.Web.Security.Membership.get_Provider() +9
   Mediachase.Commerce.Manager.Login.LoginCtrl_Authenticate(Object sender, AuthenticateEventArgs e) +291
   System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +109
   System.Web.UI.WebControls.Login.AttemptLogin() +119
   System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +75
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +120
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3458

We use CMS 11.18 and Commerce 12.17.1

We are using aspnetidentity. this is our Owinstartup class in commerce manager:

using Frucon.CommerceManager;
using Microsoft.Owin;
[assembly: OwinStartup(typeof(OwinStartupCommerceManager))]
namespace Frucon.CommerceManager
{
    using System;
    using System.Linq;
    using System.Web.Configuration;
    using EPiServer.Cms.UI.AspNetIdentity;
    using EPiServer.ServiceLocation;
    using Frucon.Shared.Models.Entities;
    using Mediachase.Data.Provider;
    using Microsoft.AspNet.Identity;
    using Microsoft.AspNet.Identity.Owin;
    using Microsoft.Owin;
    using Microsoft.Owin.Security.Cookies;
    using Owin;
    public class OwinStartupCommerceManager
    {
        private readonly IConnectionStringHandler connectionStringHandler;
        public OwinStartupCommerceManager() : this(ServiceLocator.Current.GetInstance<IConnectionStringHandler>())
        {
            // Parameterless constructor required by OWIN.
        }
        public OwinStartupCommerceManager(IConnectionStringHandler connectionStringHandler)
        {
            this.connectionStringHandler = connectionStringHandler;
        }
        public void Configuration(IAppBuilder app)
        {
            app.AddCmsAspNetIdentity<SiteUser>(new ApplicationOptions
            {
                ConnectionStringName = this.connectionStringHandler.Commerce.Name
            });
            // Enable the application to use a cookie to store information for the signed in user
            // and to use a cookie to temporarily store information about a user logging in with a third party login provider.
            // Configure the sign in cookie.
            app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                LoginPath = new PathString("/Apps/Shell/Pages/Login.aspx"),
                Provider = new CookieAuthenticationProvider
                {
                    // Enables the application to validate the security stamp when the user logs in.
                    // This is a security feature which is used when you change a password or add an external login to your account.  
                    OnValidateIdentity = SecurityStampValidator.OnValidateIdentity<ApplicationUserManager<SiteUser>, SiteUser>(
                        validateInterval: TimeSpan.FromMinutes(30),
                        regenerateIdentity: (manager, user) => manager.GenerateUserIdentityAsync(user)),
                    OnApplyRedirect = context => context.Response.Redirect(context.RedirectUri)
                }
            });
        }
    }
}

Any idea what could go wrong?

Thanks in advance,

Brecht Vanneste

Modules routing returns blank output, wtf!

$
0
0

Hello Experts,

Latest version 11.12 CMS

I´ve set up a new site but no modules routes are working.

not /EPiServer/Cms/VisitorGroups

not /EPiServer/EPiServer.DeveloperTools/IOC

not /EPiServer/EPiServer.GoogleAnalytics/Administration

Just blank no html output

I do get to login before though

What can it be?

I do use feature folder setup, but thats just a simple change in DefaultPageController.

Where do I find the McCodeGen tool?

Change the default language

$
0
0

I have a multi-site setup and need to change the default language on one of the sites.

Is there a straight forward way to do this in Episerver, without effecting the other sites' configuration?

How to makes blocks searchable in episerver?

$
0
0

I have used below code for making blocks searchable.

ContentIndexer.Instance.Conventions.ForInstancesOf<BlockData>().ShouldIndex(x => true);

Why specific blocks are not searchable in edit mode?


Style and script tags are automatically removed from TinyMCE 2.7.0

$
0
0

Hello,

We have upgraded our solution from Epi 9 to Epi 11. Now we are facing an issue when we apply any "<style>" or "<script>" tag in the TinyMCE and save. it is automatically removed from the TinyMCE editor.

Anyone have any idea ?

Thanks

Ravindra

Real-time update error after upgrading to Episerver 11.11.3.0

$
0
0

Hello,

After upgrading to Episerver 11.11.3.0 I get the "real-time update" error when switching from the admin panel to the edit panel.

Websockets is enabled on the server. A similar Episerver site which was recently upgraded to 11.11.2.0 does not show this error.

Any ideas, anyone?

John Ligtenberg 

What is disadvantage of using Episerver version 8.10.2

$
0
0

What is disadvantage of using Episerver version 8.10.2 . what are risk and issue we might get to continue with this version -8.10.1

Real time connection could not be established error even if websocket is enabled in IIS

$
0
0

We have our Episerver site version 10.10 in Amazon s3 server. It had been hosted for a while and working fine until yesterday when we had a new deployment.

The error is in admin mode which says this (as shown in image)

I know this happens if Websocket feature is not enabled in IIS which is standard fix for this error. But this is already enabled and we have verified it many times in production server. What will be the other reason for this error? can anybody help me on this

Regards,

Ashish

Gadget/report for managing visitor group and it's usage on pages and block

What is EPiServer.Packaging.Converter?

Gets YSOD with "No parameterless constructor defined" for all controllers after upgrading to CMS 11.x

$
0
0

I am having YSOD with "No parameterless constructor defined" for all controllers, including the Start page  controller,  after upgrading to CMS 11.x .

Using StructureMap.

Any help or tip would be appreciated.

 

    Server Error in '/' Application. 
 

No parameterless constructor defined for this object. 

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: System.MissingMethodException: No parameterless constructor defined for this object. 
 
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:  
 
 

[MissingMethodException: No parameterless constructor defined for this object.]System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +139 System.Activator.CreateInstance(Type type, Boolean nonPublic) +105System.Activator.CreateInstance(Type type) +12System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +75 [InvalidOperationException: An error occurred when trying to create a controller of type 'DAP.Web.Controllers.Pages.StartPageController'. Make sure that the controller has a parameterless public constructor.]System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +258System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1020System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128  

 
 
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0 


Episerver CMS Visual Studio 2019 Extension

$
0
0

When Can we expect Episerver CMS Visual Studio 2019 Extension?

Disable/circumvent Epi Forms saving data on Submit

$
0
0

It seems Epi is storing submission data somewhere, for example when using the form stepper, clicking "Next step" will trigger a Submit and data is saved. If I reload the page, the fields will populate with that previously saved data. Disabling javascript or disabling cookies will prevent this behaviour, but that's not an option.

We have custom Save/Send logic for our implementation that does not utilize Epis Submit event, thus causing a conflict with how data is populated (we use an external data source). 

I tried implementing my own Controller and overriding the Submit method, simply returning a new EmptyResult, this will prevent Epi from saving data but it will also break the stepper functionality as it relies on the server returning something to trigger a step change.

I want to use the stepper component, but I do not want it to Submit data on step change, can this be solved? Or if it must save data, can I disable the population of said data?

Unable to create new blocks after upgrade to CMS 11.18, tried another upgrade to 11.19.1 still same issue

$
0
0

Hi there,

Has anyone come across this weird issue which I am facing since upgrade to Episerver cms version 11.18. The issue is that when I try to create a new block in content area or under global blocks folder, I'm unable to create it. The weird part is on integration environment I am able to see the block in the list on clicking add new block button(in global and content area both) but gives below error when I click on create button.

However on preproduction I don't even see the block in anywhere in the list (neither on global blocks folder nor on trying under content area with where it's added to the allowed types list). Stranger is that it did appear once in the list on initial code deployment and web service restart on preprod too. However, it stopped showing after I tried creating it, when it gave me same error as below I got on integration. On cancelling and retrying on some other page content area or under global folder it stopped appearing in the blocks type list :(

P.S.- I also tried upgrading to 11.19.1 still same error when creating any new blocks. I have already used the workaround to insert or delete from tblContentTypeToContentType which only fixes this issue temporarily and have to do it for every new block type hence can't be the solution.

Error -  "EPiServer.Global : Unhandled exception in ASP.NET
EPiServer.Core.EPiServerException: Content type "MyBlock" is not allowed to be created under parent of content type "SysContentAssetFolder""

There also a similar dojo javascript in console - _317 {message: "Unable to load /EPiServer/cms/Stores/contentdata/ status: 500", response: {…}, status: 500, responseText: "<!DOCTYPE html> ↵<html> ↵ <head> ↵ <titl…nStep step, Boolean& completedSynchronously) ↵-->", xhr: XMLHttpRequest, …}

Console Stack - "Error: Unable to load /EPiServer/cms/Stores/contentdata/ status: 500 at new _317 (http://localhost:31337/EPiServer/Shell/11.19.1/ClientResources/dojo/dojo.js:15:78148) at _2f1._4f2 [as handleResponse] (http://localhost:31337/EPiServer/Shell/11.19.1/ClientResources/dojo/dojo.js:15:133806) at XMLHttpRequest._4fe (http://localhost:31337/EPiServer/Shell/11.19.1/ClientResources/dojo/dojo.js:15:134085)"

I don't think it is related but we have also recently installed ContentDeliveryApi, which I tried uninstalling to see if it fixes this issue but it did not. I then tried to downgrade it to previous version of 11.17.1 which fixed this but I want to know is this is a known issue with upgarded version of CMS or something wrong happened with our upgarde causing this issue?

Any help is appreciated, Thanks.

EPiServer.CMS.UI.* 11.19.1 packages break content area 'create new block' link functionality

$
0
0

If you install the EPiServer.CMS.UI.* 11.19.1 packages the link in content are 'create new block' stops to work.

Instead of listing all possible blocks or blocks limited by the AllowedTypesAttribute you see nothing - the UI breaks and basically has nothing.

Quick workaround is to create thenew block in the Blocks tab in assets panel.

So stick with EPiServer.CMS.UI.* 11.19.0 packages. A support ticket about this has been created.

Commerce Manager -> Admin -> Catalog System sub items are missing

$
0
0

Hey champs,

I have a weird situation that in commerce manager the "Meta Field" (and all other children) of the "Catalog System" is missing:

Any help appreciated.

Regards,

Aria

Viewing all 8020 articles
Browse latest View live


Latest Images