on 2008 Aug 25 9:16 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
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.
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.