Commerce Server General - problem with Catalog Manager webservice

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > October 2005 > problem with Catalog Manager webservice





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 problem with Catalog Manager webservice
gwheeloc

2005-10-24, 10:38 am

I'm setting up a new CS website, this happens to be our "Prod" environment.
We have the same site setup in a QA env and Dev env. The difference is that
this new env is in it's own domain using AD with the database on it's own
server and two web servers..

I can't get the web services to work. When I try to either run the Catalog
Manager app (FP1) or navigate to the URL via the IE browser I get the same
error. The error doesn't make sense in the context of the web services as
far as I can tell.

What is happening is that it appears to be trying to load the CS context
stuff through the use of the website's web.config file. I get the following
error:

Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist
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:
Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist

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: Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist]

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.BuildPipesCollection() +966

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplication() +222

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1332

System.Web.HttpApplicationFactory. GetNormalApplicationInstance(HttpContext

context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr) +414

I know this is wrong, but as a test I copied the pipeline folder into the
webservices virtual folder and I can see a new error displayed telling it can
not find another resource defined further down in the website's web.config
file.

Does anyone know what might be misconfigured? I've been successful
configuring CS2k2 when everything is on the one server so I can't figure out
what might be different. Please help.

thanks, gwheeloc
Ravi Shankar

2005-10-24, 10:38 am

How did you transport your site to this development environment ? Did you PUP
it as part of the site package or you're un-pupping this from the FP1.pup to
your installed site ?

Is only the CatalogWebService giving these errors or you're getting similar
errors with the MarketingWebService also ?

Since this is part of another Dmain, also remember to AZAMAN.msc the
permissions file for accounts.
--
Ravi Shankar


"gwheeloc" wrote:

> I'm setting up a new CS website, this happens to be our "Prod" environment.
> We have the same site setup in a QA env and Dev env. The difference is that
> this new env is in it's own domain using AD with the database on it's own
> server and two web servers..
>
> I can't get the web services to work. When I try to either run the Catalog
> Manager app (FP1) or navigate to the URL via the IE browser I get the same
> error. The error doesn't make sense in the context of the web services as
> far as I can tell.
>
> What is happening is that it appears to be trying to load the CS context
> stuff through the use of the website's web.config file. I get the following
> error:
>
> Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist
> 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:
> Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist
>
> 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: Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist]
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.BuildPipesCollection() +966
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplication() +222
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance) +76
> System.Web.HttpApplication.InitModules() +100
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +1332
>
> System.Web.HttpApplicationFactory. GetNormalApplicationInstance(HttpContext

> context) +392
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +256
> System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr) +414
>
> I know this is wrong, but as a test I copied the pipeline folder into the
> webservices virtual folder and I can see a new error displayed telling it can
> not find another resource defined further down in the website's web.config
> file.
>
> Does anyone know what might be misconfigured? I've been successful
> configuring CS2k2 when everything is on the one server so I can't figure out
> what might be different. Please help.
>
> thanks, gwheeloc

gwheeloc

2005-10-24, 10:38 am

The site was transported via me packagin it on the dev server moving the pup
file and unpupping it on the prod server. CS2k2 and FP1 were already setup
on the server before the site was unpupped. I've done this before with
success on other servers when everything was on the one server. Id did the
AZMAN part of the conf. The difference here is that I created a domain user
group put all the users in that group and only assign the group to the
various roles.

Both the catalogwebservice and the discountmanger web service behave the
same. Same error is produced.

gwheeloc

"Ravi Shankar" wrote:
[vbcol=seagreen]
> How did you transport your site to this development environment ? Did you PUP
> it as part of the site package or you're un-pupping this from the FP1.pup to
> your installed site ?
>
> Is only the CatalogWebService giving these errors or you're getting similar
> errors with the MarketingWebService also ?
>
> Since this is part of another Dmain, also remember to AZAMAN.msc the
> permissions file for accounts.
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

Have you added the domain group as member to the local IIS_WPG group ? Does
the Domain Group have permissions on the <site>_commerce DB ? Does the Domain
Group have R/W access to Windows\Temp,
WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files directories
?

