Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - General External Development
Forum to discuss general external development topic (related or not to SalesLogix development). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General External Development | New ThreadView:  Search:  
 Author  Thread: finding the port number and servername
veeranjan
Posts: 19
 
finding the port number and servernameYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Dec 06 9:38 AM
fiogf49gjkf0d
is there any saleslogix API to finding the serverport number and saleslogix servername by using alias name
i have tried with SlxOleDBConfig.getConfigMgrInfo(aliasname,out port,out servername ) method. I got corrent servername but port number is other than 1706 which is configured on my machine.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: finding the port number and servernameYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Dec 06 11:20 AM
fiogf49gjkf0d
Are you trying to determine that from your connection, or trying to get those details to make a connection?

If you're trying to find those out from the connection, you could get your connection string and parse them out or use the SLX proc "slx_GetLoggedInServerInfo" which will return the server and port you are connected to.

If you have the local client alias/connection name (ie: one entered in the login box of the client, then you can get details about that connection in the registry. Look at the tree under HKCU:Software\SalesLogix\ADOLogin\ (Connection1 through Connection10 - Connection1 will be the last one used). You can get extended properties about that connection such as the Data Source (SLX Server) and the port number. See more about that here http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=57

You could always just add that as a configuration value or prompt for it.

-Ryan
[Reply][Quote]
veeranjan
Posts: 19
 
Re: finding the port number and servernameYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 06 12:47 AM
fiogf49gjkf0d
thanx for quick reply..
my exact question is i have installed saleslogix client (either saleslogix network client or saleslogix web client) in my machine and saleslogix is installed in some other machine i have 3 paramets with me for login saleslogix client (i.e, 1.slxusername 2.slxpassword 3.slxaliasname(value enter in to Log on to field in sales logix login window)) by using above 3 parameters is it possible to get port number,servername,initial catalog and Log status .

simply i want to make a connection sting by using above 3 parametrs without starting saleslogix client application

tahnx
veeranjan
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: finding the port number and servernameYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 06 9:20 AM
fiogf49gjkf0d
If you want to connect with only those 3 values then you do have to get the rest of the details from the registry. No other way to determine the port and other details.

See the article I linked to before. It shows how to build a login screen to connect usinsg only those 3 values and should give you exactly what you need.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 5:09:05 PM