Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all 9642 articles
Browse latest View live

Remove Expired Carts scheduled job is failing

$
0
0

When running the Remove Expired Carts sheduled job that you get OOB with EPiServer CMS i'm getting the following error in the logs.  I'm running on my local development box so i have the .pdb's in the bin.

CMS Version:  11.8

Commerce: 12.2



2018-12-07 10:30:39,653 [135] ERROR EPiServer.DataAbstraction.ScheduledJob: Job EPiServer.Business.Commerce.ScheduledJobs.RemovedExpiredCartsJob failed for the job 'Remove Expired Carts' with jobId ='c7bfa31f-c7e2-4407-823d-dd7ba1381bef'

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
     at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
     at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
     at System.String.Format(IFormatProvider provider, String format, Object[] args)
     at EPiServer.Business.Commerce.ScheduledJobs.RemovedExpiredCartsJob.RemoveExpired(Int32 daysOld, String excludedCartName) in E:\BuildAgent\work\d8206f92e5515c89\EPiServer.Business.Commerce\ScheduledJobs\RemovedExpiredCartsJob.cs:line 119
     at EPiServer.Business.Commerce.ScheduledJobs.RemovedExpiredCartsJob.Execute() in E:\BuildAgent\work\d8206f92e5515c89\EPiServer.Business.Commerce\ScheduledJobs\RemovedExpiredCartsJob.cs:line 71
     at EPiServer.Scheduler.Internal.DefaultScheduledJobExecutor.<Execute>d__31.MoveNext()

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
     at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
     at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
     at System.String.Format(IFormatProvider provider, String format, Object[] args)
     at EPiServer.Business.Commerce.ScheduledJobs.RemovedExpiredCartsJob.RemoveExpired(Int32 daysOld, String excludedCartName) in E:\BuildAgent\work\d8206f92e5515c89\EPiServer.Business.Commerce\ScheduledJobs\RemovedExpiredCartsJob.cs:line 119
     at EPiServer.Business.Commerce.ScheduledJobs.RemovedExpiredCartsJob.Execute() in E:\BuildAgent\work\d8206f92e5515c89\EPiServer.Business.Commerce\ScheduledJobs\RemovedExpiredCartsJob.cs:line 71
     at EPiServer.Scheduler.Internal.DefaultScheduledJobExecutor.<Execute>d__31.MoveNext()


Loading edit mode very slowly every once in a while

$
0
0

Hi!

Sometimes when trying to enter edit mode, it takes several minutes to load it even though no restart of the application has happened or anything. From what I have been able to find out so far, the longest time is spent in the database. Where some GET requests to Home/Index that is /episerver/cms takes as long as 2,5 minutes (where nearly 100% of it is spent in the database). Where it makes 1600 sql queries.

SELECT Id, ItemType FROM [dbo].[VW_EPiServer.Shell.Profile.ProfileData] WHERE [UserName] = @UserName

SELECT Id, ItemType,[UserName] FROM [dbo].[VW_EPiServer.Shell.Profile.ProfileData] WHERE [StoreId] = @StoreId

SELECT tblBigTableReference.ElementType, tblBigTableReference.ElementStoreName, tblBigTableReference.PropertyName, tblBigTableReference.RefIdValue, tblBigTableIdentity.Guid, tblBigTableReference.LongValue, tblBigTableReference.Type, tblBigTableReference.StringValue, tblBigTableReference.ExternalIdValue, tblBigTableReference.DecimalValue FROM [dbo].[tblBigTableReference] LEFT OUTER JOIN [dbo].[tblBigTableIdentity] ON tblBigTableReference.RefIdValue = tblBigTableIdentity.pkId WHERE tblBigTableReference.pkId= @Id AND (tblBigTableReference.Type = @Reference OR tblBigTableReference.Type = @Provider)