I know you'd have likely done all of these but a check wouldn't hurt
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> The site was transported via me packagin it on the dev server moving the pup
> file and unpupping it on the prod server. CS2k2 and FP1 were already setup
> on the server before the site was unpupped. I've done this before with
> success on other servers when everything was on the one server. Id did the
> AZMAN part of the conf. The difference here is that I created a domain user
> group put all the users in that group and only assign the group to the
> various roles.
>
> Both the catalogwebservice and the discountmanger web service behave the
> same. Same error is produced.
>
> gwheeloc
>
> "Ravi Shankar" wrote:
>
gwheeloc

2005-10-24, 10:38 am

The domain group only contains those users who will be using the Catalog
manager and discount manager apps.

This group needs to be added to the IIS_WPG group? Our db configuration is
not the one massive DB each the db config is modeled after the
CS2002_startersite (indivdidual dbs for each area)

No the domain group does not have access/permissions to the databases.
No the domain group does not have access to the Windows\temp or the temp
ASP.NET folder.

I wouldn't think that end users would need those kinds of access. I've been
fllowing the setup guide for the starter site for the past setups and have
had success doing so. I followed them again as best I could translate them
to the new environment. I think there may be some small differences I'm
missing there.(in my translation between the two envs.)

At this point I'm willing to try anything.
please advise.
thanks,
gwheeloc

"Ravi Shankar" wrote:
[vbcol=seagreen]
> Have you added the domain group as member to the local IIS_WPG group ? Does
> the Domain Group have permissions on the <site>_commerce DB ? Does the Domain
> Group have R/W access to Windows\Temp,
> WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files directories
> ?
>
> I know you'd have likely done all of these but a check wouldn't hurt
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

your web services are running under which IIS 6.0 account Pool ?

Since you've two web servers & a SQL Backend.. have you created a Domain Web
A/c for the default pool ?

Anything being logged in the Application event viewer ?
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> The domain group only contains those users who will be using the Catalog
> manager and discount manager apps.
>
> This group needs to be added to the IIS_WPG group? Our db configuration is
> not the one massive DB each the db config is modeled after the
> CS2002_startersite (indivdidual dbs for each area)
>
> No the domain group does not have access/permissions to the databases.
> No the domain group does not have access to the Windows\temp or the temp
> ASP.NET folder.
>
> I wouldn't think that end users would need those kinds of access. I've been
> fllowing the setup guide for the starter site for the past setups and have
> had success doing so. I followed them again as best I could translate them
> to the new environment. I think there may be some small differences I'm
> missing there.(in my translation between the two envs.)
>
> At this point I'm willing to try anything.
> please advise.
> thanks,
> gwheeloc
>
> "Ravi Shankar" wrote:
>
Vinayak Tadas[MSFT]

2005-10-24, 10:38 am

This error is not coming from the CatalogWebservice?
The CatalogWebservice does nto deal with the pcf files
CAn you verify that the pcf file mentioned below exists in the correct path?
What error do you get when you invoke the CatalogWebservice from internet
explorer?
Are there any errors in the event log?
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


--------------------
Thread-Topic: problem with Catalog Manager webservice
thread-index: AcXV3Sec0Do+JzP1RFSTplPyEVv0fw==
X-WBNR-Posting-Host: 207.127.151.43
From: "=?Utf-8?B?Z3doZWVsb2M=?=" <gwheeloc@discussions.microsoft.com>
Subject: problem with Catalog Manager webservice
Date: Thu, 20 Oct 2005 18:17:07 -0700
Lines: 64
Message-ID: <8009C7F8-87EA-499D-B6F3-244D11C816DB@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:3702
X-Tomcat-NG: microsoft.public.commerceserver.general

I'm setting up a new CS website, this happens to be our "Prod" environment.

We have the same site setup in a QA env and Dev env. The difference is
that
this new env is in it's own domain using AD with the database on it's own
server and two web servers..

I can't get the web services to work. When I try to either run the Catalog
Manager app (FP1) or navigate to the URL via the IE browser I get the same
error. The error doesn't make sense in the context of the web services as
far as I can tell.

What is happening is that it appears to be trying to load the CS context
stuff through the use of the website's web.config file. I get the
following
error:

Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist
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:
Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist

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: Pipelines: The PCF file
'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
does not exist]

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.BuildPipesCollect
ion() +966

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
tion() +222

Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
ion appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1332

System.Web.HttpApplicationFactory. GetNormalApplicationInstance(HttpContext

context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr) +414

I know this is wrong, but as a test I copied the pipeline folder into the
webservices virtual folder and I can see a new error displayed telling it
can
not find another resource defined further down in the website's web.config
file.

