Hello !
I just created a new company in my database, and I need to rename it.
I read the msdn concerning the renaming process :
https://msdn.microsoft.com/en-us/library/hh168729(v=nav.71).aspx
It says I have to set the database in "Single User" Mode. OK, I do it => I first have to stop my Nav services (Nav and NAS).
Once the "Single User" is activated, I cannot restart the services, and obviously I cannot connect in RTC to rename the company.
Has anyone a process clearly explained to help me ?
Thx !
Answers
If you plan to do it from windows client (RTC Client) you should not change it to single user mode, but just make sure that you are the only user connected to RTC.
** Even the Single mode user does that.. I don't know why they said that in article. I never change it to single user.
The approach which I follow -
1. Stop all services which are shared with users.
2. Create a new service mapped to same database.
3. Connect RTC with New Service.
4. Now technically you are only user in database.
5. Rename company.
6. Stop your service and start services that user have access.
Otherwise if you want to follow what the MSDN Article says, then rename company using powershell commands. The command for renaming company is - Rename-NAVCompany.
How to run Powershell command for NAV, Refer here -
http://saurav-nav.blogspot.in/2014/01/nav-2013-r2-introduction-to-poweshell.html
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
msdn.microsoft.com/.../jj128096(v=nav.90).aspx
community.dynamics.com/.../158437
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Thx for your answers. I successfully renamed my company on a test database on which I was the only user.
I'll do the same on my Prod database.
Bye !