Run CU or any object gives new session always

sundfar
Member Posts: 28
When I run any object from finsql.exe, I first get this Notice:
Microsoft Dynamics NAV Security Notice
You are about to connect to 'nav2013r2' on server '###########', which is not your current default connection setting.
This can create a security risk.
Do you want to continue?
Yes No
After answering Yes, a new instance of RTC is started and shows the object I ran.
Db on one server, Service tier and client on another server.
Best regards Gunnar
0
Comments
-
The Dialog is displayed because you have some other server or instance written in the "ClientUserSettings.config" in your profile.
The new instance is started each time, and I have problems with this too (NAV 2013 R2).0 -
Are you runninig RollUp 3 , 4 or 5?
/Claus LundstrømClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)0 -
-
This is a bit off topic, but still related to the fact that we at times need to run codeunits or processing reports in client environments that need a partner/developer license. Since the change to launching/running in the RTC when running from the development environment, i'd really like to see a new C/AL command for:
CHANGELICENSE(<new license.flf file path/name>);
This would take effect for the new session that is launched, and would enable us to run objects to update client data with our license.
Has anyone suggested anything along this line already? I'm hopefully Microsoft is continuing to work on product changes to make our lives as partners as easy as they once were (relatively speaking...life is never easy!).
(And please don't tell me to use SQL when these sorts of updates are needed...it's not as easy, and the whole point is still wanting to trigger NAV table logic)Rob Hansen
http://www.epimatic.com0 -
Hi, all. Running rollup 5. I changed the server name to FQDN in the ClientUserSettings.config. Now the warning is suppressed, but it still opens a new session for each object I run.
-Gunnar0 -
Found a solution.
Discussed in another thread:
viewtopic.php?f=32&t=61019
which links to:
http://blogs.msdn.com/b/nav/archive/201 ... -2013.aspx
Gunnar0 -
@sundfar
tnx for the hint. I saw the blog post, but assumed it is not covering a problem I have (NAV2013 / 2013R2 side-by-side installation). Now I saw at the end of the blog post, that this script does fix the problem I have with new sessions when starting objects in the DEV. Problem solved. This fix works fine on my installations.
@rdhansen
This is a common problem on productive installations. Partners are constantly in danger, that by adding the partner license, suddenly endusers work also with the partner license by accident. I just can describe how we deal with it:
We always add at least one separate NST for administration (partner) use only. No port sharing, all NST have a own range of ports.
- NAV2013-LIVE (For users working with client license, depending on number of users, more than one NST)
- NAV2013-LIVE-ADMIN (For partner use only)
To prevent that normal users can connect to the NAV2013-LIVE-ADMIN NST, I just block/deactivate the ports of NAV-2013-LIVE-ADMIN on the Firewall.
To load the dev licence into the NAV2013-LIVE-ADMIN NST i created a powershell script:Import-Module 'C:\Program Files\Microsoft Dynamics NAV\71\Service\NavAdminTool.ps1' if ( ((Get-Service -Name 'MicrosoftDynamicsNavServer$NAV2013-LIVE-ADMIN').status -eq "Running") -and ((Get-Service -Name 'MicrosoftDynamicsNavServer$NAV2013-LIVE').status -eq "Running") ) { Import-NAVServerLicense NAV2013-LIVE-ADMIN -LicenseData ([Byte[]]$(Get-Content -Path "C:\CustomPath\Partner-License.flf" -Encoding Byte)) Restart-Service 'MicrosoftDynamicsNavServer$NAV2013-LIVE-ADMIN' Import-NAVServerLicense NAV2013-LIVE -LicenseData ([Byte[]]$(Get-Content -Path "C:\CustomerPath\Customer-License.flf" -Encoding Byte)) Write-Host "OK - Partner license loaded." } else { Write-Host "ERROR - Services not running." }
The dev license should never be loaded permanantly into the database!! If I need it in the dev client, I use "Change" in "License Information". I NEVER use the "Upload" function in dev client. When starting objects out of dev environement, based on my needs, I select the NST of my desire unter "Server Instance" in the "Database Information".
Note: When the server or NST is restartet, the NAV2013-LIVE-ADMIN NST always works with the client license. I just change it when I need it.
How do other partners come around with this issue? Any suggestions?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