how to get Server Name in NAV 2009 classic
                
                    makara                
                
                    Member Posts: 25                
            
                        
            
                    Could anyone please tell me how to get Server name in NAV 2009 Classic ?
Thx in advance,
makara
                Thx in advance,
makara
0                
            Answers
- 
            Have a look at this How To: How To retrieve servername and servertype?No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
 - 
            sorry Luc,
I tried to use function 'CONTEXTURL'. But I got a error window populate every time I save my table. (please see image)
the message in description is "Function 'CONTEXTURL' is obsolete for Microsoft Dynamics NAV Server."
what is the problem with my Navision ? I use Nav 2009 R2.0 - 
            The function does not work in the RTC client that is the reason for the warning. I think if you put the code in a block like shown below the warning will disapear. But if you only use the classic client you can also just ignore the message.
IF NOT SERVICETIER THEN BEGIN // Code with CONTEXTURL END;
0 - 
            can you check in table - 2000000047 Server, --> My Server fieldaav!o0
 - 
            
This is not an error but a warning. If you don't use RTC, then your code doesn't need to be compiled for the NAV server and you can uncheck the field "Enable for Microsoft Dynamics NAV Server" in the Options-tab of File -> Alter database. Then you get rid of the warning. The code will execute fine when using the classic NAV client however.makara wrote:sorry Luc,
I tried to use function 'CONTEXTURL'. But I got a error window populate every time I save my table. (please see image)
the message in description is "Function 'CONTEXTURL' is obsolete for Microsoft Dynamics NAV Server."
what is the problem with my Navision ? I use Nav 2009 R2.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 - 
            Thx guys, it works now ..
. I use CONTEXTURL and SESSION Table.                        0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K 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
 - 323 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
 
