Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!
Showing posts with label SXS. Show all posts
Showing posts with label SXS. Show all posts

Wednesday, June 5, 2013

Dependendy assembly error on Seven Ultimate

C:\Program Files (x86)\USB Disk Security\MFC80U.DLL
C:\Windows\WinSxS\x86_microsoft.vc80.mfc_....................
Die abhängige Assemblierung 
Dependent Assembly 

"Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"
http://answers.microsoft.com/en-us/windows/forum/windows_7-system/side-by-side-error-on-windows-7-ultimate-64bit
The important thing is this number:
x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.4053 _none
This stands for the Update KB973544. So it should fix it:

ATL80.dll
ATL80.dll 8.0.50727.4053 97,280 11-Jul-2009 19:41
mfc80.dll 8.0.50727.4053 1,105,920 11-Jul-2009 20:46
mfc80CHS.dll 8.0.50727.4053 40,960 11-Jul-2009 20:32
mfc80CHT.dll 8.0.50727.4053 45,056 11-Jul-2009 20:32
mfc80DEU.dll 8.0.50727.4053 65,536 11-Jul-2009 20:32
mfc80ENU.dll 8.0.50727.4053 57,344 11-Jul-2009 20:32
mfc80ESP.dll 8.0.50727.4053 61,440 11-Jul-2009 20:32
mfc80FRA.dll 8.0.50727.4053 61,440 11-Jul-2009 20:32
mfc80ITA.dll 8.0.50727.4053 61,440 11-Jul-2009 20:32
mfc80JPN.dll 8.0.50727.4053 49,152 11-Jul-2009 20:32
mfc80KOR.dll 8.0.50727.4053 49,152 11-Jul-2009 20:32
mfc80u.dll 8.0.50727.4053 1,093,120 11-Jul-2009 20:46
mfcm80.dll 8.0.50727.4053 69,632 12-Jul-2009 1:19
mfcm80u.dll 8.0.50727.4053 57,856 12-Jul-2009 1:07
msdia80.dll 8.0.50727.4053 641,536 11-Jul-2009 21:37
msvcm80.dll 8.0.50727.4053 479,232 12-Jul-2009 1:08
msvcp80.dll 8.0.50727.4053 554,832 12-Jul-2009 1:09
msvcr80.dll 8.0.50727.4053 632,656 12-Jul-2009 1:12
vcomp.dll 8.0.50727.4053 65,536 11-Jul-2009 20:54
x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_473666fd.cat Not applicable 7,473 12-Jul-2009 1:
----------------------------------
Install this VC++ Runtime Security Fix (no matter what for a OS this could be or say):
http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en
 change to your language and download the fix according to your platform (x86 or x64)
Now you can run the applications who use this visual C++ 2005 redistr. without errors.
[This is a error related with Visual C++ 2005 redistributable x64 or x86 versions]
Apply C++ redistributable package for 2005

Tuesday, November 22, 2011

Side by Side Configuration Incorrect


Source 
What Is SXSTRACE.EXE?

SXSTRACE.EXE plays a key role in the Windows operating system. SXSTRACE.EXE is a vital process which executes dll files and locates their libraries into windows system's memory. If SXSTRACE.EXE error occurs on your PC then the whole system would run unstably and be quite slow. 
Process SXSTRACE.EXE is located in the system directory
C:\windows\system32.
If the SXSTRACE.EXE process executes and runs from any other suspicious locations, it may be caused by Trojan virus, and then youd better fully scan your computer with an anti-virus program.
Repair SXSTRACE.EXE error
If it is a virus that destroys your SXSTRACE.EXE or, if for some other reason, your SXSTRACE.EXE is corrupt or gets accidentally removed; you need to take the following action to fix SXSTRACE.EXE error:

Locate a Copy of SXSTRACE.EXE on Your System

Check if you find a copy of SXSTRACE.EXE in the folder C:\windows\system32\dllcache or in C:\windows\ServicePackFiles\i386
.
If this is the case, go ahead and copy SXSTRACE.EXE to the system folder C:\windows\system32
If you don't find a copy on your system, you can try to find the file on your windows installation disks.
 

Most of the developers using assemblies in their application may have faced this issue. While starting an application, we may get an error “This application has failed to start because its side by side configuration is incorrect”.
Introduction
Side by side configuration is a trick for versioning files, in which multiple versions of a file are installed in a single machine. This is achieved through manifest files. E.g.: the C Runtime Library assembly contains three DLLs—msvcr80.dll, msvcm80.dll and msvcp80.dll — and is used by applications when they are built using functions from the CRT library. Side-by-side technology is also known as WinSxS or SxS.
What is Side by Side Configuration?
A side-by-side assembly contains a collection of resources—a group of DLLs, Windows classes, COM servers, type libraries, or interfaces—that are always provided to applications together. These are described in the assembly manifest.
Why is it Important?
In many cases, it is possible to update existing applications to use side-by-side assemblies without having to change the application code. Developers are encouraged to use side-by-side assemblies to create isolated applications, and to update existing applications into isolated applications for the following reasons:
  • Side-by-side assemblies reduce the possibility of DLL version conflicts.
  • Side-by-side assembly sharing enables multiple versions of COM or Windows assemblies to run at the same time.
  • Applications and administrators can update assembly configuration on either a global or per-application configuration basis after deployment. For example, an application can be updated to use a side-by-side assembly that includes an update without having to reinstall the application.
