NAS on the same server

grazigrazi Member Posts: 7
edited 2004-08-12 in Navision e-Commerce
Is it possible to have more then 1 application server un one server?
I have 2 companies on the same server and I need to use both with biztalk and commerce gateway. Purchase order from company1 that become a Sales Order in Company2 DB using CG and BTS.

Thanks in advance

G.

Comments

  • kristinnkristinn Member Posts: 2
    You can have more than one AppServer on the same machine. You need to run the NAS application with some parameter to register it as a service:

    nas appservername=NAS2,servername=finserver, company="compname",startupparameter="param",installasservice
  • grazigrazi Member Posts: 7
    Thanck you very much.
    I'll try asap

    Bye G.
  • grazigrazi Member Posts: 7
    I'm trying to do that, but instead of Nas I use nassql.
    For nassql what is the right command line?

    thanks you

    G.
  • nicklaslnicklasl Member Posts: 10
    It's the same as in kristinn's example except change nas to nassql and servername should be the SQL-servername:

    nassql appservername=NAS2,servername=sqlserver, company="compname",startupparameter="param",installasservice
  • grazigrazi Member Posts: 7
    OK,
    I did it and now I have 2 NAS on my server:
    NASSQL and NASSQL2, but when I use Biztalk how can I send a document to NAS1 or to NAS2.
    I hope you can help me

    G.
  • daborgdaborg Member Posts: 54
    I have tried this and although I now have the 2 NAS's installaed and showing as services, I get the following event log eror when I try to start the 2nd NAS:

    Any ideas????? It is NAS 3.70A by the way...


    Event Type: Warning
    Event Source: NAS-SQL2
    Event Category: None
    Event ID: 109
    Date: 08/09/2004
    Time: 3:31:18 PM
    User: N/A
    Computer: NAS_TEST
    Description:
    This message is for C/AL programmers:

    The call to member OpenSocket failed. SocketBusAdapter.SocketBusAdapter.1 returned the following message:
    Cannot open Socket.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
  • IHateLinuxIHateLinux Member Posts: 223
    Hi,

    when you try to run more than one NAS in Navision 3.70 you will have to install the MICROSOFT BUSINESS SOLUTIONS-NAVISION COMMERCE GATEWAY BROKER.
    After the installation you have to modify a XML config file for the broker and then you have to configure each of the NAS with the port.
    There is a quite good documentation in the DOC folder of the 3.70A cd-rom. It is called the w1w1instEcomm.pdf

    HTH,
    Rainer
  • DenSterDenSter Member Posts: 8,307
    You don't directly connect to the NAS from BTS. You enter the Navision AIC into the BTS port, which is a COM+ component that lives on the server. It will be available when you install the commerce gateway components according to the installation guide.

    NAS connects to the server and starts a single instance codeunit that basically listens to this component for incoming messages. Two instances of NAS means two instances of the component. You distinguish the two by giving them different names. So one NAS is listening to the instance called 'NameOne', and the other is listening to the instance called 'NameTwo'.

    Now how to have two AIC's I dont know, sorry :)
  • haha Member Posts: 1
    Hi

    [The call to member OpenSocket failed. SocketBusAdapter.SocketBusAdapter.1 returned the following message:
    Cannot open Socket.]
    You can get rid of this error if you use different port numbers for NAS (i.e. 7528, 7529) in Navision BizTalk-Setup.

    H.
Sign In or Register to comment.