03333 445950
03333 calls are same cost

 

Home
Up

Making I.T. Happen
Accounting and Information Technology, Assistance and Support
Sage 50 Clean reinstall Guide


Sometimes a standard reinstall is not enough. Sometimes you just have to do a "clean reinstall".


Please read all notes before starting.

Uninstall

Using the Control panel uninstall Sage 50 (and the data service if installed)

Reboot

 

Repair .net

This step is not always needed, you only need it if .net is damaged and it takes a while you might skip this if you feel lucky

use the .net repair tool http://www.microsoft.com/en-gb/download/details.aspx?id=30135 to repair .net

Go to the control panel, Programs and Features, click on Turn windows features on or off

Deselect .NET Framework 3.5 (includes .NET 2.0 and 3.0)

let it finish reboot

Go back to the same place and now select the option, let it install and reboot again!

 

Program Files

Delete the following directories

C:\Program Files (x86)\Sage\Accounts\ (The installation folder, this could be different if you did a none standard install)
C:\Program Files (x86)\Common Files\Sage Line50
C:\Program Files (x86)\Common Files\Sage Report Designer 2007
C:\Program Files (x86)\Common Files\Sage SBD
C:\Program Files (x86)\Common Files\Sage SData
C:\Program Files (x86)\Common Files\Sage Shared
C:\Program Files (x86)\Sage EBanking

If you are using a 32 bit operating system then the above path will be \Program Files\ not \Program Files (x86)\

If you have your OS installed on a Drive other than C: the The drive letter will need changing

You may need admin rights to delete these folders, you may need to switch off UAC

If you have problems deleting any of the above then it is possible that the services have not been uninstalled properly and or stopped rebooting would normally fix this.

You can force the services to stop as follows 

  1. Press the Windows Key + R on your keyboard - enter Services.msc in the run box and press Enter.
  2. Scroll down to the services starting with S 
  3. Right-click each of the Sage services and choose Stop.

Retry deleting the files and continue.

Sage Query Engine

At the command Command Prompt

cd\
del sage.query.engine.datasource* /s
exit

Sage ini and sglch32.usr

Rename the following files by appending .old

C:\Users\%user%\AppData\Local\VirtualStore\Windows\Syswow64\sglch32.usr
C:\Windows\SYSWOW64\sglch32.usr
C:\ProgramData\Sage\Accounts\sage.ini

on 32bit systems 

C:\Users\%user%\AppData\Local\VirtualStore\Windows\System32\sglch32.usr
C:\Windows\System32\sglch32.usr
C:\ProgramData\Sage\Accounts\sage.ini

Assembly

Files in the Assembly folder can't be deleted, they must be uninstalled. To do this, right-click the file and click Uninstall
Uninstall all assemblies starting with "sage."


C:\Windows\Assembly\sage.*

As of later versions of .net these file locations should also be checked for any files starting with "sage."

  • C:\Windows\Assembly\GAC
  • C:\Windows\Assembly\GAC_32
  • C:\Windows\Assembly\GAC_MSIL
  • C:\Windows\Microsoft.net\assembly\GAC_MSIL
  •  

 If they won't uninstall:

    • a. Hold down the Windows key + R and type C:\Windows\Assembly\GAC_MSIL then click OK.
    • b. Delete the folders starting with "Sage."

 

System Folder

From the windows system folder C:\Windows\SysWOW\ 

Delete these files

repdes.cnt
RepDes32.exe
SageBankBalances.tlb
SageBankPayments.tlb
SageBankReconciliation.tlb
SageEBanking.tlb
SageEventHandler.Config
SageEventHandler.exe
SageFolderBrowser.dll
SG3D32.DLL
sg50Ps32.dll
SGAPPBAR.DLL
SGCDLG32.DLL
SGCOM32.DLL
SGCtrlEx.dll
SGDT32.DLL
SgESchema.xsd
SGHELP32.DLL
SgHmZLib.dll
SGINTL32.DLL
SGJPEG32.dll
SGLCH32.DLL
SGLCH32.USR
SGLIST32.DLL
SGLOGO32.DLL
SGOEdit.ocx
SGOList.ocx
SGOPopDg.dll
sgopopup.ocx
SGOSize.ocx
SGOTBar.ocx
SGRegister.dll
SGRegister.tlb
SGRep32.dll
SGSchemeDefault.dll
SGSchemeManager.dll
SGSchemeXml.dll
SGSchemeXP.dll
SGSTAT32.DLL
SGSTDREG.dll
SGStdReg.tlb
SGTBAR32.DLL
SGTOOL32.DLL
SGWebBrowser.dll
sdoEng*.*
S??DBC32.dll  - Replace ?? with your version number eg 20 for V2014 13 for V2007 there may be several older versions present

