NAV/SQL language problem
marvinq
Member Posts: 69
Hi,
I just switched a SQL database for my NAV 2009.
An external .Net application is posting records to my NAV, but after changing the SQL I am stuck with a (for me) strange problem. The application is sending via a webservice to NAV with some parameters, but I get a problem with option fields...
Example: Type6 is an option-field defined in NAV like this..:
Data Type: Option
OptionString: Version,Update
OptionCaption: Version,Opdatering
OptionCaptionML: DAN=Version,Opdatering;ENU=Version,Update
In my application I have a line like this...:
temp = ""+Type6.Update
Before changing the SQL the accepted values for temp was naturally "Version" and "Update". Now all of a sudden it only accepts the danish translation "Version" and "Opdatering", which obviously gives me problems when choosing "Update".
Why is that? Why is my webservice/SQL suddenly asking for the translation instead for the actual option defined in NAV. Have I set some language parameters to my SQL database??
Please help!
I just switched a SQL database for my NAV 2009.
An external .Net application is posting records to my NAV, but after changing the SQL I am stuck with a (for me) strange problem. The application is sending via a webservice to NAV with some parameters, but I get a problem with option fields...
Example: Type6 is an option-field defined in NAV like this..:
Data Type: Option
OptionString: Version,Update
OptionCaption: Version,Opdatering
OptionCaptionML: DAN=Version,Opdatering;ENU=Version,Update
In my application I have a line like this...:
temp = ""+Type6.Update
Before changing the SQL the accepted values for temp was naturally "Version" and "Update". Now all of a sudden it only accepts the danish translation "Version" and "Opdatering", which obviously gives me problems when choosing "Update".
Why is that? Why is my webservice/SQL suddenly asking for the translation instead for the actual option defined in NAV. Have I set some language parameters to my SQL database??
Please help!
0
Comments
-
Just made an observation

I opened the RTC Client on the server and changed the display language (in the client) back to English, and restarted my webservice. And now it seems to work.
Can anyone clarify if there is an connection between the RTC Client language on the server and the valid input variables in the webservice. There must be some connection, but changing the RTC Client language, do this really affect the language for other applications consuming the webservice???
And what happens if I distribute my application to other computers where the RTC language is Danish? Will this give me the same error??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
- 324 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