Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

Application_Error:In use notification already exists.

$
0
0

Hi,

We have issues saving content in our production environment on DXC.
We also see following error being logged in application insights:

Application_Error:In use notification already exists.

There's no more information logged except that the source is "EPiServerApplication"

All I can find was this unresolved issue of a few years ago:

https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2016/11/ui-problems-with-publish/

What could be the issue here?

Best regards,

Brecht


Error occurred when removing the user in EpiServer - ArgumentNullException: The type cannot be null

$
0
0
I have used,
CommunitySystem.CurrentContext.DefaultSecurity.RemoveUser(IUser user);

To remove user (Just as the answer posted in this issue).

However, this works fine. But for one user it gives an error. The exception throws from the RemoveUser(IUser user).

The exception details are here as below,

System.ArgumentNullException: The type cannot be null. Parameter name: type 
at EPiServer.Data.Entity.Internal.EntityTypeResolver.GetTypeName(Type type, Boolean ignoreOverrideAttribute) 
at EPiServer.Common.ImplementationModule.HandleCommentAddUpdateRemove(IComment comment, SupportedOperations operation) 
at EPiServer.Common.Comments.CommentHandler.OnCommentUpdated(IComment comment) 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass32_0.b__0() 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass33_0`1.b__0() 
at EPiServer.Common.Comments.CommentHandler.UpdateComment(IComment comment) 
at EPiServer.Common.Data.FrameworkFactoryBase.CascadeUpdateStatus(IEntityStatus entity, ICollection`1 children) 
at EPiServer.Common.Data.CommentFactory.CascadeAuthorStatus(IAuthor author) 
at EPiServer.Common.AuthorEventHandler.Invoke(EntityEventArgs args) 
at EPiServer.Common.AuthorHandler.OnAuthorUpdated(IAuthor author) 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass32_0.b__0() 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass33_0`1.b__0() 
at EPiServer.Common.AuthorHandler.UpdateAuthor(IAuthor author) 
at EPiServer.Common.Data.FrameworkFactoryBase.CascadeUpdateStatus(IEntityStatus entity, ICollection`1 children) 
at EPiServer.Common.Security.Data.SecurityFactory.<>c__DisplayClass57_0.b__0() 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass32_0.b__0() 
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass33_0`1.b__0() 
at EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute[TResult](Func`1 method) 
at EPiServer.Common.Security.SecurityHandler.RemoveUser(IUser user)

I have decompiled the 'EPiServer.Common.ImplementationModule' and this is what the 'HandleCommentAddUpdateRemove(..)' has.

private static void HandleCommentAddUpdateRemove(IComment comment, SupportedOperations operation) {
    EntityReference commentedEntity = comment.CommentedEntity;
    IComment comment2 = null;
    CommentEventData commentEventData;
    if ((int) operation == 4) {
        comment2 = (IComment) comment.get_Master();
        if (comment2 == null || comment2.Status == comment.Status) {
            return;
        }
        commentedEntity = comment2.CommentedEntity;
        commentEventData = new CommentEventData(IEntityTypeResolverExtensions.GetTypeName(ServiceLocator.get_Current().GetInstance < IEntityTypeResolver > (), commentedEntity.get_Type()), commentedEntity.get_ID(), comment2.Status, -1);
        m_commentEvent.Raise(m_commentId, (object) commentEventData);
    }
    commentEventData = new CommentEventData(IEntityTypeResolverExtensions.GetTypeName(ServiceLocator.get_Current().GetInstance < IEntityTypeResolver > (), commentedEntity.get_Type()), commentedEntity.get_ID(), comment.Status, ((int) operation != 8) ? 1 : (-1));
    m_commentEvent.Raise(m_commentId, (object) commentEventData);
}

What causes this to happen ?

It seems like the below code returns 'Null'

commentedEntity.get_Type();

Any way to delete this user?

Additional info:

EPiServer.CommonFramework version=9.0.1
EPiServer.CMS.Core version=11.11.0
EPiServer.Community version=9.0.0

Asynchronous step submit

$
0
0

Hi, 

For performance and styling purposes we're required to post the steps of a form asynchronously. I haven't been able to find any information regarding this. Does anyone know if this is possible?

Kind regards

The required access level was "Edit, Publish".

$
0
0