How is it Working?
In the preceding example shown in above picture, both Comctl32.DLL version 6.0 and Comctl32.DLL version 5.0 are in the side-by-side assembly cache and available to applications. When an application calls to load the DLL, the side-by-side manager determines whether the application has a version dependence described in a manifest. If there is no relevant manifest, the system loads the default version of the assembly. For Windows XP, version 5.0 of Comctl32.DLL is the system default. If the side-by-side manager finds a dependence on version 6.0 stated in a manifest, that version is loaded to run with the application.
Is it Related Project Settings?
We have to check if it is possible to resolve with project settings because EXE will run in debug build and fails to start in release build. Change your project settings to not use the runtime library, but this will make the output EXE bigger. (Project Properties -> C/C++ -> Code Generation -> Runtime Library -> use/MT or /MTd depends on your current configuration.) This may work, but it is not the solution for this issue.
Is it OS Related?
No, it is not an OS related issue. Since most of the experiences for this issue are in Vista, initially I thought it is only in Vista machine. Side by side error will come irrespective of OS, if reference assembly is missing from Sxs folder.
What is the Solution?
Now we need to think about the solution for this. Since the error message itself is saying “Please check windows event viewer for further information”. Go to event viewer and check for entry with sidebyside. Here we will take an example:
"Activation context generation failed for “DataViewer.dll". Dependent Assembly Microsoft.VC90.MFC, processorArchitecture="x86", publicKeyToken="1fc8b3b9a1e18e3b", type="win32", version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis."
Here we are clear with what we are missing. We are missing 9.0.21022.8 version of Microsoft.VC90.MFC. You can go to C:\Windows\WinSxs folder and manually verify this dependent assembly is there or not. Since we are missing an assembly, the only solution is that reference assembly should be in the machine we are running our application on. Since we need to install dependent assembly to our client machine, we need to run Microsoft redistributable package for the required assembly to client machine. See section website for patches for downloading packages.
Are Sxstrace.exe Tools Useful?
This tool helps us for detailed diagnosis such as assembly probing steps. It also help us to identify what all are the previous versions available and loaded by the application and which folder it is currently searching for.
How Can I Use sxstrace.exe?
For running sxstrace.exe, go to Visual Studio command prompt and type sxstrace.exe. Usage is as follows:
  1. Before running your application, run sxstrace in trace mode sxstrace.exe Trace -logfile:C:\tmp\MySxSTrace.log
  2. Reproduce the error by starting your application
  3. Now stop the trace by using the below command sxstrace.exe Parse -logfile:C:\tmp\MySxSTrace.log -outfile:C:\tmp\MySxSTrace.txt
  4. Open output file from C:\tmp\MySxSTrace.txt
Website for Patches
Conclusion
Side by side configuration error comes because of the referenced assembly missing from winsxs folder. There is no code change for this issue, we can install the required patches to client machine and rebooting the PC will resolve this issue.

TrueImage and SideBySide failures

Quelle: Side by Side
event id: 33
Fehler beim Generieren des Aktivierungskontextes für
"C:\Program Files (x86)\Acronis\BootableComponents\WinPE\Files\TrueImage.exe"  
"C:\Program Files (x86)\Acronis\BootableComponents\WinPE\Files\TrueImageCmd.exe"
"C:\Program Files (x86)\Acronis\BootableComponents\WinPE\Files\mms.exe"
....
Die abhängige Assemblierung "Microsoft.VC80.CRT,processorArchitecture="x86",type="win32",version="8.0.50727.762"" konnte nicht gefunden werden. Verwenden Sie für eine detaillierte Diagnose das Programm "sxstrace.exe"
From Acronis Forum
This issue is currently under investigation by our Development Team. It is caused by PE plugin of Acronis Backup & Recovery 10 using different manifests than Acronis Backup & Recovery 10 itself.
For now there is a workaround: ZIP and delete the PE plugin folder:
- Go to C:\Program Files (x86)\Acronis\BootableComponents (or C:\Program Files\Acronis\BootableComponents), right-click on WinPE folder and choose Send to -> Compressed folder.
- Delete the original WinPE folder. This will not affect the software's functionality in terms of backup and recovery. Errors in the Event Log should not appear anymore.

ho visto che nessuno ti ha ancora risposto, pertanto ho deciso di passarti qualche info, che spero ti possa essere utile.
Sembrerebbe che Acronis esegua una routine è che questa generi una entry nel registro eventi senza comunque compromettere il funzionamento dell'applicazione.
Non sarebbe una cattiva idea dare un occhiata sul Forum di Acronis, tuttavia per rispondere direttamente alla tua domanda, ti dico che sxtrace è semplicemente uno strumento di tracing, o debugging, contenuto in Windows Vista che puoi trovare in %windir%\system32.
WinSxS è la sigla di riferimento per il sistema Side by Side Assemblies, che in Vista vuole essere un alternativa al vecchio modo di utilizzare le DLL.
Quando una applicazione cerca di utilizzare una DLL da WinSxS, Windows cerca prima nel file manifest. Se trovato, aggancia la DLL nella sua cartella e la utilizza.

