Wednesday 12 September 2012

How to solve "incorrect side-by-side configuration" error when running VC++ app

When I compiled an app by using Visual Studio 2005 Pro on my first PC and ran that app on my second PC. I got the following error:

"The application has failed to start because its side-by-side configuration is incorrect ... "

I found the reason. That is because the side-by-side configuration of my first PC was configured differently from the one on my second PC.

How to fix that:
- First of all, check the side-by-side configuration on registry (type regedit on cmd), proceed to the following keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_none_e8a8ec119a3821e7

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_policy.8.0.microsoft.vc80.atl_1fc8b3b9a1e18e3b_none_e8ff9ccd99f7096b


Alternatively, you can check this by using the existing tool on Windows namely Event Viewer (under Control Panel\Administration Tools). On Event Viewer, check errors on Windows Logs\Application and find the appropriate error on your app.

Next, check the Default values of the above keys. They should be the same and have the highest values (the last numbers). Importantly, these values MUST be the same on two PCs.

- Secondly, try to install the correct side-by-side configuration by downloading and installing the latest update from Microsoft website. (see: http://support.microsoft.com/kb/2538218 and http://technet.microsoft.com/en-us/security/bulletin/ms11-025).
For example, the side-by-side configuration of the first key on my first PC is 8.0.50727.6195.
I need the update version (http://support.microsoft.com/kb/2538218) which has the same value as 8.0.50727.6195.

The problem is solved. When you get the same problem, you can follow my direction.

Hope it helps!

--
Vu

Web translation service

Linkhttp://itranslate4.eu/en/chat

Tuesday 11 September 2012

NiuTrans: A Statistical Machine Translation System

Intro: NiuTrans is an open-source statistical machine translation system developed by the Natural Language Processing Group at Northeastern University, China. The NiuTrans system is fully developed in C++ language. So it runs fast and uses less memory. Currently it has already supported phrase-based, hierarchical phrase-based and syntax-based (string-to-tree, tree-to-string and tree-to-tree) models for research-oriented studies.