質問

いく必要があり、MS Dynamics AX2009クライアントの異なる構成で接続する異なるAOS.
そのために輸出し、お客様の構成にaxc-ファイルの作品ですね。
今えられたらと思っていますこのファイルのすべてのお客様に当社のネットワークが動作しないものであった理由は、パスへのDynamics AX連ハードコードクライアントのconfigファイルです。なので、コンピュータのAXクライアントが設置されC:\Program Files(x86)\Microsoft Dynamics AX\50\ト\Binに、次にC:\Program ファイルを\Microsoft Dynamics AX\50\ト\Binファイルなので、axcと異なる実際のパスです。

の作成方法を教えてください、axc-ファイルは各クライアントコンピュータ、共同でご利用いただきます。configファイルとは何ですか?

役に立ちましたか?

解決

私が見つけた唯一の回避策は、cのように、いくつかのカスタムパスにあるすべてのコンピュータにクライアントをインストールすることです:。\斧の代わりに、プログラムファイルにそれをインストールする

醜いです。私は実際にマイクロソフトは、いくつかの将来のバージョンでこの問題を解決を願っています。

他のヒント

あなたは、32ビットクライアント上で「プログラムファイル」に「プログラムファイル(x86の)」を指すようにNTFSでの接合点を使用することができます。接合点は、基本的には、UNIXのシンボリックリンクのWindowsのと同等です。

管理する場合の展開にレジストリキーは、お客様、そして、ソリューションが何ようになります:

  1. 輸出はAXの構成からのレジストリ(通常用されるHKCU\Software\Microsoft\球5.0\設定)、輸入で対象のコンピュータ(ドメインのログオンなど)
  2. をlnkのAx32プを供給するコマンドラインパラメータ:-regconfig=<typeTheConfigNameHere>
    例:Ax32.exe -regconfig=ライブ


っていただいたものとさせていたこたことを、改めて実感しました追加の問題をこのソリューションは、そのパス...ただし、容易に作成、維持つのバージョンのlnkファイル(32、64ビット環境)...のレジストリは同じです。希望です!

私は、私の開発環境のセットアップの次のような構造を使用していると私は、これはあなたが探しているものであると思います。

以下は一例です。

<時間>

サーバー名:SRV01 そのサーバー上の元のフォルダを作成します。 AX5とそのフォルダを共有します。 フォルダ構造ます:

AX5
--Application
----Appl
------Application_1 <- here is your *.aod file(-s)
------Application_2 <- here is your *.aod file(-s)

--AXC
------Application_1
-------- usr.axc configuration file <- save your configuration here
-------- cus.axc configuration file <- save your configuration here
------Application_2 
-------- *.axc configuration file <- save your configuration here

--Client <- here is your Ax32.exe.
--Server <- here is your Ax32Serv.exe
--StartUp
------Application_1
-------- usr.bat with one line. In this case this would be \\SRV01\AX5\Client\Bin\Ax32.exe \\SRV01\AX5\AXC\Application_1\usr.axc
-------- cus.bat with one line. In this case this would be \\SRV01\AX5\Client\Bin\Ax32.exe \\SRV01\AX5\AXC\Application_1\cus.axc
------Application_2
-------- *.bat with one line. In this case this would be \\SRV01\AX5\Client\Bin\Ax32.exe \\SRV01\AX5\AXC\Application_1\*.axc

そして、ここでは、

* .axcファイルの例です。
Configuration export file for Dynamics
Formatversion: 1
Configuration: usr.axc
    logdir,Text,C:\Users\Public\Microsoft\Dynamics Ax\Log\ <------------- change this but it's up to you
    company,Text,
    startupcmd,Text,
    extracmdline,Text,
    startupmsg,Text,
    aos2,Text,AOS_Instance_Name@SRV01:2712 <------------- change this
    aosencryption,Text,1
    xppdebug,Text,1
    globalbreakpoints,Int,1
    aol,Text,usr
    aolcode,Text,
    traceeventsenabled,Text,1
    tracestart,Int,0
    tracexppmethodcalldepth,Text,3
    client,Text,thin
    _clientmode,Int,0
    sql,Int,1
    native,Int,0
    hassqlpwd,Int,0
    localappldoc,Int,0
    localsysdoc,Int,0
    applshare,Int,1
    applexclusive,Int,0
    hascompwd,Int,0
    hasserveridletimeout,Int,0
    allowunauth,Int,0
    windowsauth,Text,1
    sqloraclefirstrowsfix,Text,0
    hasocipwd,Int,0
    dbunicodeenabled,Text,1
    cachesynctime,Text,
    caslevel,Text,enable
    language,Text,
    _clientadname,Text,
    aos,Text,
    application,Text,
    bindir,Text,\\SRV01\AX5\Client\Bin <------------- change this
    broadcast,Text,
    compwd,Text,
    connectionidletimeout,Text,
    createdsn,Text,
    database,Text,AXDB   <------------- change this
    datadir,Text,\\SRV01\AX5\Client\Data  <------------- change this
    dbcli,Text,odbc
    dbserver,Text,SRV01  <------------- change this
    directory,Text,\\SRV01\AX5\Client  <------------- change this
    dsn,Text,
    exposeserverprinters,Int,0
    fetchahead,Text,
    haswarnings,Int,0
    hint,Text,
    ignoredatasourceindex,Text,0
    installationlanguage,Text,EN-US
    internet,Text,SRV01
    log,Text,
    newconnectionretrycount,Text,
    newconnectionretrydelayms,Text,
    ociconnectservice,Text,1
    ocidbid,Text,
    ocihost,Text,
    ociservice,Text,
    ocitcpipport,Text,1521
    opencursors,Text,
    port,Text,
    preloadthresholdmsec,Text,
    preloadthresholdrecords,Text,
    querytimelimit,Text,
    retry,Text,
    serveridletimeout,Text,
    servermask,Text,2712  <------------- change this
    sqlbuffer,Text,
    sqlcomplexliterals,Text,1
    sqlformliterals,Text,1
    sqlpwd,Text,
    sqltrace,Text,0
    sqluser,Text,
    user,Text,
    warnings,Text,
    tracemaxfilesize,Text,10000
    tracebuffersize,Text,1024
    tracemaxbuffers,Text,120
    traceminbuffers,Text,30
    traceallowclient,Int,0

重要な注意:各クライアントPC上でAX 2009クライアントをインストールします。任意の値を述べる - インストールしているときには、AOSを述べるように求められます。このローカルにインストールAX 2009クライアントはそれがGACにはないいくつかの追加のアセンブリを使用して必要に応じています。

最後に - どのようにAXを起動するには?単に*の.batファイルを実行します。 )私は)十分に明確だったと私はあなたが探していたものを理解願っていない願っています。

ただ、両方のパスを入れます:

directory,Text,C:\Program Files\Microsoft Dynamics AX\50\Client
directory,Text,C:\Program Files (x86)\Microsoft Dynamics AX\50\Client\Bin

方法について

C:\ PROGRA〜1 \のMicrosoft Dynamics AX \ 50 \クライアント

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top