Commerce Server General - Commerce Server Problem

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > June 2004 > Commerce Server Problem





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 Commerce Server Problem
Ravi Shankar

2004-06-30, 7:49 am

Could it be that both of you (the developers) are using
your machines only for web site development while sharing
the same Commerce Server backend ? If this is the case
and your server is not registered in the site database at
the backend then something like what you describe might
happen.

>-----Original Message-----
>Hi Xu,
>
>Yes thats right suppose "XU" and "Stephen" are

developers and Suppose "Xu"
>gave me the latest project file in "pack"ed version and

then I "unpack" it
>on my machine.
>when i compile and run the application say:
>http://localhost/default.aspx or

http://Stephen/default.aspx
>both are redirected to http://XU/default.aspx
>I am making use of the concepts defined in Retail2002.
>
>Please advice.
>Stephen.
>
>
>.
>

Andy Xu[MSFT]

2004-06-30, 8:50 pm

Stephen,

I am pretty sure you are running into a web farm scenario. To begin with, you and the other develop, even using the different machines (each has commerce server installed), both point to the same SQL server as
admin database, correct?

In that case, it is a deployment of one commerce Admin DB server and two commerce servers (kind of like two application server instances sharing the same machine.)

Now, a site (let's call it retail2002) unpuped from the other develop's machine can also be seen in your machine's commerce server manager. When you did the pup, I guess you didn't choose a different
commerce site name. And that's so called web farm -- from your machine a new commerce app for that site is created.

One thing to check, open your commerce server manager, choose retail2002 site, open the applications, extend the retail2002 application, you should be able to see two nodes under that (meaning that two
instances of the commerce app exist). Now, open retail2002 application's property page (not the site's property page). check the "nonsecure host name" field, by default, it will be the first web server machine (the
other develop's). That's why you always are being redirect to that machine.

The solution? If you are intended to deploy a web farm, the best practice is to change nonsecure host name to a host which can access two machines and decide the traffic distribution. (for example, a load
balancer). If you do not want a web farm, make sure when you unpup the site, choose a different commerce site name (in fact, if you choose the same name, a warning dialog should pop up for your confirmation.).
Or from the beginining, use a different SQL server to deploy your commerce admin DB.

You can get more related information by searching commerce server documentation using keyword "web farm".

HTH,
Andy Xu [MSFT]
Commerce Server Team
--
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

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
--------------------
Content-Class: urn:content-classes:message
From: "Ravi Shankar" <shankar.nospam@hp.com>
Sender: "Ravi Shankar" <shankar.nospam@hp.com>
References: <ufmkgYjXEHA.556@tk2msftngp13.phx.gbl>
Subject: Commerce Server Problem
Date: Wed, 30 Jun 2004 03:32:52 -0700
Lines: 27
Message-ID: <238c501c45e8d$98ef3630$a501280a@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcRejZjvCYchrUpVRvyJL8ZWczJRvw==
Newsgroups: microsoft.public.commerceserver.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14167
NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
X-Tomcat-NG: microsoft.public.commerceserver.general

Could it be that both of you (the developers) are using
your machines only for web site development while sharing
the same Commerce Server backend ? If this is the case
and your server is not registered in the site database at
the backend then something like what you describe might
happen.

>-----Original Message-----
>Hi Xu,
>
>Yes thats right suppose "XU" and "Stephen" are

developers and Suppose "Xu"
>gave me the latest project file in "pack"ed version and

then I "unpack" it
>on my machine.
>when i compile and run the application say:
>http://localhost/default.aspx or

http://Stephen/default.aspx
>both are redirected to http://XU/default.aspx
>I am making use of the concepts defined in Retail2002.
>
>Please advice.
>Stephen.
>
>
>.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com