logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Jay  
#1 Posted : Friday, April 9, 2021 11:57:09 AM(UTC)
Jay

Rank: Member

Groups: Authorized User, Developers
Joined: 11/12/2018(UTC)
Posts: 25

Thanks: 1 times
Was thanked: 4 time(s) in 3 post(s)
I wasn't sure if I should post this here or in the bugs section or in the feature requests section. I decided here because it is technically not a bug, and it isn't requesting a feature in AbleCommerce itself.

I think the upgrade instructions for 9.0.4 should mention that .NET Framework 4.8 has to be installed on the web server before upgrading. When I tried step 12, "Login to the Merchant Admin...", I got an error in the browser and this Warning in the Application event log:

Code:
Event code: 3008 
Event message: A configuration error has occurred. 
Event time: 4/9/2021 11:27:36 AM 
Event time (UTC): 4/9/2021 4:27:36 PM 
Event ID: 95bc3072cb484f7686375e6c64c1cdb0 
Event sequence: 1 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/2/ROOT-1-132624592564661491 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: <my path>
    Machine name: <my server>
 
Process information: 
    Process ID: 7092 
    Process name: w3wp.exe 
    Account name: <iis account> 
 
Exception information: 
    Exception type: ConfigurationErrorsException 
    Exception message: The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (<path to web.config> line 30)
   at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.InitializeTargetFrameworkName()
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

 
 
Request information: 
    Request URL: <my url>/Admin 
    Request path: /Admin 
    User host address: 10.1.61.234 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: <iis account> 
 
Thread information: 
    Thread ID: 6 
    Thread account name: <iis account> 
    Is impersonating: False 
    Stack trace:    at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.InitializeTargetFrameworkName()
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)
 
 
Custom event details: 


I realized I had never install .NET Framework 4.8 on my (Windows Server 2019) server.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

MikeR  
#2 Posted : Friday, April 9, 2021 1:33:11 PM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hello,

I agree, thanks for pointing that out! Have a great weekend!
Thank you for your support!
Mike Randolph
AbleCommerce.com
Jay  
#3 Posted : Friday, April 9, 2021 3:49:02 PM(UTC)
Jay

Rank: Member

Groups: Authorized User, Developers
Joined: 11/12/2018(UTC)
Posts: 25

Thanks: 1 times
Was thanked: 4 time(s) in 3 post(s)
This page probably needs updating too:
System Requirements and Installation
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.