SELECT c.name AS column_name,t.name AS type_name,c.max_length,c.precision,c.scale, CAST(CASE WHEN EXISTS(SELECT * FROM sys.index_columns AS i WHERE i.object_id=c.object_id AND i.column_id=c.column_id) THEN 1 ELSE 0 END AS BIT) AS column_indexed FROM sys.columns AS c JOIN sys.types AS t ON c.user_type_id=t.user_type_id WHERE c.object_id = OBJECT_ID('tblBigTableReference') ORDER BY c.column_id;

SELECT CollectionType, ElementType, ElementStoreName, IsKey, [Index] Indexvalue, [BooleanValue], [IntegerValue], [LongValue], [DateTimeValue], [GuidValue], [FloatValue], [StringValue], [BinaryValue], [RefIdValue], [ExternalIdValue], [DecimalValue], tblBigTableIdentity.Guid FROM [dbo].[tblBigTableReference] LEFT OUTER JOIN [dbo].[tblBigTableIdentity] ON tblBigTableReference.RefIdValue = tblBigTableIdentity.pkId WHERE tblBigTableReference.pkId = @pkId AND PropertyName=@PropertyName ORDER BY [Index] ASC, IsKey DESC

SELECT TOP(1) "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage".Id, "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage".ItemType, "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage"."UserName", "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage"."ViewName" FROM [dbo].[VW_EPiServer.Shell.Storage.PersonalizedViewSettingsStorage] as "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage" WHERE ("EPiServer.Shell.Storage.PersonalizedViewSettingsStorage".[UserName] = @Param0 AND "EPiServer.Shell.Storage.PersonalizedViewSettingsStorage".[ViewName] = @Param1)

netNotificationSubscriptionListByKey

SELECT [Limit1].[UserId] AS [UserId], [Limit1].[PropertyNames] AS [PropertyNames], [Limit1].[PropertyValueStrings] AS [PropertyValueStrings], [Limit1].[PropertyValueBinary] AS [PropertyValueBinary], [Limit1].[LastUpdatedDate] AS [LastUpdatedDate] FROM ( SELECT TOP (1) [Extent1].[UserId] AS [UserId], [Extent1].[PropertyNames] AS [PropertyNames], [Extent1].[PropertyValueStrings] AS [PropertyValueStrings], [Extent1].[PropertyValueBinary] AS [PropertyValueBinary], [Extent1].[LastUpdatedDate] AS [LastUpdatedDate] FROM [dbo].[Profiles] AS [Extent1] INNER JOIN [dbo].[Users] AS [Extent2] ON [Extent1].[UserId] = [Extent2].[UserId] INNER JOIN [dbo].[Applications] AS [Extent3] ON [Extent2].[ApplicationId] = [Extent3].[ApplicationId] WHERE (((LOWER([Extent3].[ApplicationName])) = (LOWER(@p__linq__0))) OR ((LOWER([Extent3].[ApplicationName]) IS NULL) AND (LOWER(@p__linq__0) IS NULL))) AND (((LOWER([Extent2].[UserName])) = (LOWER(@p__linq__1))) OR ((LOWER([Extent2].[UserName]) IS NULL) AND (LOWER(@p__linq__1) IS NULL))) ) AS [Limit1]

netSynchedUserList

Where it keeps re-iterating between the last two for the remaining 1580 queries, i'm assuming by iterating through all users or something. Does anyone recognize this problem? It is currently not a very good way for the editors to work if the site takes 2+ minutes to load sometimes.

Br,

Erik

Specified payment method " {payment.PaymentMethodId)}" has not been defined.

$
0
0

Hi All,

We are seen strange error when try to get 'Payment Methods' from the episever CMS site for some users. Please see error details as follow,

ERROR MESSAGE:

