cancel
Showing results for 
Search instead for 
Did you mean: 

why we can not access ads from remote control (RDP protocall)?

0 Kudos

Hi,

i am a developer and i have created connection ads to our python script on on local server when i an taking machine on remote connection (RDP) than we have not established connection with ads ?

how to tell me how to connect on remote connection (RDP)?

Accepted Solutions (1)

Accepted Solutions (1)

harry_rogers
Explorer
0 Kudos

You may be missing an ADS.ini file with the 'MTIER_LOCAL_CONNECTIONS=1' directive. As described here

https://devzone.advantagedatabase.com/dz/webhelp/Advantage7.1/mergedProjects/adserror/err5xxx/5185_a...

0 Kudos

thank you guys harry.....

you are right...

Answers (2)

Answers (2)

michael_loop
Contributor

Harry is exactly right.

Advantage Local Server connections are restricted when used from a web server, an application server, a terminal server, or any other type of middleware or server product used to access data on behalf of remote computers.

If you do not already have an ads.ini file, create a text file with this name in your application directory. Add the lines:

[SETTINGS]
MTIER_LOCAL_CONNECTIONS=1

This is your acknowledgement that you understand the license restrictions of local server and either:

  • are in development
  • have purchased an appropriate license
  • or have an application that uses the local connection internally but does not transfer the data to a client

Alternatively, you could use the Advantage Database Server (ads.exe) and use a remote server connection.

Please see:

http://devzone.advantagedatabase.com/dz/webhelp/Advantage12/master_important_notes.htm
http://devzone.advantagedatabase.com/dz/webhelp/Advantage12/error_5185_ae_local_conn_restricted.htm

and, if you would prefer to trial the current version:

http://devzone.advantagedatabase.com/dz/content.aspx?key=1 and click "Download ADS Today!"

0 Kudos

thank you guys harry and Michael.....

0 Kudos

Hi,

I have trial version of Advantage database server 9.10. it's working fine on my local machine that time it's working fine. When i takes my system on remote (RDP) Protocol. It's giving me error "Error 5185: Local server connections are restricted in this environment. See the 5185 error code documentation for details. axServerConnect". can you suggest through trial version we can connect advantage database on remote. If we can connect trial version on remote can you provide me some information about that. what is missing.