Renaming company

grouic
Member Posts: 34
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 !
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 !
0
Answers
-
Hi,
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 + Page0 -
Check out below two links, it will guide you how to do.
msdn.microsoft.com/.../jj128096(v=nav.90).aspx
community.dynamics.com/.../158437Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Hello,
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 !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