
Frequently Asked Questions
MIKE URBAN
Please do not hesitate to e-mail us if you have questions and/or answers yourself: mikebydhi@dhigroup.com.
-
Entered: 6/7/2012
-
Question:
MOUSE 2009 on Vista or Windows 7 - "cannot create synchronization object
Answer:The issue with the error ‘cannot create synchronization object’ is that the user needs to have administrative privileges when running the MOUSE application on Vista or Windows 7 OS.
Due to added restrictions from Microsoft in the Windows 7 operating system the steps listed in the MOUSE release note are no longer sufficient. If for some reason it is not possible for the user to have administrative privileges, a workaround is described in the following.
The MOUSE interface uses an SQL server created by a third party company and hence updates cannot be done by DHI. This database system uses functionality which were available for non-administrators in previous operations system like XP, but in newer operation systems it requires administrative rights. So there is a workaround where the SQL server is running as an administrator task in the background when the non-administrator works on the computer.
Follow the below steps:
1) MOUSE is installed by an administrator
2) Follow the guidelines in the MOUSE Release Note for running as non-administrator while you are still logged on as an administrator. Please note that the folder used should not be C:\Users\"non-adminstrator user name" \AppData\Local\DHI\2009\MOUSE
3) Copy wb8.fil and empty.fil from C:\Users\"adminstrators user name" \AppData\Local\DHI\2009\MOUSE to C:\Users\"non-adminstrator user name" \AppData\Local\DHI\2009\MOUSE (this folder does not exist, but should be created).
4) In the Control Panel – Administrative Tools start the Task Scheduler.
5) Create a basic task with the following settings:
a) Name : Start MOUSE SQL
b) Trigger: When the computer starts
c) Action: Start a program
d) Program/script: "C:\Program Files\DHI\2009\bin\602sql8.exe"
e) Add arguments: “&user” - where the user is the name of the local database created under 2). Note that the “ ” should be included in the dialog
f) Finish creating the task6) Right-click on the task, choose Properties and set the following settings:
a) General: Run whether user is logged on or not
b) Conditions: Uncheck “Start the task only if the computer is on AC power”
c) Settings: Uncheck “Stop the task if it runs longer than:”
d) When asked for the user account information, be sure to enter the administrator.7) Reboot the computer and log on as the non-administrator to test.
The above steps ensure that when the computer is started the SQL server is automatically launched. When the non-administrator starts MOUSE it will automatically attach to the running SQL server instead of starting a new.
Please note that this means that the SQL server will always be running in the background even when MOUSE is not used. In the rare situation where the user needs to close the SQL server it will require an administrator to shut it down.
In some cases steps 3 to 6 can be done as a non-administrator (ensure that the task is run as the administrator) and the user will be able to shut down the SQL server, but this will depend on the rights of the non-administrator