Friday, June 22, 2012

Interprise Suite Ecommerce: System.ArgumentNullException: Value cannot be null

Version: Interprise Suite 6.x

Problem:

The following error is generated when viewing a page in ISE.

Server Error in 'xxx' Application.
Value cannot be null.
Parameter name: child
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.ArgumentNullException: Value cannot be null.
Parameter name: child

Source Error:

Line 260:                    this.Controls.Clear();
Line 261:                    // set the template user control to be owned by this page:
Line 262:                    this.Controls.Add(m_Template);
Line 263:
Line 264:                    //register the ScriptManager before loading controls or the ComponentArt menu won't work with AJAX pages

Source File: d:\Program Files (x86)\Interprise Solutions\HipsAndCurves\ISE\Web\App_Code\SkinBase.cs    Line: 262

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: child]
   System.Web.UI.ControlCollection.Add(Control child) +8828139
   InterpriseSuiteEcommerce.SkinBase.OnPreInit(EventArgs e) in d:\Program Files (x86)\Interprise Solutions\HipsAndCurves\ISE\Web\App_Code\SkinBase.cs:262
   System.Web.UI.Page.PerformPreInit() +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Solution:

Typically, it points to a problem with the skin template file e.g. template.ascx.  Run the page with a default (out-of-the-box) template.  Typically, the page will load which confirms that it’s a problem with the customized template file.  Look for functionality on the template file that is missing e.g. missing custom supporting file in the bin folder.

It can also be caused by a user control on the template page that has a compilation (or other error).  Look for user controls in the template file with a squiggly line.

Monday, June 18, 2012

Interprise Suite Cannot Connect via Web Services

Version: Interprise Suite 6.x

Problem:

After a fresh install of Interprise Suite (IS) and Interprise Suite Ecommerce (ISE), connecting to IS via web services produces the error below. Also clicking the web option tab –> images tab causes the same error.

Note that the storefrontservice.asmx url resolves correctly (without errors).

Error:
Connection failed! WSE032: There was an error loading the microsoft.web.services3 configuration sections.

Solution:

Unblock the following files by right clicking each file, select the General tab, click the unblock button.

InterpriseSuite.exe
InterpriseSuite.exe.config

image

If needed, use the stream util to unblock all files: http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

Ideally, unblock the zip file prior to unzipping.  All unzipped files will then be unblocked.

Thursday, June 7, 2012

Can’t Login to Interprise Suite Ecommerce Admin

Version: Interprise Suite 6.0.x.x

Problem:

Can’t login to ISE admin.

Solution:

Make sure you login with user name: webadmin
Trying to login using another “admin” IS account does not work.