Commerce Server General - CS 2007 Install Problems

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > August 2006 > CS 2007 Install Problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CS 2007 Install Problems
Steve

2006-08-19, 1:21 am

I'm installing CS 2007 developer on a Windows 2003 Server image. I believe I
followed the steps in the installation guide very carefully - but I may have
missed something.

When attempting to launch the Catalog service I get the an "unable to
connect to web service" message and the following message in the application
event log:

Event Type: Error
Event Source: Commerce Server Web Services
Event Category: None
Event ID: 1
Date: 8/18/2006
Time: 4:21:06 PM
User: N/A
Computer: CEREBRO
Description:
An exception occurred in the 'CatalogWebService' Web service. Exception
details follow:

System.Configuration.ConfigurationErrorsException: An error occurred
creating the configuration section handler for
CommerceServer/catalogWebService: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
(c:\inetpub\wwwroot\CatalogWebService\we
b.config line 51) --->
System.Security.SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpRequest.get_PhysicalApplicationPath()
at
Microsoft.CommerceServer.Catalog.Internal.CatalogAuthorization.GetAuthorizationPolicyFullPath(String authorizationPolicyPath)
at
Microsoft.CommerceServer.Catalog.Internal.CatalogWebServiceSectionHandler.Create(Object parent, Object context, XmlNode section)
at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory. CreateSectionImpl(RuntimeConfigurationRe
cord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory. CreateSectionWithRestrictedPermissions(R
untimeConfigurationRecord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="c:\inetpub\wwwroot\CatalogWebService\"/>

The demand was for:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="c:\inetpub\wwwroot\CatalogWebService\"/>

The only permitted permissions were:
<PermissionSet class="System.Security.NamedPermissionSet"
version="1"
Name="ASP.Net">
<IPermission class="System.Security.Permissions.SecurityPermission,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Level="Minimal"/>
<IPermission class="Microsoft.SharePoint.Security.WebPartPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"
version="1"
Connections="True"/>
</PermissionSet>

The method that caused the failure was:
System.Object
CreateSectionWithRestrictedPermissions(S
ystem.Configuration.RuntimeConfigurationRecord,
System.Configuration.FactoryRecord, System.Configuration.SectionRecord,
System.Object, System.Configuration.ConfigXmlReader)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[]
keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord,
SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject,
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at
Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.GetWebServiceConfig()
at Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.Initialize()

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Vinayak Tadas[MSFT]

2006-08-21, 7:20 pm

Looks like the account running the catalog web service does not have enough
permissions to read the file attributes
You need to grant the account running the catalog web service write
permissions on the CatalogAUthorizationstore.xml

--------------------
Thread-Topic: CS 2007 Install Problems
thread-index: AcbDH+dXI4LoTA14Q0OZat3AGfwc/w==
X-WBNR-Posting-Host: 12.144.130.7
From: =?Utf-8?B?U3RldmU=?= <Steve@discussions.microsoft.com>
Subject: CS 2007 Install Problems
Date: Fri, 18 Aug 2006 16:42:01 -0700
Lines: 114
Message-ID: <90140ADC-02C1-42FE-8C8E-094DFCE5263B@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.commerceserver.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:18201
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.commerceserver.general

I'm installing CS 2007 developer on a Windows 2003 Server image. I believe
I
followed the steps in the installation guide very carefully - but I may
have
missed something.

When attempting to launch the Catalog service I get the an "unable to
connect to web service" message and the following message in the
application
event log:

Event Type: Error
Event Source: Commerce Server Web Services
Event Category: None
Event ID: 1
Date: 8/18/2006
Time: 4:21:06 PM
User: N/A
Computer: CEREBRO
Description:
An exception occurred in the 'CatalogWebService' Web service. Exception
details follow:

System.Configuration.ConfigurationErrorsException: An error occurred
creating the configuration section handler for
CommerceServer/catalogWebService: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
(c:\inetpub\wwwroot\CatalogWebService\we
b.config line 51) --->
System.Security.SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpRequest.get_PhysicalApplicationPath()
at
Microsoft.CommerceServer.Catalog.Internal.CatalogAuthorization.GetAuthorizat
ionPolicyFullPath(String authorizationPolicyPath)
at
Microsoft.CommerceServer.Catalog.Internal.CatalogWebServiceSectionHandler.Cr
eate(Object parent, Object context, XmlNode section)
at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.
CreateSectionImpl(RuntimeConfigurationRe
cord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.
CreateSectionWithRestrictedPermissions(R
untimeConfigurationRecord
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader)
at
System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean
inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord,
Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="c:\inetpub\wwwroot\CatalogWebService\"/>

The demand was for:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="c:\inetpub\wwwroot\CatalogWebService\"/>

The only permitted permissions were:
<PermissionSet class="System.Security.NamedPermissionSet"
version="1"
Name="ASP.Net">
<IPermission class="System.Security.Permissions.SecurityPermission,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Level="Minimal"/>
<IPermission class="Microsoft.SharePoint.Security.WebPartPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"
version="1"
Connections="True"/>
</PermissionSet>

The method that caused the failure was:
System.Object
CreateSectionWithRestrictedPermissions(S
ystem.Configuration.RuntimeConfigura
tionRecord,
System.Configuration.FactoryRecord, System.Configuration.SectionRecord,
System.Object, System.Configuration.ConfigXmlReader)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[]
keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord,
SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean
getLkg, Boolean getRuntimeObject, Object& result, Object&
resultRuntimeObject)
at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject,
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at
Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.GetWebServiceCon
fig()
at
Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.Initialize()

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.



Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security. Please
reply to the newsgroups only

Steve

2006-08-24, 7:20 pm

The underlying problem was due to a missing section in the root web.config
file to authorize the site to full trust. I belive this was due to MS
SharePoint also being installed on the same server. Max A. clued me in on
this.

<configuration>
....
<location path="CSharpSite" allowOverride="true">
<system.web>
<trust level="Full"/>
</system.web>
</location>
<location path="CatalogWebService" allowOverride="true">
<system.web>
<trust level="Full"/>
</system.web>
</location>
<location path="MarketingWebService" allowOverride="true">
<system.web>
<trust level="Full"/>
</system.web>
</location>
<location path="OrdersWebService" allowOverride="true">
<system.web>
<trust level="Full"/>
</system.web>
</location>
<location path="ProfilesWebService" allowOverride="true">
<system.web>
<trust level="Full"/>
</system.web>
</location>
</configuration>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com