Installing CM4D Reporter with Microsoft SQL Server Express R2 x64 for Windows 7 CM4D Reporter uses a standard Microsoft SQL Express Database for data storage. This database should be setup prior to installation of CM4D Reporter. Local Database Recommendations from QMC along with download links: - Windows XP = SQL 2005 Express http://www.microsoft.com/sqlserver/2005/en/us/express-down.aspx Download SQL Server 2005 Express and SQL Server Management Studio Express - Windows 7 32Bit = SQL 2008 R2 Express with Management Tools https://www.microsoft.com/betaexperience/pd/sqlexpdbmt32/enus/ - Windows 7 64Bit = SQL 2008 R2 Express with Management Tools x64 https://www.microsoft.com/betaexperience/pd/sqlexpdbmt64/enus/
1. Launch the SQL 2008 R2 Express Installation.
2. Agree to License.
3. Select all features for normal install.
4. The default instance must be named CM4D.
5. Accept the default service Account Names for local SQL install. 6. When specifying SQL administrators, leave the current installing user present. However, it is a good idea to add the local machine Administrators group.
7. Complete Install.
8. SQL 2008 R2 Express installed successfully.
9. Launch CM4D Reporter Installation. 10. Select Next.
11. Agree to QMC Inc. License. 12. CM4D Reporter requires Microsoft C++ Runtimes version 2005 and 2008 which will be installed.
13. Except the default CM4D Reporter folder locations. 14. Click Next.
15. You may receive some warnings when executing non-digitally signed executables.
16. When installation completes, you can choose to launch the CM4D Reporter License Manager. 17. When the CM4D Reporter Licensing tool starts, choose License.
18. The CM4D Reporter License tool will provide you a unique Site Code based on the local system hardware configuration. This key must be sent to QMC.
19. QMC will provide you a Site Key to unlock your installation. Click Authorize.
20. Start Microsoft 2008 R2 SQL Management Studio. Change the server name to reflect the custom SQL Instance name of CM4D.
21. From SQL Management Studio choose File-Open-File
22. Navigate to the CM4D installation directory where the database install script is located. This is typically C:\Program Files (x86)\qmc\cm4d\reporter Config\ Select the script named 4Reporter~oem8.sql.
23. Once the script file is open, Choose Execute.
24. The script should execute without any errors.
25. The databases Node can be expanded to see the new database created by the SQL script. We must now adjust the security on the database so that any user on this system will have correct rights to access the CM4D Reporter database. Expand the Security Node. Under here you should see an entry for the local system Users group. Right Click Properties.
26. Choose Server Mappings. Select the 4Reporter database and ensure user has Public role assigned.
27. We must now adjust some of the default folder security on the system to allow normal users write access. First the Logs directory must be changed to allow normal users write access. This folder will typically be located at c:\program Files (x86)\qmc\cm4d\logs
28. Choose Edit.
29. Give normal users of this system Modify access to the CM4D Reporter Log directory.
30. The same procedure must be done for the CM4D Reporter Processing directories. This is where raw measurement data is written and processed by CM4D Reporter. If you accepted the install defaults, this directory will typically be c:\cm4d Reporter.
31. Choose Edit.
32. Give normal users of this system Modify access to the CM4D Reporter directory.
33. Finally we must also give users modify rights to the CM4D Reporter Scratch directory. This directory is used by CM4D Reporter during data importation. The directory is typically located at: C:\Program Files (x86)\qmc\cm4d\reporter Config\Scratch
34. Choose Edit
35. Give Users Modify rights
36. You can now launch CM4D Reporter to ensure configuration is functioning well.