NAV Web service and language ID

Cem_KaraerCem_Karaer Member Posts: 281
edited 2012-07-19 in NAV Three Tier
Hello,

I use NAV web services in a .net web application. In a try-block I call a function of the web service and in case of an exception (NAV error) I catch it in the catch-block and show the error message in a textbox. Error messages are produced in English, but I want them in another language (namely Turkish). Can it be done with least effort? If much work is required, i.e. using automation objects, applying hot-fixes ect., the request may be dismissed.
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005

Answers

  • GoyoGoyo Member Posts: 36
    I think you need to insert records in tabla "User personalization" and populate field "Language ID" with your desire Language Code. You have to create the record for the user you use to connect from your webservice.

    I hope it helps you.
  • Cem_KaraerCem_Karaer Member Posts: 281
    You are right Goyo! Thank you for your reply.
    Cem Karaer @ Pargesoft
    Dynamics NAV Developer since 2005
  • mdPartnerNLmdPartnerNL Member Posts: 802
    cemkaraer wrote:
    You are right Goyo! Thank you for your reply.

    Can I ask your help with the steps you followed?
    - you created a domain user "A" for the webservices service
    - changed the login of that service to "A"
    - logged in locally on the server as user "A"
    - Started the RTC Client as user "A"
    - Changed the shown language
    this created the profile?
    - restarted the service and it worked?

    Which version of NAV are you using? because I read these steps are different depending on the NAV version.
  • Cem_KaraerCem_Karaer Member Posts: 281
    Well, in fact, the solution has worked for the web services, not RTC. The profile field is empty for my case.
    Cem Karaer @ Pargesoft
    Dynamics NAV Developer since 2005
Sign In or Register to comment.