We are trying to implement the User Portal and have been going through the installation guide to set up the server, etc. We ran the SDK wizard to install the CFront which seemed to be fine. When we tried to test it using the sample.exe we are getting an error between the license and country code files (wrong country code). However, when I start up the client that is on the server and connect it to the database, there is no conflict and it comes up without a problem. Where might the sample program be getting the country code file? Is it not looking in the Client folder?
Any thoughts, resources or suggestions would be great.
Thanks!
SGM
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I've got the same problem. I've copied the STX file to no avail! Still the same error message:
The country code in the license file does not correspond to the country code (US) in the STX file.
Exception Handler called with Fatal Error: 3
I'm running a clean install of Windows 2000 with all the latest service packs and security patches, I installed the client and imported our license, then the database server (navision not sql) in custom mode to select the database and the license.
I tested them to see that I could access the database from the client... everything is working fine.
I installed the SDK that includes the c/front and when I run the sample.exe I get the error message. ](*,)
If anyone has run in to this and resolved it I would really appreciate some help.
Thx
2) Which stx do you have in C/FRON (which language is on line 00007-00002-080-0:?)?
3) Which licence do you have on DB server you are connecting?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
a copy of the exact same license file as in the client directory, I don't know how to determine the language but the serial number starts with CA-ZA-... and line 10 says Canada as the country of the licenced company.
one interesting thing that is different from my licence to the cronus.flf is that the language line ends in 2 instead of 1 like all the other languages for these two items: 4105 -> english (canadian)
a copy of the exact same license file as in the client directory
I have made sure that the same fin.flf and fin.stx files are in the client, DB server and c/front directories... still the same error
I tried changing the regional settings on my computer from US to Canada... it didn't help
:-k my brain is hurting on this one! I know it's going to be a simple little thing....
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Yeah, I tried specifying the navision path, databasename and server name as options when starting the sample.exe program.
by the way, when I did the original install, after I imported my license file, I received the same "... country code in the license file does not correspond ..." error message from my client (it was a pop up error where as the cfront error is command line), I copied the stx file from the ENC directory and the error msg went away and I was able to use the client connecting to the database server.
I went so far as to copy the flf and stx files that run the client and database server without the error msg off of the computer then delete all instances of any flf or stx files on the entire computer (yes, it's a testing computer).
Then put the copies of these two "working" files in the client directory, the database server directory and the cfront directory... The client works fine but the when running sample.exe in the cfront directory...
Still the same error msg:
I had a look in the dberror.txt file and exception handler error #3 is Err_DB_DiskFull ??? my disk isn't full and the database has room in it??
I can use the client to open the sample.fdb database, and modify it if I want... no permission errors or country code issues??
I would really prefer not to get into the sample.c code to figure this out!
It's really weird, erase computer and put a clean install of Windows 2000 server (with all service packs), install Navision 3.70b client, import license, install Navision DB server, install C/Front SDK... client and server work but sample.exe won't work!
Django
That's likely what the problem was. I had copied the stx file I had to those locations but it didn't work for me.
I had a friend send me a stx file that they were using and copied it to the client, ENU and ENC folders and it started working!!!
Thanks to all for your assistance with this one!!!