How do you create a test database? This way we can copy our main database to the test database in order to test transactions when we need to. We have Microsoft Dynamics SL 2011 FP1.
Thank you,
Marissa
*This post is locked for comments
Announcements
How do you create a test database? This way we can copy our main database to the test database in order to test transactions when we need to. We have Microsoft Dynamics SL 2011 FP1.
Thank you,
Marissa
*This post is locked for comments
I haven't ever tried adding a test App DB to the same system database as its production counterpart. As I noted above, I also copy backup and restore the System DB as well. I also try to have it on a different server when I have the resources.
As for your description in the new thread you started, all I can think to suggest is that you make sure the new "company's" entries are correct in the Domain and the Company tables.
Hi Butch,
I did as you noted. I am able to log in to the company i can access master records, but I cannot see any transactions. Do you know what may be causing this?
Note i just created an additional database that uses the existing system database.
1. Restore a backup of the App and Sys databases.
2. Next you need to update the Domain and Company tables in the Sys database
Here is what I do:
update Domain set DatabaseName = 'TESTAPP' where DatabaseName = 'PRODAPP'
update Domain set DatabaseName = 'TESTSYS' where DatabaseName = 'PRODSYS'
update Domain set ServerName = 'TESTSERVER'
update Company set DatabaseName = 'TESTAPP' where DatabaseName = 'PRODAPP'
update Company set CpnyColor = 255
update Company set CpnyName = '-- TEST -- ' + LEFT(CpnyName,19)
3. Run Synchronize all Ownership and Security. Note that if you are restoring to the same server your production databases are on, you should get everyone out of SL. This synchronizes every database it finds on the server and can cause problems if people are processing in it.
4. Run Update Views
5. Login and enjoy.
Community Member
136
Mohamed Amine Mahmoudi
102
Super User 2025 Season 1
REUser
8