November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Do you have structure map configured for dependency resolving, in your solution?
https://www.codeart.dk/blog/2018/9/error-no-parameterless-constructor-defined-for-this-object/
UPDATE: After some trial and error I ran the following queries against the database to clear out the conflicting data (this data was around from the old version and pointing to the old object type located in a different namespace - I am surprised that this wasn't cleared out as part of upgrading to the new version, but I feel like others may run into this issue). I am yet to find any negative impact elsewhere on the site.
delete
FROM [dbo].[tblBigTableReference]
WHERE elementstorename like '%tinymcesettings%'
delete
FROM [dbo].[tblBigTableReference]
WHERE pkid in (select pkid
FROM [dbo].[tblBigTableIdentity]
WHERE StoreName LIKE '%TinyMce%') and propertyname = 'ToolbarRows';
EDIT: It seems like this error is inconsistent. My colleagues ran the above scripts but were still receiving errors. I found that not running the above scripts, but running the scripts below worked for my colleagues:
UPDATE [dbo].[tblSystemBigTable]
SET
String03 = 'EPiServer.Web.PropertyControls.PropertySettings.MultipleOptionsListSettings'
where String03 = 'EPiServer.Editor.TinyMCE.TinyMCESettings';
UPDATE [dbo].[tblBigTableReference]
SET
ElementType = 'EPiServer.Web.PropertyControls.PropertySettings.MultipleOptionsListSettings, EPiServer.Cms.AspNet, Version=11.11.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'
where Elementstorename like '%tinymcesettings%';
DELETE
FROM [dbo].[tblBigTableReference]
WHERE pkid in (select pkid
FROM [dbo].[tblBigTableIdentity]
WHERE StoreName LIKE '%TinyMce%') and propertyname = 'ToolbarRows';
Hi there,
We recently upgraded the TinyMCE nuget package from 1.1.0.0 to 2.9.0.0 - Following the upgrade we were receiving the error below when attempting to create a new dropdown list via global settings (after hitting Save).
To remedy the issue above I ran the following DB scripts (based on this):
Once the scripts executed, I tried to create a dropdown list again but I am now receiving the following error:
I was wondering if anyone has seen this issue before or if there are any ideas as to how I might resolve this?
Here is the relevant stack trace:
How would I know what object type the stack trace refers to, and if it is part of the core DLLs what can I do?
Cheers,
Tom.
EDIT: It definitely appears to be related to the configuration stored in the database. When I change the ElementStoreName I receive an Object reference error. Also, there doesn't appear to be any rows relating to TinyMce in my local Alloy database.
There are no rows in tblBigTable. However, here are the relevant rows from tblBigTableReference: