.NET error when reinstalling SDL Trados 2007
Thread poster: Andrew Levine

Andrew Levine  Identity Verified
United States
Local time: 20:57
Member (2007)
French to English
+ ...
Jul 1, 2009

Hi all,

I just installed Trados 2009 and I had to reinstall Sdl trados 2007 Freelance as I did. However, the program refuses to reinstall, saying that I needed to have Microsoft .NET Framework version 2 or higher installed. However, I already have version 3.5 of .NET installed, as well as versions 2.0 and 3.0. Any guess as to how I can get SdL Trados 2007 to reinstall? I can't uninstall .NET because it says other programs are using it. My OS is XP.

Please help!


Direct link Reply with quote
 

Becky Blackley  Identity Verified
United States
Local time: 20:57
Russian to English
Try repairing .NET Framework Jul 1, 2009

Hi, Andrew.

I had a problem with an error message in TagEditor. SDL Trados support told me to re-register SDL Trados. When I tried to do that, I got one of those annoying messages saying that .NET "has encountered a problem and needs to close. We are sorry for the inconvenience." I thought that the TagEditor error might be caused by the NET Framework problem, so I ran "repair" on Net Framework. That fixed the problem with TagEditor.

Your problem is different, but it's worth trying to repair NET Framework via Add/Remove Programs. If version 3.5 hasn't installed properly or has become corrupt, this may fix it for you.

Also, installing Studio 2009 requires you to have Trados 2007 SUITE. So first you need to upgrade Trados 2007 to 2007 SUITE. This is really just a "patch," not a full upgrade. There should be a download for this patch in "My Downloads" in your account on the SDL Trados web site. Once you have upgraded to 2007 Suite, you then have to return the license (activation code) for 2007 SUITE before you can activate Studio 2009. After you download and install Studio 2009, you get an activation code for Studio 2009 AND a NEW activation code for Trados 2007 Suite. Use this new activation code to reactivate Trados 2007 Suite. If you haven't already downloaded the SDL Trados 2009 Installation Guide (PDF file) from "My Downloads," you should do that. There's lots of valuable information there.

Let me know if I can do anything else to help.

Cheer! Becky


Direct link Reply with quote
 

Andrew Levine  Identity Verified
United States
Local time: 20:57
Member (2007)
French to English
+ ...
TOPIC STARTER
Didn't work Jul 1, 2009

Repairing .NET was the first thing I tried. It didn't work?

Any other ideas?


Direct link Reply with quote
 

amurati
Local time: 02:57
English to Albanian
+ ...
Dot NET Jul 1, 2009

what I suggest to do is to copy the content of the file

NetFxDetect_issues.bat using notepad and save in a location like c:\

and then open the command prompt and go to c:\ and then run the file "NetFxDetect_issues.bat"

W
--------------------------- file content - start ----------------------
@if not defined _echo @echo off
setlocal

SET _SCRIPT_ROOT=%~DP0
SET _SCRIPT_NAME=%~nx0

set __Arch=X86
if /I {%PROCESSOR_ARCHITECTURE%}=={AMD64} set __ARCH=x64
SET _GLOBAL_RETURN=0
SET _GLOBAL_LOG=%TEMP%\netfx35_detection.txt

SET /A _WINDOWS_VER=17040
SET _WINDOWS_VISTA_RTM_VER=6.0.6000.16386

SET _NETFX20_FILE_MAJOR_VER=50727
SET _NETFX20_FILE_BUILD_VER=1433
SET _NETFX20_VISTA_RTM_MSU_VER=6.0.6000.%_NETFX20_FILE_BUILD_VER%
SET _NETFX20_VISTA_RTM_GDR_VER=6.0.6000.16588
SET _NETFX20_VISTA_RTM_LDR_VER=6.0.6000.20711

SET _NETFX20_FILE_MAJOR_VER=50727
SET _NETFX30_FILE_BUILD_VER=648
SET _NETFX30_VISTA_RTM_MSU_VER=6.0.6000.%_NETFX30_FILE_BUILD_VER%
SET _NETFX30_VISTA_RTM_GDR_VER=6.0.6000.16588
SET _NETFX30_VISTA_RTM_LDR_VER=6.0.6000.20711

