| Author |
Message |
Namrata Ganatra
Guest
|
Posted:
Fri Sep 30, 2005 12:50 pm Post subject:
Error in Basket.aspx while calling RunPipeLine(info) |
|
|
Hi,
I am new to commerce server, i created a site as said in
NorthWindTraders example but while running it throws an error in
Basket.aspx at
userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
PipelineInfo info = new PipelineInfo("basket");
info["CacheName"] = "discounts";
info.Profiles.Add("User", CommerceContext.Current.UserProfile);
basket.RunPipeline(info);
saying that
Unable to initialize logging to file :
e:\inetpub\wwwroot\NorthwindTraders\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-BED4990E49F9}.pipelog
(orderform=default) |
|
| Back to top |
|
 |
Nihit Kaul [MSFT]
Guest
|
Posted:
Fri Sep 30, 2005 8:50 pm Post subject:
RE: Error in Basket.aspx while calling RunPipeLine(info) |
|
|
What is the web.config pipelines section setting for the Basket pipeline?
Is this a default Basket pipeline or do you have any custom components in
there?
Thanks,
Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: Error in Basket.aspx while calling RunPipeLine(info)
thread-index: AcXFsnKxAeRYyRP4QBuTX28UiEVzlg==
X-WBNR-Posting-Host: 61.11.12.178
From: =?Utf-8?B?TmFtcmF0YSBHYW5hdHJh?= <Namrata
Ganatra@discussions.microsoft.com>
Subject: Error in Basket.aspx while calling RunPipeLine(info)
Date: Fri, 30 Sep 2005 04:31:06 -0700
Lines: 26
Message-ID: <C159A2B4-AAD5-4809-A26C-295D06AAB523@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.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:3618
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
I am new to commerce server, i created a site as said in
NorthWindTraders example but while running it throws an error in
Basket.aspx at
userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
PipelineInfo info = new PipelineInfo("basket");
info["CacheName"] = "discounts";
info.Profiles.Add("User", CommerceContext.Current.UserProfile);
basket.RunPipeline(info);
saying that
Unable to initialize logging to file :
e:\inetpub\wwwroot\NorthwindTraders\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-B
ED4990E49F9}.pipelog
(orderform=default) |
|
| Back to top |
|
 |