Does anyone know what might be misconfigured? I've been successful
configuring CS2k2 when everything is on the one server so I can't figure
out
what might be different. Please help.

thanks, gwheeloc

gwheeloc

2005-10-24, 10:38 am

the error is displayed in two ways. It depends on how I check. The first
method I get the error is when I try to launch the catalog or discount
manager application. The error below is written to the event log. The
second way is when I try to navigate to the web service's URL. the error is
reported in the browser.

You are correct / I agree the web service doe not use Pipeline components.
So why is it looking for them? As a test i copied the pipeline component it
was complaining about into the webservice's folder. It then complained about
not finding the next pipeline component configured in the web.config and so
on.....

so since this is happening something is not configured correctly. any ideas?
I've been following the steps as layed out in the CS2002 Starter site setup
guide since I based my site development on that. My setup has worked fine on
two prior servers following those steps. the difference now, is that I'm
dealing with domain level accounts and not local server accounts.

""Vinayak Tadas[MSFT]"" wrote:

> This error is not coming from the CatalogWebservice?
> The CatalogWebservice does nto deal with the pcf files
> CAn you verify that the pcf file mentioned below exists in the correct path?
> What error do you get when you invoke the CatalogWebservice from internet
> explorer?
> Are there any errors in the event log?
> 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
>
>
> --------------------
> Thread-Topic: problem with Catalog Manager webservice
> thread-index: AcXV3Sec0Do+JzP1RFSTplPyEVv0fw==
> X-WBNR-Posting-Host: 207.127.151.43
> From: "=?Utf-8?B?Z3doZWVsb2M=?=" <gwheeloc@discussions.microsoft.com>
> Subject: problem with Catalog Manager webservice
> Date: Thu, 20 Oct 2005 18:17:07 -0700
> Lines: 64
> Message-ID: <8009C7F8-87EA-499D-B6F3-244D11C816DB@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:3702
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> I'm setting up a new CS website, this happens to be our "Prod" environment.
>
> We have the same site setup in a QA env and Dev env. The difference is
> that
> this new env is in it's own domain using AD with the database on it's own
> server and two web servers..
>
> I can't get the web services to work. When I try to either run the Catalog
> Manager app (FP1) or navigate to the URL via the IE browser I get the same
> error. The error doesn't make sense in the context of the web services as
> far as I can tell.
>
> What is happening is that it appears to be trying to load the CS context
> stuff through the use of the website's web.config file. I get the
> following
> error:
>
> Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist
> 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:
> Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist
>
> 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: Pipelines: The PCF file
> 'C:\Inetpub\wwwroot\website\website_Cata
logWS\Pipelines\CCValidation.pcf'
> does not exist]
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.BuildPipesCollect
> ion() +966
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
> tion() +222
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
> ion appInstance) +76
> System.Web.HttpApplication.InitModules() +100
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +1332
>
> System.Web.HttpApplicationFactory. GetNormalApplicationInstance(HttpContext

> context) +392
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +256
> System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr) +414
>
> I know this is wrong, but as a test I copied the pipeline folder into the
> webservices virtual folder and I can see a new error displayed telling it
> can
> not find another resource defined further down in the website's web.config
> file.
>
> Does anyone know what might be misconfigured? I've been successful
> configuring CS2k2 when everything is on the one server so I can't figure
> out
> what might be different. Please help.
>
> thanks, gwheeloc
>

gwheeloc

2005-10-24, 10:38 am

I only have the default pool, so it's configured under the defaultAppPool.
One problem I am having is where the setup guide says to configure the cs2k2
account as the account for the app pool. when I do this the website does not
function and the pool stops itself. So the only way i can get it to work is
by using the "Network Service" account.

I didn't create a group for the default pool. I did create an account
called IWAM_Domain acount and added it to the IIS_WPG group.

the error below is the only error logged.

I'm not convinced I have the IIS stuff setup correctly, but I don't see how
that is causing the problem. I would expect some kind of permission problem
rather than the web service looking for components it shouldn't need. i've
got to go live with this site next week and the web services are the only
pieces not working.

How do I tell what account the web service is trying to use? I don't see
where I tie the web services to an account to run under. I'm assuming it
runs under the account that runs the DefaultAppPool. which right now is the
"Network Service" account.