Server Error in '/' Application.
Specified payment method "{payment.PaymentMethodId)}" has not been defined.
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: Specified payment method "{payment.PaymentMethodId)}" has not been defined.

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: Specified payment method "{payment.PaymentMethodId)}" has not been defined.]
EPiServer.Commerce.Order.DefaultPaymentProcessor.CreatePaymentGatewayProvider(IPayment payment) +760
EPiServer.Commerce.Order.DefaultPaymentProcessor.ProcessPayment(IOrderGroup orderGroup, IPayment payment, IShipment shipment) +151
System.Linq.WhereSelectListIterator`2.MoveNext() +117
System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +526
EPiServer.Commerce.Order.IOrderGroupExtensions.ProcessPayments(IOrderGroup orderGroup, IPaymentProcessor paymentProcessor, IOrderGroupCalculator orderGroupCalculator) +558
GreenCrossHealth.EpiServer.Services.Commerce.CartService.ProcessPayment(ICart currentCart, PaymentDetailsForm paymentDetailsForm) in E:\build-dir\11665409\GXH-BFD-BC\Source\GreenCrossHealth.EpiServer.Services\Commerce\CartService.cs:657

We are using EpiServer Ver 11.

Could you please help me to resolve this issue?

Thanks

Unable to Export Media Assets from between Environments

$
0
0

I am trying to export Media assets from my local environment to dev environment in my DXC.when I am trying to import the zip file which i have exported from the local environment in DXC I am getting failure message.It is almost 400 MB.I tried to increase  maxRequestLength parameter in Web.config but no luck.As  maxRequestLength is int32 my request size is beyond that limit.Can any one help me with this?

Error logs issue in DXC

$
0
0

Hi,

I am working on a website that is running in DXC. When we get the application log from paasportal.episerver.net we have noticed that all the errors are shown as:

"EPiServer.Global : Unhandled exception in ASP.NET 
System.InvalidOperationException: The model item passed into the dictionary is of type 'System.Web.Mvc.HandleErrorInfo', but this dictionary requires a model item of type 'SearchResultsPageViewModel'."

this is even when i manually add a line to a view file that throws an error with a specific message, where i should be seeing something like:

"EPiServer.Global : Unhandled exception in ASP.NET 
System.Exception: test 
at ASP._Page_Views_Pages_HomePage_cshtml.Execute()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() 
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() 
at System.Web.WebPages.StartPage.ExecutePageHierarchy()
etc.

I'm trying to work out if i need to configure the site differently to work on DXC and to get the correct error messages. One thing we have noticed is that when we turn CustomErrors off in the web config we get the correct error details in the application log, even though it is using the same html file to display the error message. Obviously we want to keep custom errors turned on in production so this isn't really a fix.

I'm really confused, has anyone set up a DXC site where logging is working correctly? what did you have to do differently to a regular episerver website?

Thanks in advance

Sam

EPiServer.Search.Queries.Lucene.VirtualPathQuery stops to work if VirtualPathNodes count > 6

$
0
0

Hello,

We use EpiServer.CMS - 11.10.6, EPiServer.Search - 9.0.1.

Customer asked us to implement contextual search (depends on the selected folder) in CMS Page Navigation tree and Assets Panel search boxes. We supported it from the client side but faced with an issue of PageSearchProvider, FileSearchProvider and BlockSearchProvider.

Search(Query query) method returns no results if query.SearchRoots contains a node which is deeper than 6 level:

            if (ContentReference.TryParse(query.SearchRoots.ToList().FirstOrDefault(), out ContentReference reference2))

            {

                var paths = ContentSearchHandler.GetVirtualPathNodes(reference2);

                if (paths.Count > 6)

                {
                    SearchProvider.Search(query); ==================> No Results

                }

            }

We’ve investigated this behaviour and found that VirtualPathQuery stops to work if VirtualPathNodes count  > 6.

For example:

EPISERVER_SEARCH_VIRTUALPATH:(43f936c9\-9b23\-4ea3\-97b2\-61c538ad07c9|e56f85d0\-e833\-4e02\-976a\-2d11fe4d598c|0b5aa5ef\-257d\-47be\-ab4a\-d085a5211948|a1aaa87f\-cb7a\-4285\-80ac\-a08ef4df5f66|057d00af\-2834\-4866\-9f7d\-327e9a928fa3|755eab30\-dfbb\-44be\-b4ff\-752467b1a4d9*) -> returns correct results

EPISERVER_SEARCH_VIRTUALPATH:(43f936c9\-9b23\-4ea3\-97b2\-61c538ad07c9|e56f85d0\-e833\-4e02\-976a\-2d11fe4d598c|0b5aa5ef\-257d\-47be\-ab4a\-d085a5211948|a1aaa87f\-cb7a\-4285\-80ac\-a08ef4df5f66|057d00af\-2834\-4866\-9f7d\-327e9a928fa3|755eab30\-dfbb\-44be\-b4ff\-752467b1a4d9|d39ee414\-e083\-4650\-a33e\-c2128423601c*)  -> no results

As a workaround we can implement custom SearchProviders with another implementation of VirtualPathQuery but it requires to copy/paste a lot of code from EPiServerSearchProviderBase it is what we would like to avoid.

Would you please give us any advice or maybe we are missing anything?

Thanks,

Olga.

Episerver search indexing service problem

$
0
0

Hi

Episerver version: 7.61
Server: Windows server 2016

Requiremet server features is don,  both .net 3.5 +.net 4/4.5 Featues > WCF Service and http activations, web.config ok etc.

Still got error,  i dont get it is there something missing:

Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http].

Help!

How to override authentication behavior?

$
0
0

I have a MVC project running episerver and are setting up identityserver authentication. Logging in and out works just fine, but when I try to access a page that require a role I get stuck in a redirect loop:

  • Epi says I am unauthorized (due to missing role, i am authenticated) and redirects to IDS
  • IDS says I am authenticated (I am, but I am missing a role to access a specific page) and redirects me back to Epi.


So what I would like to do is to hook up in the EPI authorization chain and redirect users that are unauthorized due to roles to a friendly page telling them that they do not have the required permissions to do this, while unauthenticated users get sent to the IDS.

I've been looking at the ContentController<T> and [AuthorizeContent] attribute but I cant find any way to override or extend or hook into either of those.

What I would really like to avoid is making a custom attribute and sticking this on every controller, or making a base controller that everything has to inherrit because it is a pretty large project with a lot of controllers and more being added regularly.


Personalisation + Validation

$
0
0

I've a 'ContentArea' with a 'LimitContentAreaItems' validator attribute attached, but my issue is that the editors may wish to personalize items in the ContentArea, but the validation attribute doesn't take Personalisation into account when counting the blocks in the contentArea. Is it possible for me to write my own custom validator that could allow, for example, 4 items, but 2 items in each visitor group, so that validator will see that there are only ever 2 items enabled at once? So in the example I want to limit it too 2 items, but allow several personalisations such that the contentArea actually has several more items than just the 2.

How to allow aspx files

$
0
0

I have a website running Episerver CMS hosted in an Azure webapp.

My goal is to display a 404 page when a user goes to www.mysite.com/test.aspx, This works locally on my IIS site, but when deployed to Azure instead of a 404 I get a 500 exception:

System.Web.HttpException (0x80004005): The file '/test.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath
 at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate
 at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate
 at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound
 at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp
 at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath
 at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute(
 at System.Web.HttpApplication.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0(
 at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Any recommendations?

Display options

$
0
0

I am trying to implement EPiServer display options without bootstrap and I am not quit sure wich steps I need to to to get it to work.. I have managed to get the chooises avaible in the editor, but I am not getting to choise with me to the backend, anyone have an exemple on a simple way to implement this without bootstrap?

Page Data info are not coming in search list

$
0
0

Hi All

In one of our applications, We are using google map to locate our customer's location.

We have created a page type (locator) in episerver CMS and getting input like  customer name ,latitude and longitude.

In User side we have search option to find the customers by name, Here we have issue .

Whatever newly created data are not coming in search list .

Coud you please anyone help me

Specified payment method " {payment.PaymentMethodId)}" has not been defined.

$
0
0

Hi All,

We are seen strange error when try to get 'Payment Methods' from the episever CMS site for some users. Please see error details as follow,

ERROR MESSAGE:

Server Error in '/' Application.
Specified payment method "{payment.PaymentMethodId)}" has not been defined.
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: Specified payment method "{payment.PaymentMethodId)}" has not been defined.

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: Specified payment method "{payment.PaymentMethodId)}" has not been defined.]
EPiServer.Commerce.Order.DefaultPaymentProcessor.CreatePaymentGatewayProvider(IPayment payment) +760
EPiServer.Commerce.Order.DefaultPaymentProcessor.ProcessPayment(IOrderGroup orderGroup, IPayment payment, IShipment shipment) +151
System.Linq.WhereSelectListIterator`2.MoveNext() +117
System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +526
EPiServer.Commerce.Order.IOrderGroupExtensions.ProcessPayments(IOrderGroup orderGroup, IPaymentProcessor paymentProcessor, IOrderGroupCalculator orderGroupCalculator) +558
GreenCrossHealth.EpiServer.Services.Commerce.CartService.ProcessPayment(ICart currentCart, PaymentDetailsForm paymentDetailsForm) in E:\build-dir\11665409\GXH-BFD-BC\Source\GreenCrossHealth.EpiServer.Services\Commerce\CartService.cs:657

