Change Database File Name?

SmokeScreen
Member Posts: 27
I have been asked to change name of our database as the current database.fdb is no longer acceptable
Can this be done using the Service Parameters to change the database path once renamed? Has anyone done this before?

0
Comments
-
First and for all:
If the database exists of more databasefiles, it is best to take a backup and restore it in a new DB.
This works for 1 databasefile:
-stop the service
-rename the databasefile.
-open the service-properties of the service in services.msc
-in the "start parameters", put >DATABASE="C:\subdir\newdbname.fdb"< (without the < and >)
-start the service from this property-screen. The service will use the new parameter from now on.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I've also modified the database path/name directly from within REGEDIT, but again, only will work on single-file databases. Just search on your service name.Kristopher Webb
Microsoft Dynamics NAV Developer0 -
try using the paramater:
database=h:\DBpart1.fdb+i:\DBpart2.fdb+DBpart3.fdb+ ...David Singleton0 -
We are only running one .fdb file. I just wanted to confirm that the Service Parameter would ACTUALLY work. I thank you all for the responses, I feel more confident that this will be a quick and smooth change.0
-
SmokeScreen wrote:We are only running one .fdb file. I just wanted to confirm that the Service Parameter would ACTUALLY work. I thank you all for the responses, I feel more confident that this will be a quick and smooth change.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
When I actually attempted this, it did not work. Internal Error 1
I had my doubts and reality proved me correct.
So, for future reference, this does not work.0 -
When I actually attempted this, it did not work. Internal Error 1
did you try Kriki's first post suggestions?0 -
Kriki's procedure is the one I tried. I do not remember the exact error besides it being "Internal Error 1". Somewhere the service is remembering the old db's path.
I had to re-name the file back to what it was and then the service started right back up.0 -
I did this along time ago. I remember uninstalling the Nav Server using add/remove from the server and reinstalling it. & when it asked me to the database name - i gave it the new name and all was well.
We are using Native tho & I used this
http://www.mibuso.com/dlinfo.asp?FileID=304
thanks Emiel!
PS: Why does it matter the database name? if it's just database.fdb?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