for /f "tokens=4 delims=.[] " %%f in ('ver') do SET _Windows_MAJOR=%%f
if /I {%_Windows_MAJOR%}=={Version} GOTO :_XP_VERSION
for /f "tokens=5 delims=.[] " %%f in ('ver') do SET _Windows_MINOR=%%f
for /f "tokens=6 delims=.[] " %%f in ('ver') do SET _Windows_BUILD=%%f
GOTO :_END_VERSION

:_XP_VERSION
for /f "tokens=5 delims=.[] " %%f in ('ver') do SET _Windows_MAJOR=%%f
for /f "tokens=6 delims=.[] " %%f in ('ver') do SET _Windows_MINOR=%%f
for /f "tokens=7 delims=.[] " %%f in ('ver') do SET _Windows_BUILD=%%f
:_END_VERSION

set _WINNT_6=
if /I {%_Windows_MAJOR%}=={6} set _WINNT_6=%_Windows_MAJOR%


:_START_ARGS
if /I {%1}=={} GOTO :_DONE_ARGS
SET _INPUT=%1
SET _INPUT=%_INPUT:~1%

If /I {%_INPUT%}=={?} call :_USAGE&Goto :__exit_ERROR
If /I {%_INPUT%}=={help} call :_USAGE&Goto :__exit_ERROR

shift&goto :_START_ARGS

:_USAGE
call :_TEE USAGE: %_SCRIPT_NAME%
call :_TEE . outputs what versions of .NET Framework you have installed as well as potential vista RTM & SP1 issues
exit /b 0

:_DONE_ARGS

SET _DETECTION_ERROR=
call :_TEE THE FOLLOWING SCRIPT will check to make sure that .NET Framework 3.5
call :_TEE is installed properly and will tell you what is not configured appropriately
call :_TEE WINDOWS VERSION: %_Windows_MAJOR%.%_Windows_MINOR%.%_Windows_BUILD%

REM Do the Windows 6.0 additional Detection checks
call :_WINNT_6_Detection
if ERRORLEVEL 1 SET _DETECTION_ERROR=%ERRORLEVEL%

REM if NETFX3.0 SP1 is not Then ALERT the user.
call :_DETECT_NETFX20
if %ERRORLEVEL% EQU 0 call :_TEE ERROR: NetFx2.0 SP1 is not installed&SET _DETECTION_ERROR=1

REM if NETFX3.0 SP1 is not Then ALERT the user.
call :_DETECT_NETFX30
if %ERRORLEVEL% EQU 0 call :_TEE ERROR: Netfx3.0 SP1 is not installed&SET _DETECTION_ERROR=1

call :_DETECT_NETFX35
if %ERRORLEVEL% EQU 0 call :_TEE ERROR: Netfx3.5 RTM is not installed&SET _DETECTION_ERROR=1

if defined _DETECTION_ERROR GOTO :__exit_ERROR

call :_TEE EVERYTHING IS INSTALLED AND CONFIGURED APPROPRIATELY

:__exit
exit /b %_GLOBAL_RETURN%

:__exit_ERROR
SET _GLOBAL_RETURN=1
goto :__exit

:_EXECUTE
set __CMD=%*
call :_TEE %__CMD%
call %__CMD%
set _RETURN=%ERRORLEVEL%
call :_TEE ERRORLEVEL=%_RETURN%
exit /b %_RETURN%

:_WINNT_6_Detection
SET _RETURNCODE=0
if not defined _WINNT_6 GOTO :_EXIT_WINNT_6_Detection
REM ===================================================
REM Windows Vista/SP1 detection
REM ===================================================
if /I not {%_Windows_BUILD%}=={6000} GOTO :_NEXT_WINNT_6_Detection

REM DETECT FOR ADDITIONAL INSTALLED PACKAGES
SET _ADDITIONAL_PACKAGES_DETECTION=
SET _ADDITIONAL_FILES_DETECTION=
for /f %%f in ('Dir /b %windir%\servicing\packages\*kb110806*.mum 2^>nul^| findstr /vic:"%_NETFX20_VISTA_RTM_MSU_VER%" ') do call :_Additional_Packages %_NETFX20_VISTA_RTM_MSU_VER% "%%f"
call :_ADDITIONAL_FILES_CHECK %windir%\winsxs\mscorwks.dll
REM call :_FILES_INSTALLED %windir%\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
REM if /I {%__ARCH%}=={X64} call :_FILES_INSTALLED %_NETFX20_FILE_MAJOR_VER% %_NETFX20_FILE_BUILD_VER% %windir%\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
if defined _ADDITIONAL_PACKAGES_DETECTION set _RETURNCODE=1
if defined _ADDITIONAL_FILES_DETECTION set _RETURNCODE=1
if defined _ADDITIONAL_PACKAGES_DETECTION (
if defined _ADDITIONAL_FILES_DETECTION call :_TEE You possibly have an issue with your .NET FRAMEWORK 2.0 installation.
)

