How to get the server name

RODRIGUELEVESQUEJR
Member Posts: 13
Hi,
I need to now the name of the server when in Navision.
It would help me to now to witch personne to send a email, when I am in developpement or production?
Can I get some help.
I have tryed EX: string:=ENVIRON('ComputerName') but it gives me the computer name not the server name. Is there a environmental variable to now the server name?
I have tryed with CONTEXTURL but I get an specified an unknown variable message.
Help me please.
I need to now the name of the server when in Navision.
It would help me to now to witch personne to send a email, when I am in developpement or production?
Can I get some help.
I have tryed EX: string:=ENVIRON('ComputerName') but it gives me the computer name not the server name. Is there a environmental variable to now the server name?
I have tryed with CONTEXTURL but I get an specified an unknown variable message.
Help me please.
0
Comments
-
-
Savatage wrote:
I have the 2.6 version.0 -
Rodrigue.....
Most users in this community read all posts in all forums. There is no need for posting the same question in more than one forum. Please don't cross post.
thanks0 -
DenSter wrote:Rodrigue.....
Most users in this community read all posts in all forums. There is no need for posting the same question in more than one forum. Please don't cross post.
thanks
Now I am in the good forum for the version 2.6 of Navision.
I have receved responce on the other forums.
They are using the CONTEXTURL for the version 3.1 and over.
But for the version 2.XX my COMMANDLINE is emty.
What can I do?
Is there an environmental variable for Server Name like for the computer name Ex: string:=ENVRION(Computername); ?0 -
If you are using Navision DB server, you can use table 2000000051 Navision Server to get the name of your server... if you are using MS SQL, there is no such a table (I am not sure, but the server name can be in session table than)...0
-
kine wrote:If you are using Navision DB server, you can use table 2000000051 Navision Server to get the name of your server... if you are using MS SQL, there is no such a table (I am not sure, but the server name can be in session table than)...
Hi
How can I get the information from the table, with a "GET" on the table 2000000051 and put it in a variable, the table is a hidden table and I don't now how to get to them.
Please Help me.0 -
:oops: Sorry, I checked up my info and it is not good solution... this table is list of available servers, but in many cases there is only [local only] server... (you must have functional the server list in open database if you want to have the server in this table...) I have no hint for you... :-# :oops:0
-
kine wrote::oops: Sorry, I checked up my info and it is not good solution... this table is list of available servers, but in many cases there is only [local only] server... (you must have functional the server list in open database if you want to have the server in this table...) I have no hint for you... :-# :oops:
Thank's have a grate day.
Is there some one that can Help me0 -
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions