2009-05-25 18 views
1

別のAOSに接続するには、異なる設定のMS Dynamics AX 2009クライアントを起動する必要があります。
これを達成するために、クライアント構成をaxcファイルにエクスポートしました。これはかなりうまく動作します。
私たちのネットワーク上のすべてのクライアントでこのファイルを共有したいのですが、面白い理​​由のためにDynamics AXバイナリへのパスがクライアントの設定ファイルにハードコードされているため、一部では機能しません。 したがって、AXクライアントは、C:¥Program Files(x86)¥Microsoft Dynamics AX¥50¥Client¥Binにインストールされ、次のC:¥Program Files¥Microsoft Dynamics AX¥50¥Client¥Binにインストールされます。 axcのパスが実際のパスと異なるため、ファイルは機能しません。Dynamics AX 2009クライアント設定ファイルの開始パスの問題

すべてのクライアントコンピュータで動作しているaxcファイルを作成するにはどうすればよいですか?共有設定ファイルを使用できますか?

答えて

3

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

醜い。私はMicrosoftがこれを将来のバージョンで修正することを本当に願っています。

1

だけ入れて、両方のパス:

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

良いアイデアですが、動作しません。設定ファイルの最初のパスに対してのみ起動します。 – Sam

1

方法について

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

+0

x64システムでは、パス "Program Files(x86)"はProgra〜2ではなくProgra〜2であるため、このハックは機能しません。最初のパスではなく2番目のパスです。 – Sam

+0

これを無視してください progra〜1は "program files(x86)"をプログラムファイルに変換しません。 –

2

あなたがクライアントにレジストリキーを展開するために管理している場合その解決策は次のようなものです:

  1. エクスポートレジストリから問題のAX構成(通常はHKCU \ Software \ Microsoft \ Dynamics \ 5.0 \ Configurationにあります)、対象のコンピュータにインポートします(ドメインログオン時など)
  2. lnkを作成しますAx32アプリケーション、およびコマンドラインパラメータ提供:-regconfig = <typeTheConfigNameHere>
    を例:Ax32.exe -regconfig =


は今、私はこれを入力することLIVE、私はこのソリューションの追加の問題を実現これはもうパスです...しかし、lnkファイルの2つのバージョンを作成して管理するのは簡単です(32ビット用と64ビット用)。レジストリはsaです私。 お手伝い願います!

+0

Jup、悲しいことに、これは悲しいことに、別の変装で同じ問題です。 – Sam

2

私は自分の開発環境の設定の次の構造を使用しており、これはあなたが探しているものだと思います。

以下は例です。


サーバー名:SRV01 このサーバーでは、そのフォルダを共有します。 フォルダ構造:

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,[email protected]: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ファイルを実行するだけです。 希望、私は十分に明確だったと私はあなたが探していたものを理解願っています))

3

NTFS内の接合点を使用して、32ビットクライアント上の "Program Files(x86)"を "Program Files"にポイントすることができます。接続ポイントは、基本的に、WindowsのUNIXシンボリックリンクに相当します。

関連する問題