I have scheduled a job for update and saving data in a page.

While triggering manually the scheduled job is working fine. But when setting scheduled job to automatic, the following error is logged. 

 Access was denied to content 54321_12345. The required access level was "Edit, Publish".

File upload fails after upgrading from EPiServer CMS 8 to EPiServer CMS 9

$
0
0

After upgrading a website from EPiServer CMS 8 to EPiServer CMS 9 we cannot upload files to the CMS in production. When trying to upload an image the status is set to Failed and when hovering over the status an error message “Object reference not set to an instance of an object.” appears. We cannot reproduce the error in test or development environment. When we restart the site in IIS in production, uploading files works fine for a couple of minutes and then starts failing again. I cannot find any useful information in the log file. I have checked the access rights to the folder on disk and it looks fine. I have also tried to debug the application against the production database but I cannot reproduce the error this way. Does anyone have an idea about what can cause this problem?

Issue with CMS Import over witting values in one language over another language

$
0
0

Hi

We are doing some consilidation of 2 different installations where we now import content from one site to another.

  1. First we import all pagetypes with "en" as the only lang to import, just so we can preview the outcome before importing all langs
  2. Second we want to import "sv":
    1. We tick the "Update existing content items with matching ID" box
    2. We choose same location
    3. We select "sv"

BUT the strange thing now is that "sv" is indeed added with correct value BUT "en" is also updated with the values from the swedish translation:

Does anyone have any clue on how this behaviour is caused?

EPI CMS version 11.3.1

Error removing the IUser - SqlException: Execution Timeout

$
0
0

I have used,

CommunitySystem.CurrentContext.DefaultSecurity.RemoveUser(IUser user);

To remove user.

However, this was working fine. But suddenly it has given an error. And it keeps happening forever. The exception throws from the RemoveUser(IUser user).

The exception details are here as below,

