Im having some issues with installing uCommerce 2.6.1.0 and also uninstalling. Ive included the errors i get when i install, uninstall and the log manger.
Any help in either installing or uninstalling would be great.
Thanks
Martin
Sorry im having issue with posting in the forum. When i post it just returns a empty RTE
Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection 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.Configuration.ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.]
UCommerce.Infrastructure.Configuration.CommerceConfigurationProvider.GuardMissingConfig(Type configType, Object section) +104
UCommerce.Infrastructure.Configuration.CommerceConfigurationProvider.GetRuntimeConfiguration() +35
UCommerce.Infrastructure.ObjectFactory.GetContainer(CommerceConfigurationProvider commerceConfiguration) +28
UCommerce.Infrastructure.ObjectFactory.get_Container() +33
UCommerce.Infrastructure.ObjectFactory.Resolve() +16
UCommerce.EntitiesV2.Role.GetRepo() +45
UCommerce.Web.UI.Umbraco.UCommerce.Installer.InstallPermissionSet() +10
UCommerce.Web.UI.Umbraco.UCommerce.Installer.Page_Load(Object sender, EventArgs e) +130
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8387
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest() +78
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.umbraco_developer_packages_installer_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
I install it again, just incase it was any files that it didnt install first time, but it appears to have made another installed package node, with the same error.
I added the <compilation debug="true"/> to the web.config file, but im getting a 500 error.
I then tried to uninstall the package and got this error
Server Error in '/' Application.
Operation is not valid due to the current state of the object.
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.InvalidOperationException: Operation is not valid due to the current state of the object.
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:
[InvalidOperationException: Operation is not valid due to the current state of the object.]
System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() +2420322
System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding) +58
System.Web.HttpRequest.FillInFormCollection() +159
[HttpException (0x80004005): The URL-encoded form data is not valid.]
System.Web.HttpRequest.FillInFormCollection() +217
System.Web.HttpRequest.get_Form() +104
System.Web.HttpRequest.get_HasForm() +9038127
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +97
System.Web.UI.Page.DeterminePostBackMode() +69
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +135
From the Log manager package I get
Type
User
Node
Date Stamp
Comment
Error
martinm
(none)
04/07/2012 10:30:16
At /umbraco/developer/packages/installedPackage.aspx?id=9 (Referred by: http://umbraco.e-vps.net/umbraco/developer/packages/installedPackage.aspx?id=9): System.Web.HttpException (0x80004005): The URL-encoded form data is not valid. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object. at System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() at System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding) at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Error
martinm
(none)
04/07/2012 10:29:59
System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at dashboardUtilities.FeedProxy.Page_Load(Object sender, EventArgs e)
Error
martinm
04/07/2012 10:29:14
Couldn't find any page with the nodeId = 0. This is most likely caused by the page isn't published! Parameter name: nodeId
Error
martinm
(none)
04/07/2012 10:28:43
System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at dashboardUtilities.FeedProxy.Page_Load(Object sender, EventArgs e)
Error
martinm
04/07/2012 10:28:36
System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlNode.RemoveChild(XmlNode oldChild) at System.Xml.XmlNode.RemoveAll() at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at umbraco.cms.businesslogic.packager.data.Reload(String dataSource) at umbraco.cms.businesslogic.packager.data.Save(PackageInstance package, String dataSource)
Custom
martinm
(none)
04/07/2012 10:28:28
[UmbracoExamine] Adding examine event handlers for index providers: 2
System
martinm
(none)
04/07/2012 10:28:28
Application started at 04/07/2012 10:30:15
Custom
martinm
(none)
04/07/2012 10:28:28
[UmbracoExamine] (InternalMemberIndexer) Index is being optimized
System
martinm
(none)
04/07/2012 10:28:28
Loading content from disk cache...
Custom
martinm
(none)
04/07/2012 10:28:28
[UmbracoExamine] (InternalIndexer) Index is being optimized
But im still getting the following error with installing uCommerce. Any Ideas?
Server Error in '/' Application.
Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection 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.Configuration.ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.]
UCommerce.Infrastructure.Configuration.CommerceConfigurationProvider.GuardMissingConfig(Type configType, Object section) +104
UCommerce.Infrastructure.Configuration.CommerceConfigurationProvider.GetRuntimeConfiguration() +35
UCommerce.Infrastructure.ObjectFactory.GetContainer(CommerceConfigurationProvider commerceConfiguration) +28
UCommerce.Infrastructure.ObjectFactory.get_Container() +33
UCommerce.Infrastructure.ObjectFactory.Resolve() +16
UCommerce.EntitiesV2.Role.GetRepo() +45
UCommerce.Web.UI.Umbraco.UCommerce.Installer.InstallPermissionSet() +10
UCommerce.Web.UI.Umbraco.UCommerce.Installer.Page_Load(Object sender, EventArgs e) +130
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8387
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest() +78
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.umbraco_developer_packages_installer_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Could you zip the site and e-mail it to me at SSL at UCOMMERCE dot DK? It will give me clues as to which part of the process failed. Also any information in the umbracoLog table of interest would be helpful. Thanks.
BTW if the app pool identity is not allowed to modify web.config an option would be to install the whole shebang locally and deploy it manually to the host afterwards.
Turns out that the app pool identity did not have permissions to create new files. uCommerce needs this during install because it backs up any files it needs to modify before doing so. This includes web.config.
Install Problem / Un-Install Problem
Hi,
Im having some issues with installing uCommerce 2.6.1.0 and also uninstalling. Ive included the errors i get when i install, uninstall and the log manger.
Any help in either installing or uninstalling would be great.
Thanks
Martin
Sorry im having issue with posting in the forum. When i post it just returns a empty RTE
Server Error in '/' Application.
Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection 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.Configuration.ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
I install it again, just incase it was any files that it didnt install first time, but it appears to have made another installed package node, with the same error.
I added the <compilation debug="true"/> to the web.config file, but im getting a 500 error.
I then tried to uninstall the package and got this error
Server Error in '/' Application.
Operation is not valid due to the current state of the object.
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.InvalidOperationException: Operation is not valid due to the current state of the object.
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:
From the Log manager package I get
Hi.
Ive figured it out they uninstall part.
I added this to the web.config
But im still getting the following error with installing uCommerce. Any Ideas?
Server Error in '/' Application.
Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection 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.Configuration.ConfigurationErrorsException: Could not load RuntimeConfigurationSection configuration. Please make sure that app/web.config includes the 'commerce' section group and that it has the RuntimeConfigurationSection defined.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
Hi Martin,
Does the identity running the app pool have permission to modify web.config? It seems required config is not being merged into web.config.
Hi Søren,
The permissions on the web.config are set to full. I have set all permission to full on all of my folders, without success.
Just to be safe, I created a clean install of Umbraco and installed uCommerce through the package repository.
Im still getting the same error. I get the uCommerce Icon in the Sections area, but it is empty.
Hi,
Ii am having the same issue with insatlling the ucommerce package, any one found the solution? please share.
thanks
Hi Soren
Im restricted in setting the permissions on the httpdoc folder by the shared hosting provider.
Would this cause an issue with installing uCommerce?
Could you zip the site and e-mail it to me at SSL at UCOMMERCE dot DK? It will give me clues as to which part of the process failed. Also any information in the umbracoLog table of interest would be helpful. Thanks.
BTW if the app pool identity is not allowed to modify web.config an option would be to install the whole shebang locally and deploy it manually to the host afterwards.
Turns out that the app pool identity did not have permissions to create new files. uCommerce needs this during install because it backs up any files it needs to modify before doing so. This includes web.config.
How do you install uCommerce? There is zero documentation on this.
These videos should help:
Installing uCommerce
Installing the uCommerce Store
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.