Namrata Ganatra
Guest
|
Posted:
Sat Oct 01, 2005 8:50 am Post subject:
RE: Error in Basket.aspx while calling RunPipeLine(info) |
|
|
Hi Nihit
I dont have any custom components in pipeline , and this is the default
basket pipeline . Basically , i am trying to finish the Lab practices of
commerce server given on msdn site and following all the instruction from
that lab tutorial , so as of now not made any custom settings in web.config .
My web.config file is pasted below .
Please help me with it , because i am not able to move
ahead without resolving this error .
<! -- Web.Config file -->
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- COMMERCE SERVER CONFIGURATION SECTION HANDLERS
These configuration sections are required for the Commerce
Server .NET Application
Framework to function properly. They must be registered using
the strong name for the
assemblies.
-->
<sectionGroup name="CommerceServer">
<section name="application"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="authentication"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="pipelines"
type="Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="caches"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="messageManager"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="catalog"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="orders"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="profiles"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="contentSelection"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="commerceEvent"
type="Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</sectionGroup>
</configSections>
<!-- COMMERCE SERVER CONFIGURATION SECTION
This signifies the beginning of the configuration of the Commerce
Server .NET
Application Framework.
-->
<CommerceServer>
<!-- APPLICATION
Set the siteName to be the name of the site as it has been
registered in the Administration
database. The Site Packager will update this attribute
automatically when unpacking
a site. Set debugLevel to "Checked", "Debug", or "Production".
Because the "Checked" and
"Debug" settings cause the application to run slower than
normal, you should only use these
values when debugging the application.
-->
<application siteName="NorthWindTraders" debugLevel="Checked"/>
<!-- AUTHENTICATION
Set the ticketTimeOut to the appropriate timeout value for
authentication tickets issued
for the application. Set detectCookies to true if you wish to
enable a cookie to URL-mode
fallback authentication scheme.
-->
<authentication ticketTimeOut="30" detectCookies="true"
siteName="NorthWindTraders"/>
<!-- PIPELINES
Configure the pipelines you wish to use in your application.
-->
<pipelines siteName="NorthWindTraders">
<!-- PIPELINE CONFIGURATION
Set the name of the pipeline to whatever string you wish to use
when referencing the
pipeline in your application. The path should be set to a the
relative path of the pipeline
configuration file (.PCF) that corresponds to the pipeline you
wish to execute when
referencing the pipeline in your application. Set transacted to
false to disable COM+
Transactions when executing your pipeline. The type should be
set to either "OrderPipeline"
or "CSFPipeline" depending on if you intend to use the pipeline
for processing Orders or
displaying advertisements. Set loggingEnabled to true to enable
pipeline logging. The log
will be created in the "pipelines\log" directory of your
application. Note that this
causes the application to run slower than normal so it should
only be enabled during
debugging.
Sample pipeline configuration sections have been provided below.
-->
<!-- BEGIN SAMPLE PIPELINE CONFIGURATION SECTIONS -->
<pipeline
name="basket"
path="pipelines\basket.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" />
<pipeline
name="checkout"
path="pipelines\checkout.pcf"
transacted="true"
type="OrderPipeline"
loggingEnabled="true" />
<pipeline
name="product"
path="pipelines\product.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" />
<pipeline
name="total"
path="pipelines\total.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" />
<pipeline
name="advertising"
path="pipelines\advertising.pcf"
transacted="false"
type="CSFPipeline" />
<pipeline
name="discounts"
path="pipelines\discounts.pcf"
transacted="false"
type="CSFPipeline" />
<pipeline
name="recordevent"
path="pipelines\recordevent.pcf"
transacted="false"
type="CSFPipeline" />
<!-- END SAMPLE PIPELINE CONFIGURATION SECTIONS -->
</pipelines>
<!-- CACHES
Configure the caches you wish to use in your application
-->
<caches siteName="NorthWindTraders">
<!-- CACHE CONFIGURATION
Set the name of the cache to whatever string you wish to use
when referencing the cache.
Note that certain caches must have specific names when using the
default Advertising,
Discounting, and QueryCatalogInfo pipeline components. These
names are Advertising, Discount,
and QueryCatalogInfoCache respectively. The refreshInterval
should be set to a time value
(in seconds) that determines how long the cache remains in
memory before being refreshed.
The retryInterval should be set to a time value (in seconds)
that determines how long the
Cache Manager waits before attempting to call the cache loader
in the event of a failure
when calling the cache loader. Set maxSize to be the maximum
number of entries to
store in the cache.
Sample cache configuration sections have been provided below.
-->
<!-- BEGIN SAMPLE CACHE CONFIGURATION SECTIONS -->
<cache
name="Advertising"
type="Advertising"
refreshInterval="900"
retryInterval="30" />
<cache
name="Discounts"
type="Discounts"
refreshInterval="0"
retryInterval="30" />
<cache
name="SampleRegionalTaxCache"
type="Tax"
refreshInterval="0"
retryInterval="30" />
<cache
name="ShippingManagerCache"
type="Shipping"
loaderProgId="Commerce.ShippingManagerCache"
refreshInterval="0"
retryInterval="30" />
<cache
name="QueryCatalogInfoCache"
type="QCI"
loaderProgId="Commerce.LRUCacheFlush"
refreshInterval="0"
retryInterval="300"
maxSize="10000">
<config key="TableName"
value="CatalogCache_Virtual_Directory" />
</cache>
<!-- END SAMPLE CACHE CONFIGURATION SECTIONS -->
</caches>
<!-- MESSAGE MANAGER
Configure the resources to extract from satellite assemblies
into the MessageManager
used by components in the Order Processing Pipelines.
<messageManager>
-->
<!-- CULTURES
Set the default attribute to be the RFC 1766 identifier of
the default culture used
by the application. The baseName attribute specifies the
root name of the resources
used in your application. For example, when using a
satellite assembly named
"MyResources.en-US.resources", the root name is
"MyResources." The assembly attribute
is used to specify the name of the assembly containing the
default resources - either
the executing application or the name of a satellite assembly.
<cultures default="en-US"
baseName="NorthWindTraders.MessageManager" assembly="NorthWindTraders">
-->
<!-- CULTURE
Set the id to be the RFC 1766 identifier of each culture
used by the application.
<culture id="en-US" />
<culture id="fr-fr" />
<culture id="ja-JP" />
</cultures>
-->
<!-- RESOURCES
This configures the individual resource names to be
extracted from each satellite
assembly and placed in the MessageManager. Set the id to
the resource identifier for
each resource you wish to use.
<resources>
<resource id= "pur_badsku" />
<resource id= "pur_badplacedprice" />
</resources>
</messageManager>
-->
<!-- PROFILES
This configures the runtime to recognize two specific
profiles, the Organization and
User profiles, in order to make the CommerceContext class
aware of any changes made
to the default settings of these profiles. It is used to
determine where the
CommerceContext.GetCatalogsForUser() method looks for
Catalog Sets associated with
the current user. It is also used by the
CommerceContext.UserProfile property
to determine how to load user profiles on demand. These
configuration settings are
only required if you make changes to the default UserObject
or Organization profiles.
-->
<!--
<profiles>
<userProfile
profileDefinition="UserObject"
userIdProperty="GeneralInfo.logon_name"
organizationIdProperty="AccountInfo.org_id"
catalogSetIdProperty="AccountInfo.user_catalog_set"
/>
<organizationProfile
profileDefintion="Organization"
organizationIdProperty="GeneralInfo.org_id"
catalogSetIdProperty="GeneralInfo.org_catalog_set"
/>
</profiles>
-->
<!-- COMMERCEEVENT
This configures the Commerce Events that will be available for
logging data to the IIS
web server log. The default events supported are
AddItemToBasket, RemoveItemFromBasket,
and SubmitOrder.
-->
<commerceEvent siteName="NorthWindTraders">
<add className="Microsoft.CommerceServer.Runtime.AddItemToBasketEvent"
id="AddItemToBasket"/>
<add
className="Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent"
id="RemoveItemFromBasket"/>
<add className="Microsoft.CommerceServer.Runtime.SubmitOrderEvent"
id="SubmitOrder" loggingEnabled="true"/>
</commerceEvent>
</CommerceServer>
<system.web>
<httpModules>
<!-- COMMERCE SERVER HTTP MODULES
These configuration sections are required for the Commerce
Server .NET Application
Framework to function properly. They must be registered using
the strong name for the
assemblies.
-->
<add name="CommerceApplication"
type="Microsoft.CommerceServer.Runtime.CommerceApplicationModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceAuthentication"
type="Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceOrder"
type="Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceCatalog"
type="Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceProfile"
type="Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceExpressionEvaluator"
type="Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceCache"
type="Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceContentSelection"
type="Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging.
Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb
information)
into the compiled page. Because this creates a larger file that
executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to the
documentation about
debugging ASP .NET files.
-->
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add assembly="Microsoft.CommerceServer.Runtime, Version=4.5.2002.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="GENIDLib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>
<!-- CUSTOM ERROR MESSAGES
Set mode="on" or "remoteonly" to enable custom error messages,
"off" to disable. Add
<error> tags for each of the errors you want to handle.
-->
<customErrors mode="RemoteOnly"/>
<!-- AUTHENTICATION
This section sets the authentication policies of the
application. Possible modes are "Windows", "Forms",
"Passport" and "None"
-->
<authentication mode="Windows"/>
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every
page within an application.
Set trace enabled="true" to enable application trace logging.
If pageOutput="true", the
trace information will be displayed at the bottom of each page.
Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your
web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true"/>
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests
belong to a particular session.
If cookies are not available, a session can be tracked by adding
a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20"/>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
</configuration>
Thanks,
Namrata Ganatra
MAQ Software.
"Nihit Kaul [MSFT]" wrote:
| Quote: | What is the web.config pipelines section setting for the Basket pipeline?
Is this a default Basket pipeline or do you have any custom components in
there?
Thanks,
Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: Error in Basket.aspx while calling RunPipeLine(info)
thread-index: AcXFsnKxAeRYyRP4QBuTX28UiEVzlg==
X-WBNR-Posting-Host: 61.11.12.178
From: =?Utf-8?B?TmFtcmF0YSBHYW5hdHJh?= <Namrata
Ganatra@discussions.microsoft.com
Subject: Error in Basket.aspx while calling RunPipeLine(info)
Date: Fri, 30 Sep 2005 04:31:06 -0700
Lines: 26
Message-ID: <C159A2B4-AAD5-4809-A26C-295D06AAB523@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.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:3618
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
I am new to commerce server, i created a site as said in
NorthWindTraders example but while running it throws an error in
Basket.aspx at
userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
PipelineInfo info = new PipelineInfo("basket");
info["CacheName"] = "discounts";
info.Profiles.Add("User", CommerceContext.Current.UserProfile);
basket.RunPipeline(info);
saying that
Unable to initialize logging to file :
e:\inetpub\wwwroot\NorthwindTraders\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-B
ED4990E49F9}.pipelog
(orderform=default)
|
|
|
| Back to top |
|
 |
