Problems with Cfront and language

Jes_Kristensen
Member Posts: 6
In an Excel addin I have created with Cfront in C#, I’m connecting a Nav 5 sp. 1 database. When I install it on another user’s computer, I’m getting this error:
“There are errors in the text conversion because text no. 160-1 does not exist in the .stx file. Internal error: 47-1".
I can “fix” it by altering the country setting in the fin.stx file in the Navision client path. But then the Navision client on the computer is not able to run (the changes is made in the two language modules too).
On my computer this is working fine, both my addin and the Navision client with this line in the fin.stx-file: “00160-00001-002-1: W1”.
The users Navision client requires “00200-00001-002-1: DK” in the fin.stx, and is not able to run, when I’m altering the line in the fin.stx-file to "00160-00001-002-1: W1".
I have tried to insert a Danish developer license in the client path and renamed it to fin.flf in my setup, to force my addin to grab the Danish language, but it doesn’t help. I have also tried to insert these lines in the addin before connection and opening the database (the strLicensfile is the Danish developer license):
CFrontDotNet.Instance.LoadLicenseFile(strLicensefile);
CFrontDotNet.Instance.CheckLicenseFile(9110);
If the above worked, I would use the users license file to get the correct language, but it doesn’t – any help?
“There are errors in the text conversion because text no. 160-1 does not exist in the .stx file. Internal error: 47-1".
I can “fix” it by altering the country setting in the fin.stx file in the Navision client path. But then the Navision client on the computer is not able to run (the changes is made in the two language modules too).
On my computer this is working fine, both my addin and the Navision client with this line in the fin.stx-file: “00160-00001-002-1: W1”.
The users Navision client requires “00200-00001-002-1: DK” in the fin.stx, and is not able to run, when I’m altering the line in the fin.stx-file to "00160-00001-002-1: W1".
I have tried to insert a Danish developer license in the client path and renamed it to fin.flf in my setup, to force my addin to grab the Danish language, but it doesn’t help. I have also tried to insert these lines in the addin before connection and opening the database (the strLicensfile is the Danish developer license):
CFrontDotNet.Instance.LoadLicenseFile(strLicensefile);
CFrontDotNet.Instance.CheckLicenseFile(9110);
If the above worked, I would use the users license file to get the correct language, but it doesn’t – any help?
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