Previous Thread

8/18/2006 4:42:01 PM    CS 2007 Install Problems
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\web.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(RuntimeConfigurationRecord 
 
configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, 
 
Object parentConfig, ConfigXmlReader reader) 
 
at 
 
System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionWithRestrictedPermissions(RuntimeConfigurationRecord 
 
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(System.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.