arik
Guest
|
Posted:
Sun Oct 02, 2005 12:50 pm Post subject:
RE: Error in Basket.aspx while calling RunPipeLine(info) |
|
|
hi Namrata
Check that you have directory called "log" under your siteName/pipeline
directory.
This directory need to have write premission to your aspnet user
arik
"Namrata Ganatra" wrote:
| Quote: | Hi Nihit
I dont have any custom components in pipeline , and this is the default
basket pipeline . Basically , i am trying to finish the Lab practices of
commerce server given on msdn site and following all the instruction from
that lab tutorial , so as of now not made any custom settings in web.config .
My web.config file is pasted below .
Please help me with it , because i am not able to move
ahead without resolving this error .
! -- Web.Config file --
?xml version="1.0" encoding="utf-8"?
configuration
<configSections
<!-- COMMERCE SERVER CONFIGURATION SECTION HANDLERS
These configuration sections are required for the Commerce
Server .NET Application
Framework to function properly. They must be registered using
the strong name for the
assemblies.
--
<sectionGroup name="CommerceServer"
<section name="application"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="authentication"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="pipelines"
type="Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="caches"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="messageManager"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="catalog"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="orders"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="profiles"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="contentSelection"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="commerceEvent"
type="Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
</sectionGroup
</configSections
<!-- COMMERCE SERVER CONFIGURATION SECTION
This signifies the beginning of the configuration of the Commerce
Server .NET
Application Framework.
--
<CommerceServer
<!-- APPLICATION
Set the siteName to be the name of the site as it has been
registered in the Administration
database. The Site Packager will update this attribute
automatically when unpacking
a site. Set debugLevel to "Checked", "Debug", or "Production".
Because the "Checked" and
"Debug" settings cause the application to run slower than
normal, you should only use these
values when debugging the application.
--
<application siteName="NorthWindTraders" debugLevel="Checked"/
<!-- AUTHENTICATION
Set the ticketTimeOut to the appropriate timeout value for
authentication tickets issued
for the application. Set detectCookies to true if you wish to
enable a cookie to URL-mode
fallback authentication scheme.
--
<authentication ticketTimeOut="30" detectCookies="true"
siteName="NorthWindTraders"/
<!-- PIPELINES
Configure the pipelines you wish to use in your application.
--
<pipelines siteName="NorthWindTraders"
<!-- PIPELINE CONFIGURATION
Set the name of the pipeline to whatever string you wish to use
when referencing the
pipeline in your application. The path should be set to a the
relative path of the pipeline
configuration file (.PCF) that corresponds to the pipeline you
wish to execute when
referencing the pipeline in your application. Set transacted to
false to disable COM+
Transactions when executing your pipeline. The type should be
set to either "OrderPipeline"
or "CSFPipeline" depending on if you intend to use the pipeline
for processing Orders or
displaying advertisements. Set loggingEnabled to true to enable
pipeline logging. The log
will be created in the "pipelines\log" directory of your
application. Note that this
causes the application to run slower than normal so it should
only be enabled during
debugging.
Sample pipeline configuration sections have been provided below.
--
<!-- BEGIN SAMPLE PIPELINE CONFIGURATION SECTIONS --
pipeline
name="basket"
path="pipelines\basket.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="checkout"
path="pipelines\checkout.pcf"
transacted="true"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="product"
path="pipelines\product.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="total"
path="pipelines\total.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="advertising"
path="pipelines\advertising.pcf"
transacted="false"
type="CSFPipeline" /
pipeline
name="discounts"
path="pipelines\discounts.pcf"
transacted="false"
type="CSFPipeline" /
pipeline
name="recordevent"
path="pipelines\recordevent.pcf"
transacted="false"
type="CSFPipeline" /
!-- END SAMPLE PIPELINE CONFIGURATION SECTIONS --
</pipelines
<!-- CACHES
Configure the caches you wish to use in your application
--
<caches siteName="NorthWindTraders"
<!-- CACHE CONFIGURATION
Set the name of the cache to whatever string you wish to use
when referencing the cache.
Note that certain caches must have specific names when using the
default Advertising,
Discounting, and QueryCatalogInfo pipeline components. These
names are Advertising, Discount,
and QueryCatalogInfoCache respectively. The refreshInterval
should be set to a time value
(in seconds) that determines how long the cache remains in
memory before being refreshed.
The retryInterval should be set to a time value (in seconds)
that determines how long the
Cache Manager waits before attempting to call the cache loader
in the event of a failure
when calling the cache loader. Set maxSize to be the maximum
number of entries to
store in the cache.
Sample cache configuration sections have been provided below.
--
<!-- BEGIN SAMPLE CACHE CONFIGURATION SECTIONS --
cache
name="Advertising"
type="Advertising"
refreshInterval="900"
retryInterval="30" /
cache
name="Discounts"
type="Discounts"
refreshInterval="0"
retryInterval="30" /
cache
name="SampleRegionalTaxCache"
type="Tax"
refreshInterval="0"
retryInterval="30" /
cache
name="ShippingManagerCache"
type="Shipping"
loaderProgId="Commerce.ShippingManagerCache"
refreshInterval="0"
retryInterval="30" /
cache
name="QueryCatalogInfoCache"
type="QCI"
loaderProgId="Commerce.LRUCacheFlush"
refreshInterval="0"
retryInterval="300"
maxSize="10000"
config key="TableName"
value="CatalogCache_Virtual_Directory" /
/cache
!-- END SAMPLE CACHE CONFIGURATION SECTIONS --
</caches
<!-- MESSAGE MANAGER
Configure the resources to extract from satellite assemblies
into the MessageManager
used by components in the Order Processing Pipelines.
messageManager
--
<!-- CULTURES
Set the default attribute to be the RFC 1766 identifier of
the default culture used
by the application. The baseName attribute specifies the
root name of the resources
used in your application. For example, when using a
satellite assembly named
"MyResources.en-US.resources", the root name is
"MyResources." The assembly attribute
is used to specify the name of the assembly containing the
default resources - either
the executing application or the name of a satellite assembly.
cultures default="en-US"
baseName="NorthWindTraders.MessageManager" assembly="NorthWindTraders"
--
<!-- CULTURE
Set the id to be the RFC 1766 identifier of each culture
used by the application.
culture id="en-US" /
culture id="fr-fr" /
culture id="ja-JP" /
/cultures
--
<!-- RESOURCES
This configures the individual resource names to be
extracted from each satellite
assembly and placed in the MessageManager. Set the id to
the resource identifier for
each resource you wish to use.
resources
resource id= "pur_badsku" /
resource id= "pur_badplacedprice" /
/resources
/messageManager
--
<!-- PROFILES
This configures the runtime to recognize two specific
profiles, the Organization and
User profiles, in order to make the CommerceContext class
aware of any changes made
to the default settings of these profiles. It is used to
determine where the
CommerceContext.GetCatalogsForUser() method looks for
Catalog Sets associated with
the current user. It is also used by the
CommerceContext.UserProfile property
to determine how to load user profiles on demand. These
configuration settings are
only required if you make changes to the default UserObject
or Organization profiles.
--
<!--
profiles
userProfile |
|
|
| Back to top |
|
 |