"Ravi Shankar" wrote:
[vbcol=seagreen]
> your web services are running under which IIS 6.0 account Pool ?
>
> Since you've two web servers & a SQL Backend.. have you created a Domain Web
> A/c for the default pool ?
>
> Anything being logged in the Application event viewer ?
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

I think the issue is that the web.config has been changed and the
"<pipelines>" section has NOT been commented out... Can you just copy the
web.config from the QA system over, reset IIS and check ?
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> the error is displayed in two ways. It depends on how I check. The first
> method I get the error is when I try to launch the catalog or discount
> manager application. The error below is written to the event log. The
> second way is when I try to navigate to the web service's URL. the error is
> reported in the browser.
>
> You are correct / I agree the web service doe not use Pipeline components.
> So why is it looking for them? As a test i copied the pipeline component it
> was complaining about into the webservice's folder. It then complained about
> not finding the next pipeline component configured in the web.config and so
> on.....
>
> so since this is happening something is not configured correctly. any ideas?
> I've been following the steps as layed out in the CS2002 Starter site setup
> guide since I based my site development on that. My setup has worked fine on
> two prior servers following those steps. the difference now, is that I'm
> dealing with domain level accounts and not local server accounts.
>
> ""Vinayak Tadas[MSFT]"" wrote:
>
gwheeloc

2005-10-24, 10:38 am

I wish it were that simple. Here is the contents of the web.config as found
in the web service's folder:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="CommerceServer">
<section name="catalogWebService"
type="Microsoft.CatalogServer.Configuration.CatalogWebServiceSectionHandler,
Microsoft.CatalogServer, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</sectionGroup>
</configSections>
<CommerceServer>
<catalogWebService siteName="Sterngold"
authorizationPolicyPath="CatalogAuthorizationStore.xml"
debugLevel="Production" fileUploadDirectory="%windir%\temp"
maxChunkSize="1024" maxUploadFileSize="204800" timeOutHours="24"/>
</CommerceServer>
<system.web>
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add assembly="Microsoft.CatalogServer, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>
<customErrors mode="Off"/>
<authentication mode="Windows"/>
<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true"/>
<sessionState mode="Off" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20"/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
</configuration>


"Ravi Shankar" wrote:
[vbcol=seagreen]
> I think the issue is that the web.config has been changed and the
> "<pipelines>" section has NOT been commented out... Can you just copy the
> web.config from the QA system over, reset IIS and check ?
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

Here is what you do

1. On the AD create an a/c eg: IUSR_MyDomain
2. On the AD create a group (security, global) IIS_WPG and assign
IUSR_MyDomain and your CS Service A/c to this
3. On SQL Server create a login & provide permissions on site_commerce &
DHW db's for this Domain\IIS_WPG group
4. On each of the CS Web Server, add Domain\IIS_WPG to the local IIS_WPG
group
5. Under DefaultAppPool (Identity Page) change to configurable and set the
a/c as DOMAIN\IUSR_MyDomain

6. Create another App Pool eg: CSAppPool and set the identity to
DOMAIN\Your CS Service A/c. Start It
7. Go to your Store equiv application and change the pool setting to CSApp
Pool.

Stop the Default Web Site, Stop all Application Pools. Start all App Pools
and then start the Default web site.

--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> I only have the default pool, so it's configured under the defaultAppPool.
> One problem I am having is where the setup guide says to configure the cs2k2
> account as the account for the app pool. when I do this the website does not
> function and the pool stops itself. So the only way i can get it to work is
> by using the "Network Service" account.
>
> I didn't create a group for the default pool. I did create an account
> called IWAM_Domain acount and added it to the IIS_WPG group.
>
> the error below is the only error logged.
>
> I'm not convinced I have the IIS stuff setup correctly, but I don't see how
> that is causing the problem. I would expect some kind of permission problem
> rather than the web service looking for components it shouldn't need. i've
> got to go live with this site next week and the web services are the only
> pieces not working.
>
> How do I tell what account the web service is trying to use? I don't see
> where I tie the web services to an account to run under. I'm assuming it
> runs under the account that runs the DefaultAppPool. which right now is the
> "Network Service" account.
>
>
> "Ravi Shankar" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

