Hi, on phone can' t check now but I think you should look into Episerverframework.config. it looks like one virtual path provider is using the type from EPiServer.Framework instead of EPiServer.Framework.AspNet as it should
Here is my episerverframework.config, it looks like I am referencing the EPiServer.Framework.AspNet virtual path provider. Anything else in here look off?
<episerver.framework>
<scanAssembly forceBinFolderScan="true" />
<virtualPathProviders>
<clear />
<add virtualPath="~/AMEPiServer/" physicalPath="modules\_protected" name="ProtectedAddons" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework.AspNet" />
<add showInFileManager="false" virtualName="DynamicContentPreview" virtualPath="~/Edit/Dialogs/DynamicContentPreview.aspx" bypassAccessCheck="false" name="DynamicContentPreview" type="EPiServer.Web.Hosting.VirtualPathMappedProvider, EPiServer" />
</virtualPathProviders>
<virtualPathMappings>
<add url="~/AMEPiServer/CMS/Editor/Dialogs/DynamicContentPreview.aspx" mappedUrl="~/Edit/Dialogs/DynamicContentPreview.aspx" />
</virtualPathMappings>
<virtualRoles replacePrincipal="true">
<providers>
<add name="Administrators" type="EPiServer.Security.WindowsAdministratorsRole, EPiServer.Framework" />
<add name="Everyone" type="EPiServer.Security.EveryoneRole, EPiServer.Framework" />
<add name="Authenticated" type="EPiServer.Security.AuthenticatedRole, EPiServer.Framework" />
<add name="Anonymous" type="EPiServer.Security.AnonymousRole, EPiServer.Framework" />
<add roles="WebAdmins, Administrators" mode="Any" name="PackagingAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add roles="WebAdmins, Administrators" mode="Any" name="CmsAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add roles="WebEditors" mode="Any" name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add name="Creator" type="EPiServer.Security.CreatorRole, EPiServer" />
<add name="CommerceAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebAdmins, Administrators" mode="Any" />
</providers>
</virtualRoles>
<geolocation defaultProvider="maxmind">
<providers>
<add databaseFileName="App_Data\GeoLiteCity.dat" name="maxmind" type="EPiServer.Personalization.Providers.MaxMind.GeolocationProvider, EPiServer.ApplicationModules" />
</providers>
</geolocation>
<appData basePath="C:\EPiServer\VPP\AmericanMuscle.com\" />
</episerver.framework>
virtualName="DynamicContentPreview" virtualPath="~/Edit/Dialogs/DynamicContentPreview.aspx" bypassAccessCheck="false" name="DynamicContentPreview" type="EPiServer.Web.Hosting.VirtualPathMappedProvider, EPiServer" />
This does not look correct. The assembly should be Framework.AspNet. again on phone, can't check for sure :)
Quan, you are magnificent, that was it. However I have a new issue remote event binding that you may be able to help with, i'll start a new topic :)
For those that this may help.....
change this:
<add showInFileManager="false" virtualName="DynamicContentPreview" virtualPath="~/Edit/Dialogs/DynamicContentPreview.aspx" bypassAccessCheck="false" name="DynamicContentPreview" type="EPiServer.Web.Hosting.VirtualPathMappedProvider, EPiServer" />
To this:
<add showInFileManager="false" virtualName="DynamicContentPreview" virtualPath="~/Edit/Dialogs/DynamicContentPreview.aspx" bypassAccessCheck="false" name="DynamicContentPreview" type="EPiServer.Web.Hosting.VirtualPathMappedProvider, EPiServer.Framework.AspNet" />
I've recently upgraded our version of episerver CMS and Commerce from version CMS-9.12.2/Commerce-9.24.2 to CMS-11.7.1/Commerce-12.2.0 and I receive the following error when trying to run the front end site. I've seen articles similar to this saying to run the migration tool by navigating to the front end site, however there is the problem, this error occurs when trying to go to the front end site. So this does not help: https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2016/11/episerver-commerce-10-0-1-0-quotobject-reference-not-set-to-an-instance-of-an-objectquot-on-startup/ Is there a way to run the migration steps manually?
[NullReferenceException: Object reference not set to an instance of an object.]
I've tried going directly to commerce manager and get the following:
There are incomplete migration steps. The site can be in unstable state. Please navigate to front-end site and complete remaining migration steps, then restart Commerce Manager site. If you see this message on the front-end site, it means no Catalog Content models (decorated with the CatalogContentType attribute) were found. Add a Catalog Content type, or set the appSetting 'episerver:SkipCatalogContentModelCheck' to true to bypass this check. Warning! Bypassing this check in the Commerce Manager site or other application which does not have the content model types available could lead to data loss!
Steps undertaken during the upgrade:
Any insight would be much appeciated.