If you are using a 32 bit operating system then the path will be C:\Windows\System32 not C:\Windows\SysWOW64

More Sage Files in the Windows System folder

There may be other files from Sage in the system folder

Turn on the Company Column

Click on the company heading to sort by it.

Look for any Files with these company names and delete them

Sage (UK) Limited
Sage (UK) Ltd
Sage
The Sage Group plc
SAGE software Ltd

Delete User Appdata

Delete the following folders where %user% is the users directory

C:\Users\%user%\AppData\Local\Sage
C:\Users\%user%\AppData\Local\Sage_(UK)_Limited

If you are using XP or older you need to adjust the paths eg C:\Documents and Settings\%user%\Application Data\Local\Sage

Delete Temporary Files

Run the windows "disk cleanup" tool

or use Ccleaner from pirisoft 

Delete Data folders

Note: You are deleting your data in this step make sure you have a backup or move the folder somewhere else (you might try renaming them rather than deleting them if you are concerned about your backups)

In most cases, this is not normally needed.

C:\ProgramData\Sage

If you are using XP or older C:\Documents and Settings\All Users\Application Data\Sage

Sage Drive Removal

Stop the Sage Services

  • Sage 50 Accounts Control
  • Sage 50 Accounts Service

Delete everything in the collaborate folder

  • 32 bit: C:\Windows\System32\config\systemprofile\AppData\Local\Sage\SSB\Accounts\Collaborate
  • 64 bit: C:\Windows\Syswow64\config\systemprofile\AppData\Local\Sage\SSB\Accounts\Collaborate

Delete the database files

C:\Program Files (x86)\Sage\AccountsServiceV22\Sg50Svc_v22.sqlite3
C:\Program Files (x86)\Sage\AccountsServiceV22\Sg50Svc_v22.sqlite3-Shm
C:\Program Files (x86)\Sage\AccountsServiceV22\Sg50Svc_v22.sqlite3-wal

C:\Program Files (x86)\Sage\Accounts\Sg50Svc_v22.sqlite3
C:\Program Files (x86)\Sage\Accounts\Sg50Svc_v22.sqlite3-Shm
C:\Program Files (x86)\Sage\Accounts\Sg50Svc_v22.sqlite3-wal

Delete sage drive files

C:\ProgramData\Sage\Accounts\SageDrive

Uninstall Finished

Get Windows up to date

This is the ideal time to spring clean windows, make sure all patches are applied and all software is up to date, give the pc a reboot and defrag the drive.

If you didn't do a .net repair earlier, now would be an alternative time to do it.

You are now ready to reinstall sage

 

NOTES:

Removing Sage cures most installation problems, however, damaged .net (dot net) can cause Sage to not work.

You could uninstall and reinstall .net on earlier operating systems.
On some more recent versions of Windows 8 and Server 2012 and later .net 3.5 is not enabled by default so you may need to enable it.

You can download installation packages for all the versions of .net from the sage website
http://www.sage.co.uk/au they are in the Misc section

If you have a non standard windows installation the drive letter may be different.

Common elements are shared between multiple sage products so you may need to reinstall other newer sage products in order to update common components.

Some of the directories are areas that users would not normally go into EG  C:\ProgramData\ (or on XP and earlier C:\Documents and Settings\All Users\Application Data\) these are hidden.  You can make "hidden folders visible" by opening Windows Explorer and going to Tools>Folder Options>View>Hidden Files and Folders>Show Hidden Files and Folders You need to press the "Alt" button to see the menu in some versions of Windows.

 


Home Account Apply Terms

Sage 50 Specialists: Pay-as-you-go Support, Sage Reports, Excel Reports, Consultancy, Integration, Help, Advice and more!Copyright - Making I.T. Happen 1995 - 2024
Website last updated 12/04/2024