cancel
Showing results for 
Search instead for 
Did you mean: 

Connection to the repository from AMT application

Former Member
0 Kudos

Hello all,

I have the following issue:

- I had Mobile Sales installed in my laptop.

- I have installed AMT application afterwards, by executing application SetupAMTRTOs.exe (no connection parameters where asked for this).

- I have created ODBC access to the Repository server (to the ars_db), Tested and it is OK.

- I have assigned AMT user subscription and Authorization subscriptions to my site.

When I launch AMT, logon works OK, but message says: "Cannot connect to repository", then I cannot access objects from the repository.

What should I do to connect to the repository?

Thanks all!

Judit.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As the previous posts indicate the setting takes place at

HKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\MW\security\AMTARS and it should match with the registry.

Is MAS(mobile application studio) installed on your system?. If yes pelase try connecting explicity to MAS and check whether you can connect.If there are errors then the problem is with the user settings in MAS and not with AMT.

If MAS is not installed in the system(thats a mobile client only) then the dll's and services required for connecting to the ars repository may not be present.So during startup the initialization may fail.

Thanks,

Abishek

Answers (3)

Answers (3)

nishant_kumar
Explorer
0 Kudos

The Issue "Cannot connect to Repository" comes only if the setting in the reg entry and ODBC connection is not proper. There could some time user cannot login with the ARSGuest id. So in that case kindly check this

In ODBC connection create a new DSN i.e. ars_db and then give the server name where the application repository is stored. Login with arsadmin. This will give you all the list of DB. Select one DB and click on next then click on "Test Data source" This will give you the details of the success connection.

Then open reg entry and go to HKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\MW\security

Create a new key i.e. AMTARS under security, this will now look like

HKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\MW\security\AMTARS

Then for AMTARS create new string values

dsn = "ars_db"

user = "ARSGuest" if the ARSGuest doesn't work then change the value to "arsadmin"

pwd = ""

Owner = "dbo"

This will resovle the connection to repository problem, however if you still facing the issue then please let me know.

Regards

Nishant Kumar

Former Member
0 Kudos

hi,

You could try to connect with login "arsadmin" and no password on the ODBC connexion it has not the same rights on the database

hop that help

Former Member
0 Kudos

Hi,

I had this issue several times with several versions since 2.0B/C...

As far as I can remember it helped finally to check and change the registry setting for the AMT respectively the ODBC source according to the DB user. Normally the user ARSGuest is used but I guess it helped to change this to ars_db/ars_db.

Regards,

Wolfhard

Former Member
0 Kudos

Thank you Wolfhard,

what I did was:

- Check the registry, under HKEY_LOCAL_MACHINE>SOFTWARE->SAP->MSA->MW->SECURITY. THere was no entry for AMTARS.

- I added the entry AMTARS and all the included keys: dsn, owner, Pwd, user, according to the ODBC access.

But it still doesn't work...

Judit.

Former Member
0 Kudos

Hi,

I remember there is (should be) another registry node for the amtbol settings (as AMT is using a different BOL than MSA) -> see below for 4.0...

Did you also change the user/pwd for the DSN?

Regards,

Wolfhard

#######################################################################

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol]

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\ars]

"RelativePath"="
bol
apps
amtbol
ars
"

"Path"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\msgInfo]

"RelativePath"="
bol
apps
amtbol
msginfo
"

"Path"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\VBA]

"RelativePath"="
bol
apps
amtbol
vba
amtbol
prj"

"Path"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\VBA\BOL]

"0"="amtbol.classFactory"

Former Member
0 Kudos

Hi,

I check the registry and I cannot find an entry for HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM.

If I check another PC where AMT is working fine (is a PC for developments), the only entry I can see is HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\Bol\Code Import and HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\Bol\Generator.

Is it maybe because we are working with version 5.0?

I haven't changed the user or password either.

Thanks again,

Judit.

Former Member
0 Kudos

Hi,

I mean maybe it helps if you change the user for the DSN to "ars_db" which has maximum rights on DB ars_db.

Probably you also need to stop/restart the ARS central server...

Regards,

Wolfhard