Must choose server for every login (Role based)
stiasta
Member Posts: 106
Hello
Each time i login i get the "Choose server" dialog. (With URL filled in) (Without URL filled in)
Also, the columns and setup i have performed the last time i was logged in is not applied.
It seems that NAV does not remember the settings when i logout and login again.
What could be the problem here?
I have done some searching and found that i could be a SPN problem, but I am allowed to login and im not getting any errors.
What could be the problem?
EDIT: I am going to try to run an event viewer to see if i get any errors or warnings
EDIT: The architecture is 3 TIER with Dyn NAV Serv. and SQL Serv. on seperate computers
Each time i login i get the "Choose server" dialog. (With URL filled in) (Without URL filled in)
Also, the columns and setup i have performed the last time i was logged in is not applied.
It seems that NAV does not remember the settings when i logout and login again.
What could be the problem here?
I have done some searching and found that i could be a SPN problem, but I am allowed to login and im not getting any errors.
What could be the problem?
EDIT: I am going to try to run an event viewer to see if i get any errors or warnings
EDIT: The architecture is 3 TIER with Dyn NAV Serv. and SQL Serv. on seperate computers
0
Answers
-
Can you tell us what URL value you are having in choose server window and what you want to have?0
-
Sorry. I had misinformed you.
There is NO URL in the choose server window when rolebased client is started.0 -
I think you need to set the correct server name and instance name in clientusersettings file (not sure of file name)
you can find it under
C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV0 -
is this not set when the URL is filled in the choose server window, and you successfully login?0
-
The customer has two databases and two Dyn. NAV servers running. The users that login to one service has all settings saved, and do not need to choose server for each login.
The other users that login to the other service does not have settings saved, and needs to choose server for each time.0 -
try by saving the settings for second database users also..0
-
Sorry, but I didn't quite understand the last suggestion. Save the settings in the database?0
-
Save the server name and instance name in clientusersettings file understiasta wrote:The customer has two databases and two Dyn. NAV servers running. The users that login to one service has all settings saved, and do not need to choose server for each login.
The other users that login to the other service does not have settings saved, and needs to choose server for each time.
C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV
for all users to open the RTC without getting choose server option..0 -
I will try your suggestion. Thank you for your help.
I will keep you posted on the result.0 -
More information:
The client is a thin client.
What i have tried.
1.
Log on the correct server.
Close client
Start client
-> Logs on to the correct server.
2.
Log on the correct server
close client
Log off the thin client
log on the thin client
start the client
-> Does not remember last server I was connected to.
Edit: Have not tried your suggestion yet mohana0 -
Update:
After the hint from Mohana I have investigated the clientusersetting.config file.
When I login to the correct server the .config file contains this. (Just for some security i have removed the server ip
)
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="Server" value="**" /> <add key="ServerInstance" value="HT" /> <add key="ServerPort" value="7048" /> <add key="ProtectionLevel" value="EncryptAndSign" /> <add key="UrlHistory" value="**:7046/DynamicsNAV,**:7048/HT" /> <add key="CompressionThreshold" value="64" /> <add key="ChunkSize" value="28" /> <add key="AllowNtlm" value="true" /> <add key="ServicePrincipalNameRequired" value="False" /> <add key="OpenConnectionTimeout" value="00:00:30" /> <add key="ClientCredentialType" value="Windows" /> <add key="DnsIdentity" value="" /> <add key="UnknownSpnHint" value="(net.tcp://**:7046/DynamicsNAV/Service)=Spn;(net.tcp://**:7048/HT/Service)=Spn;" /> </appSettings> </configuration>
After i have logged off and on the thin client the .config file is not present at first. But when i start the client it is created and it looks like this.<?xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="Server" value="**" /> <add key="ServerInstance" value="DynamicsNAV" /> <add key="ServerPort" value="7046" /> <add key="ProtectionLevel" value="EncryptAndSign" /> <add key="UrlHistory" value="" /> <add key="CompressionThreshold" value="64" /> <add key="ChunkSize" value="28" /> <add key="AllowNtlm" value="true" /> <add key="ServicePrincipalNameRequired" value="False" /> <add key="OpenConnectionTimeout" value="00:00:30" /> <add key="ClientCredentialType" value="Windows" /> <add key="DnsIdentity" value="" /> <add key="UnknownSpnHint" value="(net.tcp://**:7046/DynamicsNAV/Service)=Spn;" /> </appSettings> </configuration>
As you can see, it looks like the .config file is flushed from the system at logg off, but when I logon, and start the client again it is created, and uses a config file that is retrieved from somewhere.
Where is this config file retrieved from?0 -
Did you try manually updating the file and opening the RTC?0
-
No i did not try that.mohana_cse06 wrote:Did you try manually updating the file and opening the RTC?
But if i have to manually update for each time i log off and log on the thin client it is the same as getting the choose server dialog each time i start the client.
When i log off the thin client, the .config file is removed from the user folder (Since it is not there when i log on the thin client)0 -
Update:
The personalization done in the company is remembered. For example, added columns in customers page.
So now its only the choose server problem left.0 -
I never noticed this..by default file will be hidden so make sure of that..stiasta wrote:When i log off the thin client, the .config file is removed from the user folder (Since it is not there when i log on the thin client)
I didnt you you are not trying by manually updating the file..
You can check this blog for different idea
http://blogs.msdn.com/b/nav/archive/2009/11/17/how-to-run-2-rtc-on-the-same-pc-and-connect-it-to-different-db-how-to-run-pages-reports-from-diff-db.aspx0 -
It looks like the thin client user has the folder where dynamics nav stores their clientusersettings.config flushed when they relog on the thin client.
I have solved this by creating a shortcut to the exe file and used a parameter that points to the correct server and company.
Info about the parameter settings can be read here:
http://msdn.microsoft.com/en-us/library/dd338743.aspx0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
