Commerce Server Problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Commerce Server Problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Commerce Server Problem  
Ravi Shankar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 12:49 PM

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.
>
>
>.
>





[ Post a follow-up to this message ]



    RE: Commerce Server Problem  
Andy Xu[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-01-04 01:50 AM

Stephen,

I am pretty sure you are running into a web farm scenario. To begin with, yo
u and the other develop, even using the different machines (each has commerc
e 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 com
merce servers (kind of like two application server instances sharing the sam
e machine.)

Now, a site (let's call it retail2002) unpuped from the other develop's mach
ine 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 sit
e, open the applications, extend the retail2002 application, you should be a
ble to see two nodes under that (meaning that two
instances of the commerce app exist). Now, open retail2002 application's pro
perty page (not the site's property page). check the "nonsecure host name" f
ield, 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 d
ecide 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 nam
e, a warning dialog should pop up for your confirmation.).
Or from the beginining, use a different SQL server to deploy your commerce a
dmin DB.

You can get more related information by searching commerce server documentat
ion 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 incl
uded 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 mess
age 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.
>
>
>.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register