EpiHandy ReInstallation
From EpiHandy
Contents |
ReInstallation of EpiHandy Server
NOTE! The EpiHandy Server consists of many different components that are required to function properly together.
When doing a reinstallation it is therefore extremely important to cleanup the previous installation before doing it again.
There are 3 version of this procedure, depending on the severity of the problem.
Quick
The quick version can be used if you already have uninstalled the server and the installation failed the first time. Reason could be that a file exists that SQL Server is not able to handle.
1. Turn off all running software while performing the reinstallation.
a. This includes Antivirus software, Skype, etc. etc.
b. For skype make sure it is not set to use port 80 (advanced settings)
2. Uninstall software components
a. Go to: -> Start -> Control Panel -> Add/Remove Programs
b. EpiHandy – Server
c. EpiHandy – MobileClient Installer Tool
d. EpiHandy – StudyManager
3. Restart your computer
5. Move potentially blocking SQL Server files
a. Open Windows Explorer and navigate to the following folder: C:\Program Files\Microsoft SQL Server\MSSQL$EPIHANDY\DATA
c. RENAME all files in that folder starting with distribution to i.e. olddistribution
6. Reinstall EpiHandy – Server
7. Reinstall EpiHandy – StudyManager
8. Reinstall EpiHandy – MobileClient Installer Tool
Medium
This procedure reinstalls the SQL Server and all of the IIS and Folder security settings. But does not require reinstallation of IIS (Internet Information Services)
1. Turn off all running software while performing the reinstallation.
a. This includes Antivirus software, Skype, etc. etc.
b. For skype make sure it is not set to use port 80 (advanced settings)
2. Uninstall software components
a. Go to: -> Start -> Control Panel -> Add/Remove Programs
b. EpiHandy – Server
c. EpiHandy – MobileClient Installer Tool
d. EpiHandy – StudyManager
e. Microsoft SQL Server Desktop Engine (EPIHANDY)
3. Restart your computer
4. Delete Shared Folders
a. Open command (-> Start -> Run -> type cmd and then OK)
b. Type: net share EpiReplData \DELETE
c. hit the Enter key
d. close the window
5. Move existing SQL Server files
a. Open Windows Explorer and navigate to the following folder:
b. C:\Program Files\Microsoft SQL Server\
c. RENAME the folder MSSQL$EPIHANDY to ie OLD$EPIHANDY
6. Delete service account
a. Go to Computer management
b. Go to: -> Start -> Control Panel -> Administrative Tools -> Computer Managment
c. In the left tree view, navigate to System Tools -> Local Users and Groups -> Users
d. In the list rigth click the user called episervice and delete it
7. Reinstall EpiHandy – Server
8. Reinstall EpiHandy – StudyManager
9. Reinstall EpiHandy – MobileClient Installer Tool
Complete
1. Turn off all running software while performing the reinstallation.
a. This includes Antivirus software, Skype, etc. etc.
b. For skype make sure it is not set to use port 80 (advanced settings)
2. Uninstall software components
a. Go to: -> Start -> Control Panel -> Add/Remove Programs
b. EpiHandy – Server
c. EpiHandy – MobileClient Installer Tool
d. EpiHandy – StudyManager
e. Microsoft SQL Server Desktop Engine (EPIHANDY)
f. Microsoft SQL Server CE 2.0 Server Tools
3. Uninstall system components
a. Go to: -> Start -> Control Panel -> Add/Remove Programs -> Add/Remove Windows Components
b. Deselect Internet Information Services (IIS) and click Next
4. Restart your computer
5. Delete Shared Folders
a. Open command (-> Start -> Run -> type cmd and then OK)
b. Type: net share EpiReplData \DELETE
c. hit the Enter key
d. close the window
6. Delete IIS folders
a. Open Windows Explorer and delete or rename the following folder:
b. C:\Inetpub
7. Move existing SQL Server files
a. Open Windows Explorer and navigate to the following folder:
b. C:\Program Files\Microsoft SQL Server\
c. RENAME the folder MSSQL$EPIHANDY to ie OLD$EPIHANDY
8. Delete service account
a. Go to Computer management
b. Go to: -> Start -> Control Panel -> Administrative Tools -> Computer Managment
c. In the left tree view, navigate to System Tools -> Local Users and Groups -> Users
d. In the list rigth click the user called episervice and delete it
9. Restart the computer
10. Reinstall Internet Information Services (IIS)
11. Restart the computer
12. Reinstall EpiHandy – Server
13. Reinstall EpiHandy – StudyManager
14. Reinstall EpiHandy – MobileClient Installer Tool