SET _ADDITIONAL_PACKAGES_DETECTION_NETFX30=
SET _ADDITIONAL_FILES_DETECTION_NETFX20=
for /f %%f in ('Dir /b %windir%\servicing\packages\*929300*.mum 2^>nul^| findstr /vic:"%_NETFX30_VISTA_RTM_MSU_VER%"') do call :_Additional_Packages %_NETFX30_VISTA_RTM_MSU_VER% "%%f"
call :_ADDITIONAL_FILES_CHECK %windir%\winsxs\PresentationFramework.dll
call :_ADDITIONAL_FILES_CHECK %windir%\winsxs\System.ServiceModel.dll
REM call :_FILES_INSTALLED %_NETFX30_FILE_MAJOR_VER% %_NETFX30_FILE_BUILD_VER% %ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.0\System.ServiceModel.dll
if defined _ADDITIONAL_PACKAGES_DETECTION set _RETURNCODE=1
if defined _ADDITIONAL_FILES_DETECTION set _RETURNCODE=1
if defined _ADDITIONAL_PACKAGES_DETECTION (
if defined _ADDITIONAL_FILES_DETECTION call :_TEE You possibly have an issue with your .NET FRAMEWORK 3.0 installation.
)

:_NEXT_WINNT_6_Detection
if /I not {%_Windows_BUILD%}=={6001} GOTO :_EXIT_WINNT_6_Detection

for /f "tokens=5,6,7,8 delims=._" %%f in ('Dir /b/s %windir%\winsxs\mscorwks.dll 2^>nul^| findstr /ic:"6.0.6001"') do set _WindowsVer=%%i
SET /A _WindowsVer-=%_WINDOWS_VER%
if %_WindowsVer% LSS 0 SET _RETURNCODE=1&ECHO ERROR: The installation of Vista SP1 is older than that supported by the .NET Framework 3.5. You might have issues with the .NET Framework 3.0 and 2.0 applications.

:_EXIT_WINNT_6_Detection
exit /b %_RETURNCODE%

:_FILES_INSTALLED
for /f %%f in ('find "%1" %2') do
exit /b 0

:_FILECHECK

exit /b 0

:_Additional_Packages
call :_TEE ERROR: The following Additional Package EXISTS, it should be superseded by one with version %1.
call :_TEE ERROR: The Additional Package: %2
SET _ADDITIONAL_PACKAGES_DETECTION=1
exit /b 0

:_ADDITIONAL_FILES_CHECK
for /f %%f in ('Dir /b/s %1 2^>nul^| findstr /ic:"6.0.6000" ^| findstr /vic:"6.0.6000.16386" ^| findstr /vic:"6.0.6000.16588" ^| findstr /vic:"6.0.6000.20711"') do call :_ADDITIONAL_FILES "%%f"
exit /b 0

:_ADDITIONAL_FILES
call :_TEE ERROR: The following Additional Binaries EXIST in the CSI Store
call :_TEE ERROR: The Additional Package: %1
SET _ADDITIONAL_FILES_DETECTION=1
Exit /b 0


:_DETECT_NETFX35
REM ===================================================
REM Detect if 3.5 is already installed
REM ===================================================
call :_REGISTRY_DETECTION "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" Install 0x1
exit /b %ERRORLEVEL%

:_DETECT_NETFX20
REM ===================================================
REM Detect if 2.0 SP1 is already installed
REM ===================================================
call :_REGISTRY_DETECTION "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" SP 0x1
exit /b %ERRORLEVEL%

:_DETECT_NETFX30
REM ===================================================
REM Detect if 3.0 SP1 is already installed
REM ===================================================
call :_REGISTRY_DETECTION "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0" SP 0x1
exit /b %ERRORLEVEL%