Ritornando alla tua domanda, vorrei consigliarti di consultare la guida di Junfeng Zhang's - 
Diagnosing SideBySide failures per comprendere meglio come eventualmente utilizzare sxstrace.
------------------------------------
Ho spulciato il forum e mi pare di aver capito che, nonostante Acronis Backup & Recovery 10 sia compatibile con Win7, non lo è ancora un suo componente: WinPE. O meglio è compatibile con le versioni Home di Win7, non quelle enterprise. Vedi qui: http://forum.acronis.com/forum/3438  (l'ultima risposta di un utente del 27.01.2010 è abbastanza arrabbiata :-)
Non ho ben capito a cosa serva questo WinPE ma in effetti gli eseguibili a cui fanno riferimento i miei messaggi di errore nel visualizzatore eventi riguardano tutti la cartella di WinPE.
In definitiva mi pare di dover attendere eventuali aggiornamenti che risolvano questo problema, ma i backups dovrebbero funzionare regolarmente.
Ho aperto un topic nel forum di Acronis come il mio iniziale qui, riportando i dettagli del messaggio ricavato da visualizzatore eventi. Se avrò risposte tornerò ad aggiornarvi.
--------------------------------------
poche parole per soddisfare la tua curiosità in merito a WinPE...
L'acronimo sta per Windows Pre-installation Environment e individua il sistemo operativo contenuto nel kernel di Windows 7 avente il compito di fornire supporto per l'installazione, risolvere problemi di avvio, supportare la riparazione del sistema.
A Windows 7 corrisponde la version 3.0 di WinPE
Per maggiori informazioni da una occhiata a questo articolo di TechNet che descrive la versione 2.0
Inizialmente fu creato per consentire ai produttori  di hardware (OEM) di personalizzare Windows per le loro installazioni, sino al giorno d'oggi che, con Windows 7 che consente di installare WinRE (cuginetto di WinPE) per attuare operazioni di supporto al sistema.
Sembra che Acronis non rilascerà un aggiornamento che risolva il problema, bensì implementerà la compatibilità del suo Acronis B&R nelle versioni successive alla 10.
Rimane un grosso punto interrogativo per gli utilizzatori del software dato per compatibile con W7.

Friday, October 21, 2011

Running sxstrace

  Diagnosing SideBySide failures
===============
Side-by-side technology is a standard for executable files in Microsoft Windows XP and later versions that attempts to reduce DLL hell. Side-by-side technology is also known as WinSxS or SxS. Executables that include an SxS manifest are designated SxS assemblies.
DLL hell designates a group of problems that arise from the use of dynamic-link libraries in Microsoft Windows. Problems include version conflicts, missing DLLs, duplicate DLLs, and incorrect or missing registration. In SxS, Windows stores multiple versions of a DLL in the WinSXS subdirectory of the Windows directory, and loads them on demand. This reduces dependency problems for applications that include an SxS manifest.
Microsoft Visual C++ 2005 and 2008 employ SxS with all C runtime libraries. However, runtime libraries in Visual C++ 2010 no longer use this technology; instead, they include the version number of a DLL in its file name, which means that different versions of one DLL will technically be completely different DLLs now.[1][2]


Fehler beim Generieren des Aktivierungskontextes

Level: Error
Source: SideBySide
Event ID: 33

Activation context generation failed for "C:\Program Files (x86)\Acronis\BootableComponents\WinPE\Files\systeminfo.exe". 
Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",type="win32",version="8.0.50727.762" could not be found. 
Please use sxstrace.exe for detailed diagnosis.
Source
Acronis Backup & Recovery 10 Throws Errors in Application Event Log (Source: SideBySide, Event ID: 33) on Windows 7/2008 R2
Cause
The error is caused by the WinPE plug-in of Acronis Backup & Recovery 10 using different manifests than Acronis Backup & Recovery 10 itself.
Solution
(!) This has been fixed and the fix is available in the latest build of the product. See Installation of the Latest Update of an Acronis Product.
To work around the issue without installing the latest build, see below.
The files that cause the errors belong to Acronis WinPE plug-in.
If you intend to use Acronis WinPE plug-in, you can safely ignore the messages.
If you are not going to use Acronis WinPE plug-in and would like to eliminate the messages, please do the following:
  1. Browse to the following folder:
    • Windows 32 bit: C:\Program Files\Acronis\BootableComponents
    • Windows 64 bit: C:\Program Files (x86)\Acronis\BootableComponents
  2. Right-click on the WinPE folder and choose Send to -> Compressed folder;
  3. Delete the original WinPE folder.
    This will not affect the product's functionality. You will only not be able to use Acronis WinPE plug-in, unless you unpack it back.