Hmm.. that looks OK. Can you check one more thing.. Are CatalogWebService &
MarketingWebService actually shown as applications under IIS ? If they get
registered only as eb folders then the web.config of the parent folder may
get executed and cause this error... ?
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> I wish it were that simple. Here is the contents of the web.config as found
> in the web service's folder:
>
> <?xml version="1.0" encoding="utf-8"?>
> <configuration>
> <configSections>
> <sectionGroup name="CommerceServer">
> <section name="catalogWebService"
> type="Microsoft.CatalogServer.Configuration.CatalogWebServiceSectionHandler,
> Microsoft.CatalogServer, Version=5.0.1.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35"/>
> </sectionGroup>
> </configSections>
> <CommerceServer>
> <catalogWebService siteName="Sterngold"
> authorizationPolicyPath="CatalogAuthorizationStore.xml"
> debugLevel="Production" fileUploadDirectory="%windir%\temp"
> maxChunkSize="1024" maxUploadFileSize="204800" timeOutHours="24"/>
> </CommerceServer>
> <system.web>
> <webServices>
> <protocols>
> <add name="HttpSoap"/>
> <add name="HttpPost"/>
> <add name="HttpGet"/>
> </protocols>
> </webServices>
> <compilation defaultLanguage="c#" debug="true">
> <assemblies>
> <add assembly="Microsoft.CatalogServer, Version=5.0.1.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> </assemblies>
> </compilation>
> <customErrors mode="Off"/>
> <authentication mode="Windows"/>
> <trace enabled="false" requestLimit="10" pageOutput="false"
> traceMode="SortByTime" localOnly="true"/>
> <sessionState mode="Off" stateConnectionString="tcpip=127.0.0.1:42424"
> sqlConnectionString="data source=127.0.0.1;user id=sa;password="
> cookieless="false" timeout="20"/>
> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
> </system.web>
> </configuration>
>
>
> "Ravi Shankar" wrote:
>
gwheeloc

2005-10-24, 10:38 am

When I setup the web service on the second web server they worked fine. This
is the second in a load balanced env. During my config of other things the
behavior began on this second server as well. I wasn't sure what I did
wrong. I removed the web service apps and now Commerce Server pakager will
not let me set them back up. I'm getting a message to the affect that
Comerce Server standard edition does not allow more than one non-Bizdesk app
or Catalog service app... How Do I make the unpup process work again? It
work the first time I ran it. Now it refuses to let me add the applications
again.

thanks,

"Ravi Shankar" wrote:
[vbcol=seagreen]
> Here is what you do
>
> 1. On the AD create an a/c eg: IUSR_MyDomain
> 2. On the AD create a group (security, global) IIS_WPG and assign
> IUSR_MyDomain and your CS Service A/c to this
> 3. On SQL Server create a login & provide permissions on site_commerce &
> DHW db's for this Domain\IIS_WPG group
> 4. On each of the CS Web Server, add Domain\IIS_WPG to the local IIS_WPG
> group
> 5. Under DefaultAppPool (Identity Page) change to configurable and set the
> a/c as DOMAIN\IUSR_MyDomain
>
> 6. Create another App Pool eg: CSAppPool and set the identity to
> DOMAIN\Your CS Service A/c. Start It
> 7. Go to your Store equiv application and change the pool setting to CSApp
> Pool.
>
> Stop the Default Web Site, Stop all Application Pools. Start all App Pools
> and then start the Default web site.
>
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

I don't think you can scale CS Std Ed. to more that 1 processor and surely
not a load balanced environment but then I could be wrong...
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> When I setup the web service on the second web server they worked fine. This
> is the second in a load balanced env. During my config of other things the
> behavior began on this second server as well. I wasn't sure what I did
> wrong. I removed the web service apps and now Commerce Server pakager will
> not let me set them back up. I'm getting a message to the affect that
> Comerce Server standard edition does not allow more than one non-Bizdesk app
> or Catalog service app... How Do I make the unpup process work again? It
> work the first time I ran it. Now it refuses to let me add the applications
> again.
>
> thanks,
>
> "Ravi Shankar" wrote:
>
gwheeloc

2005-10-24, 10:38 am

Ravi:

Could you explain your statement about CS not working with a load balancer?
Our env. 2 web servers, 1 DB server. We were planning to put a load balancer
in from of these web servers. When you say "not a load balancer" what do you
mean?

Thanks.

"Ravi Shankar" wrote:
[vbcol=seagreen]
> I don't think you can scale CS Std Ed. to more that 1 processor and surely
> not a load balanced environment but then I could be wrong...
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
gwheeloc

2005-10-24, 10:38 am