Namrata Ganatra
Guest
|
Posted:
Mon Oct 03, 2005 8:31 am Post subject:
RE: Error in Basket.aspx while calling RunPipeLine(info) |
|
|
Hi
Thanx Aric . It worked , Log folder didnt have appropriate permissions . Now
its working fine .
Thanx
Namrata Ganatra
MAQ Software
"arik" wrote:
| Quote: | hi Namrata
Check that you have directory called "log" under your siteName/pipeline
directory.
This directory need to have write premission to your aspnet user
arik
"Namrata Ganatra" wrote:
Hi Nihit
I dont have any custom components in pipeline , and this is the default
basket pipeline . Basically , i am trying to finish the Lab practices of
commerce server given on msdn site and following all the instruction from
that lab tutorial , so as of now not made any custom settings in web.config .
My web.config file is pasted below .
Please help me with it , because i am not able to move
ahead without resolving this error .
! -- Web.Config file --
?xml version="1.0" encoding="utf-8"?
configuration
<configSections
<!-- COMMERCE SERVER CONFIGURATION SECTION HANDLERS
These configuration sections are required for the Commerce
Server .NET Application
Framework to function properly. They must be registered using
the strong name for the
assemblies.
--
<sectionGroup name="CommerceServer"
<section name="application"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="authentication"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="pipelines"
type="Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="caches"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="messageManager"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="catalog"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="orders"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="profiles"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="contentSelection"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
<section name="commerceEvent"
type="Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/
</sectionGroup
</configSections
<!-- COMMERCE SERVER CONFIGURATION SECTION
This signifies the beginning of the configuration of the Commerce
Server .NET
Application Framework.
--
<CommerceServer
<!-- APPLICATION
Set the siteName to be the name of the site as it has been
registered in the Administration
database. The Site Packager will update this attribute
automatically when unpacking
a site. Set debugLevel to "Checked", "Debug", or "Production".
Because the "Checked" and
"Debug" settings cause the application to run slower than
normal, you should only use these
values when debugging the application.
--
<application siteName="NorthWindTraders" debugLevel="Checked"/
<!-- AUTHENTICATION
Set the ticketTimeOut to the appropriate timeout value for
authentication tickets issued
for the application. Set detectCookies to true if you wish to
enable a cookie to URL-mode
fallback authentication scheme.
--
<authentication ticketTimeOut="30" detectCookies="true"
siteName="NorthWindTraders"/
<!-- PIPELINES
Configure the pipelines you wish to use in your application.
--
<pipelines siteName="NorthWindTraders"
<!-- PIPELINE CONFIGURATION
Set the name of the pipeline to whatever string you wish to use
when referencing the
pipeline in your application. The path should be set to a the
relative path of the pipeline
configuration file (.PCF) that corresponds to the pipeline you
wish to execute when
referencing the pipeline in your application. Set transacted to
false to disable COM+
Transactions when executing your pipeline. The type should be
set to either "OrderPipeline"
or "CSFPipeline" depending on if you intend to use the pipeline
for processing Orders or
displaying advertisements. Set loggingEnabled to true to enable
pipeline logging. The log
will be created in the "pipelines\log" directory of your
application. Note that this
causes the application to run slower than normal so it should
only be enabled during
debugging.
Sample pipeline configuration sections have been provided below.
--
<!-- BEGIN SAMPLE PIPELINE CONFIGURATION SECTIONS --
pipeline
name="basket"
path="pipelines\basket.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="checkout"
path="pipelines\checkout.pcf"
transacted="true"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="product"
path="pipelines\product.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="total"
path="pipelines\total.pcf"
transacted="false"
type="OrderPipeline"
loggingEnabled="true" /
pipeline
name="advertising"
path="pipelines\advertising.pcf"
transacted="false"
type="CSFPipeline" /
pipeline
name="discounts"
path="pipelines\discounts.pcf"
transacted="false"
type="CSFPipeline" /
pipeline
name="recordevent"
path="pipelines\recordevent.pcf"
transacted="false"
type="CSFPipeline" /
!-- END SAMPLE PIPELINE CONFIGURATION SECTIONS --
</pipelines
<!-- CACHES
Configure the caches you wish to use in your application
--
<caches siteName="NorthWindTraders"
<!-- CACHE CONFIGURATION
Set the name of the cache to whatever string you wish to use
when referencing the cache.
Note that certain caches must have specific names when using the
default Advertising,
Discounting, and QueryCatalogInfo pipeline components. These
names are Advertising, Discount,
and QueryCatalogInfoCache respectively. The refreshInterval
should be set to a time value
(in seconds) that determines how long the cache remains in
memory before being refreshed.
The retryInterval should be set to a time value (in seconds)
that determines how long the
Cache Manager waits before attempting to call the cache loader
in the event of a failure
when calling the cache loader. Set maxSize to be the maximum
number of entries to
store in the cache.
Sample cache configuration sections have been provided below.
--
<!-- BEGIN SAMPLE CACHE CONFIGURATION SECTIONS --
cache
name="Advertising"
type="Advertising"
refreshInterval="900"
retryInterval="30" /
cache
name="Discounts"
type="Discounts"
refreshInterval="0"
retryInterval="30" /
cache
name="SampleRegionalTaxCache"
type="Tax"
refreshInterval="0"
retryInterval="30" /
cache
name="ShippingManagerCache"
type="Shipping"
loaderProgId="Commerce.ShippingManagerCache"
refreshInterval="0"
retryInterval="30" /
cache
name="QueryCatalogInfoCache"
type="QCI"
loaderProgId="Commerce.LRUCacheFlush"
refreshInterval="0"
retryInterval="300"
maxSize="10000"
config key="TableName"
value="CatalogCache_Virtual_Directory" /
/cache
!-- END SAMPLE CACHE CONFIGURATION SECTIONS --
</caches
<!-- MESSAGE MANAGER
Configure the resources to extract from satellite assemblies
into the MessageManager
used by components in the Order Processing Pipelines.
messageManager
--
<!-- CULTURES
Set the default attribute to be the RFC 1766 identifier of
the default culture used
by the application. The baseName attribute specifies the
root name of the resources
used in your application. For example, when using a
satellite assembly named
"MyResources.en-US.resources", the root name is
"MyResources." The assembly attribute
is used to specify the name of the assembly containing the
default resources - either
the executing application or the name of a satellite assembly.
cultures default="en-US"
baseName="NorthWindTraders.MessageManager" assembly="NorthWindTraders"
--
<!-- CULTURE
Set the id to be the RFC 1766 identifier of each culture
used by the application.
culture id="en-US" /
culture id="fr-fr" /
culture id="ja-JP" /
/cultures
--
<!-- RESOURCES
This configures the individual resource names to be
extracted from each satellite
assembly and placed in the MessageManager. Set the id to
the resource identifier for
each resource you wish to use.
resources
resource id= "pur_badsku" /
resource id= "pur_badplacedprice" /
/resources
/messageManager
--
<!-- PROFILES
This configures the runtime to recognize two specific
profiles, the Organization and
User profiles, in order to make the CommerceContext class
aware of any changes made
to the default settings of these profiles. It is used to
determine where the
CommerceContext.GetCatalogsForUser() method looks for
Catalog Sets associated with
the current user. It is also used by the |
|
|
| Back to top |
|
 |
|
|
|
|