:_REGISTRY_DETECTION
set _RETURN_CODE=0
set _REGISTRY_CMD=reg query "%~1" /v "%~2"
for /f "tokens=3" %%f in ('%_REGISTRY_CMD% 2^>nul') do if /I {%%f}=={%3} SET _RETURN_CODE=1
if /I {%_RETURN_CODE%}=={0} ECHO POTENTIAL ERROR: REGISTRYDUMP: %_REGISTRY_CMD%&%_REGISTRY_CMD%
exit /b %_RETURN_CODE%

:_TEE
ECHO %*
if defined _GLOBAL_LOG ECHO %* >> %_GLOBAL_LOG%
exit /b 0
------------------------- file content - end ---------------------


Direct link Reply with quote
 

SDL Community  Identity Verified
United Kingdom
Local time: 02:57
English
Try this... Jul 1, 2009

Hello Andrew,

It sounds like your Microsoft .NET Frameworks may need reinstalling. Please try the following to fix this issue:

Please go to Start > Control Panel > Add-Remove Programs and then uninstall the following:

1. Uninstall SDL Trados Studio 2009
2. Uninstall SDL Multiterm 2009
3. Uninstall Microsoft .NET Frameworks 3.5 and all previous versions.
4. Restart your computer
5. Once your computer has restarted please install SDL Trados Suite 2007, please do not install SDL Multiterm.
6. After installing SDL Trados Suite 2007 please install SDL Trados Studio 2009
7. Finally, please install SDL Multiterm 2009

If this does not resolve the issue then please visit our Solution Finder at http://talisma.sdl.com and follow steps describing your installation problem. You will be given a support form to fill in which will be sent to our support team who will contact you as soon as possible.

I hope this helps.

Many Thanks,

Gareth Powell
SDL Support Team


Direct link Reply with quote
 

Grzegorz Gryc  Identity Verified
Local time: 02:57
French to Polish
+ ...
A bug... Jul 1, 2009

Andrew Levine wrote:

I just installed Trados 2009 and I had to reinstall Sdl trados 2007 Freelance as I did. However, the program refuses to reinstall, saying that I needed to have Microsoft .NET Framework version 2 or higher installed. However, I already have version 3.5 of .NET installed, as well as versions 2.0 and 3.0. Any guess as to how I can get SdL Trados 2007 to reinstall? I can't uninstall .NET because it says other programs are using it. My OS is XP.


It's a well known Trados setup bug.
The setup program verifies an incorrect condition (equal instead of equal or greater) and expects the .Net version provided in the package.

SDL says it's necessary to uninstall .Net Frameworks starting from 2.0, this solution generally works but this procedure is a shame.
Then you can reinstall the newer .Nets.

You can try to setup another machine (e.g. you can use Virtual PC or similar), install Trados on it, copy manually all the Trados files and registry hives, then register the Trados components using the Self_Register.bat file.
IMHO it should work.

Cheers
GG


Direct link Reply with quote
 

Pavel Tsvetkov  Identity Verified
Bulgaria
Local time: 03:57
Member (2008)
English to Bulgarian
+ ...

MODERATOR
Have had the same problem Jul 1, 2009

This has happened to me as well - and on a freshly installed and updated Windows and .Net. So, no, most probably there is nothing wrong with your .Net installation, it is a Trados bug - one of those bugs of which SDL has been aware for months if not years, but which has never been fixed.

The solution is to install Trados before .Net has been fully updated to a version Trados cannot recognize, absurd as it is.

Anyway, in my case, Synergy refused to install but everything else (Workbench, etc.) was working properly, so I just decided to leave things as they were, and not use Synergy at all.


Direct link Reply with quote
 

Andrew Levine  Identity Verified
United States
Local time: 20:57
Member (2007)
French to English
+ ...
TOPIC STARTER
Gareth: Please read my original post Jul 1, 2009

Gareth, as I said, I am unable to uninstall any versions of .NET because Windows will not permit it. What can I do?

Direct link Reply with quote
 

Pavel Tsvetkov  Identity Verified
Bulgaria
Local time: 03:57
Member (2008)
English to Bulgarian
+ ...

MODERATOR
Alas Jul 2, 2009

Sorry to disappoint you, but in my case the only solution to the problem was to reinstall Windows from scratch and the second time round to update .NET AFTER I have installed Trados.

Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

.NET error when reinstalling SDL Trados 2007

Advanced search







LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search