Repair corrupted .Net Framework


Timeless Time & Expense and Timeless Project Tracking 3 use the .Net Framework.  The .Net Framework is part of Windows.  On some versions of Windows it is included, in others it is installed as part of Windows update or by another application that requires it.

In some cases, the .Net Framework becomes corrupted.  This will usually be indicated by an error you receive when starting Timeless Time & Expense or Timeless Project Tracking.  Depending on the particular corruption, it may be resolved in different ways.  We'll walk through the most common ways to fix the corruption.

System.EnterpriseServices.Wrapper.dll
One of the most common forms of .Net Framework corruption produces the error "Could not load the file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies".  To correct this:
  1. Log into Windows as an Administrator if you do not have Administrator permissions.
  2. Open a Windows File Explorer window and go to the C:\Windows\Microsoft.NET\Framework\v2.0.50727 folder.
  3. Open a second Windows File Explorer window and to the C:\WINDOWS\assembly folder.
  4. Drag the file System.EnterpriseServices.dll from the window in #1 to file list on the right in #2.
  5. If you received the error message trying to convert a *.tls file, delete the resulting *.tmd3 and *.tmw3.
  6. Run Timeless Time & Expense or Timeless Project Tracking 3.

 

Uninstall and re-install the .Net Framework
On some systems you can uninstall and re-install the .Net framework using the Windows Control Panel Add\Remove Programs (or Programs and Features).  Timeless uses the .Net Framework 2.0. 

Start by removing the .Net Framework 2.0 or the .Net Framework 2.0 Service Pack.  If you are not able to remove version 2.0, you can attempt to remove version 3.5 or 3.0 because they also contain version 2.0.  We recommend you remove versions 3.5, 3.0 and 2.0 in descending order.

If successfully removed any of the above versions, use the Windows Update to reinstall version 3.5 or version 2.0 - which ever was the highest version you successfully removed.  Because version 3.5 includes version 2.0 and 3.0, you need only reinstall version 3.5.

Repair the .Net Framework
If neither of the above methods worked, you can try to directly repair the .Net Framework 2.0. 

This document from Microsoft contains instructions on how to repair the .Net framework.  The section we are interested in is titled "Repair the .NET Framework 2.0".  They list three ways to repair it.  Try the first one titled "Use the Repair command on the Windows Installer cache file".  

Note, when we followed the instructions, we saw some differences.  In step #3, our installation had a comment of "Microsoft .Net Framework; Copyright Microsoft Corporation, All Rights reser".  There was more than one with this comment, so when the repair starts watch the title bar.  If it does not say "Microsoft .NET Framework 2.0 Service Pack 2" then cancel it.

As above, if you received the error message trying to convert a *.tls file, delete the resulting *.tmd3 and *.tmw3 before starting Timeless again.

It didn't work, now what?
Please contact support.  We have more variations of the above we can recommend.

Posted Wednesday, October 07, 2009 by MAG Softwrx, Inc
http://kb.magsoftwrx.com/KnowledgebaseArticle10077.aspx