We are using EpiServer Ver 11.

Could you please help me to resolve this issue?

Thanks

How to let a contact switch between organisations / login as - feature

$
0
0

Hi,

our client is asking for a feature, in which their employees (admins) have a list of Organizations, which they can switch to (login as).

We have some ideas with setting 1:N relations on CustomerContact, getting the Organizations who the contact has acccess to, but we are unaware about difficulties or problems which may come with this solution.

  • Is there anyone who has done something similar, how did you solve it?
  • Should we use relationships or use Roles instead?

Thanks, 

ChiChing

Service API Get Catalogs 404

$
0
0

Hi,

i have found this topic 
https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/10/getting-404-when-posting-catalog-zip-to-episerverapicommerceimportcatalog-from-c-/

I am trying to get the Catalog (https://world.episerver.com/documentation/developer-guides/Episerver-Service-API/catalog-restful-operations/Catalog/#get_catalogs)

But getting 404.

My users are setup in the system ( i have 2) one user is in WebAdmin and WebEditor groups and the second one is in Administrators and Web/Admin/Editor.
I have configured the permissions in the Admin mode so that both Administrators and WebAdmins have read/write permissions for Service Api

The SSL is disabled in Web.Config -> ApplicationSettings

I have also tried to 

<add key="episerver:serviceapi:maphttpattributeroutes" value="false" />


I am using postman.

Steps:
1. I generate a token for the user (tried with both users).
2. Than in postman i select [GET] to (CMS) http://localhost:14432/episerverapi/commerce/catalogs
3. In Postman, under Authorization, i select Type : Bearer Token and past the token  that i got under step 1.
4. Click [Send]

Result: 404

My catalog is very simple. I have a catalog called Alloy and just one Category page.

As mentioned the get version (currently on version 5.2 (is working)) and the Token is generated.
But as soon as i try a get operation concerning getting any catalog data (also tried to get my specific catalog named Alloy) i get 404

I have setup the the Alloy and than installed Commerce.
The site is up and running and i can see both my Category page and the default Alloy pages.



Any suggestions?





Custm ContentProvider throwing widget.js error after upgrade to episerver 11

$
0
0

Hi.

After upgrading to episerver 11 we are experiencing that one of our contentProviders are getting an error in the widget.js script. The error is this one:
TypeError: this.noDataMessages is null; can't access its "single" property[Learn More]widgets.js:2:558865

The error occures when i try to click on the root folder for the contentprovider, and no data is returned.
I have debugged through the contentprovider LoadChildrenReferencesAndTypes and LoadContent methods, and both are returning what is expected, but still no data in the cms. the initialization class is as follows:

[InitializableModule]
[ModuleDependency(typeof(InitializationModule))]
public class EmployeeDataProviderInitialize : IInitializableModule
{
public void Initialize(InitializationEngine context)
{
var contentRepository = context.Locate.ContentRepository();
var providerManager = context.Locate.Advanced.GetInstance<IContentProviderManager>();

var entryPoint = contentRepository.GetChildren<EmployeeRootFolder>(ContentReference.RootPage).FirstOrDefault();

if (entryPoint == null)
{
entryPoint = contentRepository.GetDefault<EmployeeRootFolder>(ContentReference.RootPage);
entryPoint.Name = EmployeeDataProviderSettings.ProviderDisplayName;
contentRepository.Save(entryPoint, SaveAction.Publish, AccessLevel.NoAccess);
}

var providerValues = new NameValueCollection
{
{ContentProviderElement.EntryPointString, entryPoint.ContentLink.ID.ToString()},
{ContentProviderElement.CapabilitiesString, ContentProviderElement.FullSupportString}
};

var employeeDataProvider = new EmployeeDataProvider();
employeeDataProvider.Initialize(EmployeeDataProviderSettings.Key, providerValues);
providerManager.ProviderMap.AddProvider(employeeDataProvider);

}

}

Has anyone else experienced this after upgrading? it was running on episerver 10.10.1, and are now running episever 11.10.1


In advance thanks for your help.
Best Regards
Pål

Quickest way to find out which EPiServer version you are running on a site

$
0
0

Are there any other places except for episerver.config where you can find out which version ("EPiServer 6" / "EPiServer 6 R2") of EPiServer the site was built on?

Usually I look in episerver.config and compare those numbers to the ones in Deployment Center to find out if it's "EPiServer 6" or "EPiServer 6 R2".

I have only been working with EPiServer 6 and EPiServer 6 R2 so those versions are the most relevant to the question.

Edit: Updated the two first paragraphs with what I mean by the word version.

What ElasticSearch version used with demo index?

Custom URL Rewriter Error in Episerver 8

$
0
0

Hi there, 

I'm trying to upgrade an episerver 7.5 site to 8, and I've run into an issue where the custom URL rewriter that we have no longer works. 

We have some ghost tabs on a site, that list the team working on a business line, and this "Our-Team tab does not have any physical representation in the tree. It just gets rendered by the template that the tab is rendered on. 

This was still working in Episerver 7, but having changed the UrlRewriteModule to EPiServer.Web.RoutingUrlRewriteModule. Here's the relevant lines from the Episerver.config:

<urlRewrite defaultProvider="CustomUrlRewriter">
<providers>
<clear />

<add description="True custom url rewriting" name="CustomUrlRewriter" type="True.Aspen.Enterprise.Classes.Extensions.CustomUrlRewriter,True.Aspen.Enterprise" />
</providers>
</urlRewrite>

So it looks like the ConvertToInternal method of the Custom URL rewriter does not get called any longer. Can I keep it somehow? If not, is there any way for me to route to it? How? 

Any help would be appreciated.

Gabor

Getting error: Uncaught TypeError: Cannot read property 'indexOf' of undefined after upgrade to Epi 11 and Forms 4.18

$
0
0

We recently upgraded our EPi 10.9 project to Epi 11 latest using the Nuget packages and datbase update. Most of our site looks great locally, but Epi Forms doesn't work at all. Whenver you click any button, you get this error:

WebResource.axd?d=fo49188920000000:2258Uncaught TypeError: Cannot read property 'indexOf' of undefined at validateElement
(WebResource.axd?d=fo49188920000000:2258) at HTMLDivElement.<anonymous>
(WebResource.axd?d=fo49188920000000:2229) at Function.each
(WebResource.axd?d=rQ36749188920000000:2) at n.fn.init.each
(WebResource.axd?d=rQ36749188920000000:2) at validateElementsIn
(WebResource.axd?d=fo49188920000000:2228) at HTMLButtonElement._formSubmissionHandler
(WebResource.axd?d=fo49188920000000:1659) at HTMLButtonElement.dispatch
(WebResource.axd?d=rQ36749188920000000:3) at HTMLButtonElement.r.handle (WebResource.axd?d=rQ36749188920000000:3)

We've tried almost everything. Lots of checking the web.config and the like. No dice.

Has anybody else gotten this?

Viewing all 9642 articles
Browse latest View live


Latest Images