System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at EPiServer.Community.Forum.Data.ForumFactory.<>c__DisplayClass33_0.<UserRemovedCleanUp>b__0()
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass32_0.<ExecuteTransaction>b__0()
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass33_0`1.<ExecuteTransaction>b__0()
at EPiServer.Community.Forum.ForumModule.DefaultSecurity_RemovedUser(ISecurityHandler sender, IRemoveUserEventArgs args)
at EPiServer.Common.Security.RemoveUserEventHandler.Invoke(ISecurityHandler sender, IRemoveUserEventArgs args)
at EPiServer.Common.Security.SecurityHandler.OnRemoveUser(IRemoveUserEventArgs args)
at EPiServer.Common.Security.Data.SecurityFactory.<>c__DisplayClass57_0.<RemoveUser>b__0()
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass32_0.<ExecuteTransaction>b__0()
at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass33_0`1.<ExecuteTransaction>b__0()
at EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute[TResult](Func`1 method)
at EPiServer.Common.Security.SecurityHandler.RemoveUser(IUser user)

As per above error, it seems like it is happening due to a DB issue. But what DB? How Can I diagnose? What could cause this? Any help appreciated. Thank you.

Additional info:

EPiServer.CommonFramework version=9.0.1
EPiServer.CMS.Core version=11.11.0
EPiServer.Community version=9.0.0

Only sporadic indexing of content - ContentIndexer.Invisible?

$
0
0

We've been having big problems in our multi-server environment with the Find indexer not always indexing one or all properties of a document, or not at all. It seems to be isolated to the event based indexer, the scheduled job always indexes everything correctly. Trying to re-save the page multiple times some times helps, but most often not.

It's been working OK on the production and staging servers but the testing servers and the local development servers have been more or less impossible to work with, find-wise.

Find has given us no errors in the logs, and even a custom serialization trace writer more or less says everything is OK when it's not.

I finally tried to set ContentIndexer.Invisible to falseas per this answer on an old thread, and it seems to be working (still might be too early to tell but looks good so far). The docs say this setting forces the indexer to run in the shared event thread and not its own (it's true by default).

Does anybody know something about this and why it's happening and if it could be related to something else and not the thread setting? Can't seem to file a support ticket right now. Anyway it might help anyone else having weird indexing issues.


Is it possible to make an Entity Object (Business foundation) read only?

$
0
0

I have a case where the customer wants a custom Entity Object related to Contacts to be read only, in the sence that an admin (from Commerce Manager) should be able to create new instances of the object but never be able to change or delete existing ones. Is this possible to achieve? and how?

Thanks for any input!

EPiServer.GoogleAnalytics.InitializationModule beeing Init all the time

$
0
0
Hi guys,

i was wondering if anyone knows why this module is beeing init like 10000 times
We are running in the DXC and in the log files this appers every few seconds.

EPiServer.GoogleAnalytics.InitializationModule : Start to initialize virtual roles

In the begining i thought is was the GoogleAnalyticsAdministrators missing in virtual roles...but not, still coming

https://world.episerver.com/add-ons/google-analytics-for-episerver/configuring-google-analytics-for-episerver/

Anyone knows how to debug this to see who is trying to init this module all the time?

Is it something old in the DB?

Update to EPiServer.Marketing.KPI.Commerce for Commerce 13

$
0
0

Hi,

Does anyone have a ballpark time for when we can expect the EPiServer.Marketing.KPI.Commerce package to be updated for Commerce 13.0.0? Currently, it only supports all versions of Commerce 12.

See: nuget.episerver.com/package/?id=EPiServer.Marketing.KPI.Commerce

Thanks,

Jacob.

Primary key violations

$
0
0

Hi,

we've migrated an EPiserver CMS database to an Azure environment. When editing content the publish button doesn't appear. I've checked the logs and there are several primary key voilations in the logs.

e.g. Violation of PRIMARY KEY constraint 'PK_tblWorkContent'. Cannot insert duplicate key in object 'dbo.tblWorkContent'. The duplicate key value is (15305079).

We've tried fixing the issue by creating another backup and restore, but still getting the same error. Does anyone know what could be the reason for the primary key violations?

Thanks,

Danie

Page dosen't get Indexed When uses of short-cut feature

$
0
0
Hi 
I have been struggling with a issue that is connected to search functionality. When we use Episerver short-cut feature then page doesn’t  get indexed and it excluded in search. 
Thanks 
Avinash 

How to filter expired content

$
0
0

Hi!

We are experiencing that expired content shows up in the search result. We tried applying filterforvisitor, like shown below, but it didn't work. How can we filter out the expired content?

var visitorFilter = _findClient.BuildFilter<PageData>().FilterForVisitor();
var result = query.Filter(visitorFilter).SortBy(request.SortBy)
                              .Skip(skip)
                              .Take(pageSize)
                              .ApplyBestBets()
                              .FuzzyMatch(request.Query, x => x.Heading)
                              .FuzzyMatch(request.Query, x => x.MainIntro)
                              .GetContentResult();

Link Validation Commerce

$
0
0

Hi guys, as far as I am aware the SoftLink Validator job doesn't check commerce? I thought this was as the SoftLink Repository didn't work well with commerce but I vagulely remember some releases in the last year that might have solved that but can't remember off the top of my head. 

  1. Does softlink validation working with Commerce
  2. If not is there any third party plugins anyone knows of
  3. Does the softlink repository work with commerce so we could build our own

Thanks,
SCott 


Link validation for Commerce

$
0
0

We need to build a link validation scheduled job for Commerce, like the link validation for the CMS. Anyone with a best approach for this, I assume there is no plugin for that?

Or if it is possible to extend the scheduled job shipped in with the CMS?

Any help much appreciated.

/J

Linking to Marketing Content

$
0
0

Hello,

I am trying to create a link to marketing content, but the link is not being created on the front end.   Can someone point the way on how this works?   

Forums in Episerver

$
0
0

Hello Guys,

I want to implement a Forum and Discussion module in my Project similar to the Forum we are using here for Episerver Developer Community Forum. Is there any feature in Episerver to help in making Forum directly.

While Searching I found it was there in Episerver Relate but it now deprecated. But do it exist in any other Epi Module?

Regards,

Ashish Agrawal

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 

Cases with POS connected to Episerver commerce?

$
0
0

We have a potential client that want to explore the possibilities to use Episerver Commerce together with a POS (Point of Sale) solution.
I understand that basically any POS can talk to Episerver Commerce using APIs. But the client wants to see cases where this have been done.
If there is a POS already with connectors to Episerver that would of course be very interesting for the client when evaluating POS.

I'd appreciate any input or pointers.

Thanks

Viewing all 6894 articles
Browse latest View live