I have installed the Developer Edition of Commerce Server 2007 on
Windows 2003 Enterprise Edition (Service Pack 2) with SQL Server 2005
Express Edition (with Advanced Options).
I unpacked and configured the Starter Site and followed all the
instructions in the Quick Installation guide.
The OrdersWebService fails to run and prints the following error -
======================================================
There was an error getting the location of a Commerce Server component
(Component Id '{71a3e4d8-3ef8-49a3-8d55-0d7564bf65c6}').
'MsiGetComponentPath' returned 2
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: Microsoft.CommerceServer.Runtime.CommerceException:
There was an error getting the location of a Commerce Server component
(Component Id '{71a3e4d8-3ef8-49a3-8d55-0d7564bf65c6}').
'MsiGetComponentPath' returned 2
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:
[CommerceException: There was an error getting the location of a
Commerce Server component (Component Id
'{71a3e4d8-3ef8-49a3-8d55-0d7564bf65c6}'). 'MsiGetComponentPath'
returned 2]
Microsoft.CommerceServer.Internal.Common.CommerceServerInfo.GetComponentPath(String
componentGuid, String productCode) +217
Microsoft.CommerceServer.Internal.Common.CommerceServerInfo.GetComponentPath(Guid
componentId) +30
Microsoft.CommerceServer.Internal.NativeUtilities.SkuHelper.QueryValue(UInt32
code) +66
Microsoft.CommerceServer.Runtime.CommerceUtility.GetProductSKU()
+13
Microsoft.CommerceServer.Runtime.CommerceApplicationModule..cctor()
+61
[TypeInitializationException: The type initializer for
'Microsoft.CommerceServer.Runtime.CommerceApplicationModule' threw an
exception.]
[TargetInvocationException: Exception has been thrown by the target of
an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean
publicOnly, Boolean noCheck, Boolean& canBeCached,
RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean
fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean
skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +1036
System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture,
Object[] activationAttributes) +114
System.Web.Configuration.Common.ModulesEntry.Create() +41
System.Web.Configuration.HttpModulesSection.CreateModules() +203
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +814
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+340
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET Version:2.0.50727.832
======================================================
Any idea how I can resolve this?


|