Looks like I solved the problem. It is happening because I have the
webservice configured as a virtual folder within the main website and the
website is not in it's own virtual folder. Hopefully this makes sense. So
my next question is this. Should the webservice be setup under their own
website with their own IPs? The files are in their own folders, but in IIS I
had their virtual folders nested within the main website.

"Ravi Shankar" wrote:
[vbcol=seagreen]
> Hmm.. that looks OK. Can you check one more thing.. Are CatalogWebService &
> MarketingWebService actually shown as applications under IIS ? If they get
> registered only as eb folders then the web.config of the parent folder may
> get executed and cause this error... ?
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

Well, load balanced implies more that one physical system. I am under the
impression that CS Std Edn cannot be used on more that one system. It is my
understanding that Microsoft modified the std licensing policy to incorporate
hyper-threaded processors since they show up as two processors while
physically being one proc.

So if you're using CS Std Ed on a single proc machine with your SQL DB's on
one or more than one machines it is OK, but if you're loading CS on more that
one machine then (my understanding) you require Commerce Server Enterprise
Edition.

I suggest you call up your Microsoft rep and confirm licensing.
--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> Ravi:
>
> Could you explain your statement about CS not working with a load balancer?
> Our env. 2 web servers, 1 DB server. We were planning to put a load balancer
> in from of these web servers. When you say "not a load balancer" what do you
> mean?
>
> Thanks.
>
> "Ravi Shankar" wrote:
>
Ravi Shankar

2005-10-24, 10:38 am

Ahh... that clears up things... in a typical deployment each application
under a commerce site is a folder under the root (default web). In your case
your main site is the root and other applications are folders under that.

In a typical deployment (eg: Retail2002 + FP1) the folders would look like

-default web site (web.config but no commerce modules, etc)
|
+ Retail2002 (web.config with CommerceModules, pipelines, caches, etc)
|
+ Retail2002BizDesk (global.asa...)
|
+ Retail2002B2B (web.config... separate application folders for
inventory, catalog, etc each with a different web.config and configured as
applications )
|
+ CatalogWebService (web.config... but no pipelines, etc)
|
+ MarketingWebService (web.config... but no pipelines, etc)

If the above is the case (folder and not applications) then the web.config
of the application is the one in the application root which is why it was
running the pipelines section and failing. If the sub folder is an
application (under IIS) then it executes the local web.config.

--
Ravi Shankar


"gwheeloc" wrote:
[vbcol=seagreen]
> Looks like I solved the problem. It is happening because I have the
> webservice configured as a virtual folder within the main website and the
> website is not in it's own virtual folder. Hopefully this makes sense. So
> my next question is this. Should the webservice be setup under their own
> website with their own IPs? The files are in their own folders, but in IIS I
> had their virtual folders nested within the main website.
>
> "Ravi Shankar" wrote:
>
Zoe Hart [MVP]

2005-10-24, 10:38 am

I too could be wrong, but I don't believe there's any issue with running CS
Std Edition in a web farm as long as you have licenses for each of the web
servers in the web farm. I have a client running CS Std Edition on a two
server web farm with Windows load balancing.

Are your web services running in virtual directories underneath your web
site and is that the way you have it working in QA and Dev? I started with
them configured that way and ran into the error you're seeing because in
ASP.NET a virtual application within a web site inherits the parent site's
web.config file, but the CS web.config file contains too many file path
specs that break down in lower level virtual directories. I've had no
success running any ASP.NET application as a virtual application within a CS
application. So I always run my web services under an Admin website separate
from the retail web site.

--
Zoe Hart
Commerce Server MVP


"Ravi Shankar" <shankycheil@newsgroup.nospam> wrote in message
news:ED2968A2-E9AC-4623-8DE7-589B6CDA4F6A@microsoft.com...[vbcol=seagreen]
> Well, load balanced implies more that one physical system. I am under the
> impression that CS Std Edn cannot be used on more that one system. It is
> my
> understanding that Microsoft modified the std licensing policy to
> incorporate
> hyper-threaded processors since they show up as two processors while
> physically being one proc.
>
> So if you're using CS Std Ed on a single proc machine with your SQL DB's
> on
> one or more than one machines it is OK, but if you're loading CS on more
> that
> one machine then (my understanding) you require Commerce Server Enterprise
> Edition.
>
> I suggest you call up your Microsoft rep and confirm licensing.
> --
> Ravi Shankar
>
>
> "gwheeloc" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com