﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Edin Mulic</title><subtitle type="html"></subtitle><id>http://developers.de/blogs/edin_mulic/atom.aspx</id><link rel="alternate" type="text/html" href="http://developers.de/blogs/edin_mulic/default.aspx" /><link rel="self" type="application/atom+xml" href="http://developers.de/blogs/edin_mulic/atom.aspx" /><generator uri="http://communityserver.org" version="4.0.30619.63">Community Server</generator><updated>2008-02-09T01:18:00Z</updated><entry><title>Remote Desktop connection: "the identity of the remote computer cannot be verified"</title><link rel="alternate" type="text/html" href="/blogs/edin_mulic/archive/2009/08/18/cannot-establish-remote-desktop-connection.aspx" /><id>/blogs/edin_mulic/archive/2009/08/18/cannot-establish-remote-desktop-connection.aspx</id><published>2009-08-18T07:21:00Z</published><updated>2009-08-18T07:21:00Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Problem:&lt;br /&gt;&lt;/strong&gt;Trying to establish a remote desktop connection from a Win2008 Server (SP2)&amp;nbsp;to other Win2008 Server (SP2)&amp;nbsp;fails with the following error message &amp;quot;The connection cannot continue because the identity of the remote computer cannot be verified&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;This might be caused by&amp;nbsp;incorrect time on one of the Win 2008 servers.&amp;nbsp;Correct the time or activate automatically time synchronization for each server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An additional Workaround:&lt;br /&gt;&lt;/strong&gt;If the described time correction has not solved the problem, then you may try to use the IP address instead of the host name to establish the connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=7271" width="1" height="1"&gt;</content><author><name>emulic</name><uri>http://developers.de/members/emulic/default.aspx</uri></author><category term="connection" scheme="http://developers.de/blogs/edin_mulic/archive/tags/connection/default.aspx"></category><category term="Remote" scheme="http://developers.de/blogs/edin_mulic/archive/tags/Remote/default.aspx"></category><category term="desktop" scheme="http://developers.de/blogs/edin_mulic/archive/tags/desktop/default.aspx"></category></entry><entry><title>Use Robocopy to backup changed files</title><link rel="alternate" type="text/html" href="/blogs/edin_mulic/archive/2008/02/28/use-robocopy-to-backup-changed-files.aspx" /><id>/blogs/edin_mulic/archive/2008/02/28/use-robocopy-to-backup-changed-files.aspx</id><published>2008-02-28T15:35:00Z</published><updated>2008-02-28T15:35:00Z</updated><content type="html">&lt;p&gt;Robocopy.exe is the new copy tool delivered with Windows Vista. The previous windows copy&amp;nbsp;tool XCOPY is marked as deprecated in Vista. &lt;br /&gt;Robocopy is also delivered in the Resource Kit for Windows Server 2003 for free and works fine under Windows NT, 2000 and XP.&lt;br /&gt;Following line performs intelligent backup of all files and subfolders contained in the source folder &amp;quot;data&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;robocopy c:\data f:\backup /MIR&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The option /MIR causes mirroring of the folders, which means only the files changed after the last run of the robocopy command are going to be copied to the backup folder. Subfolders and files created in the source folder after the last executing of the robocopy command will be also copied to the backup folder. And at least, all files deleted from the source folder since last run of the robocopy will also be deleted from the backup folder.&lt;/p&gt;
&lt;p&gt;Robocopy is very fast and therefore it can be used to move large amount of data to the backup folder.&lt;/p&gt;
&lt;p&gt;Since Vista&amp;#39;s &amp;quot;Backup and Restore Center&amp;quot; doesnot allow backup of single directories, this tool might be very usefull to perform intelligent backup of&amp;nbsp;single directories with no or very small effort.&lt;/p&gt;
&lt;p&gt;/MIR is only one of all in all about 200 different switches supprted by robocopy. Call robocopy /? to see more details about robocopy options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=1808" width="1" height="1"&gt;</content><author><name>emulic</name><uri>http://developers.de/members/emulic/default.aspx</uri></author></entry><entry><title>"side-by-side configuration is incorrect" error in VS2005 on Vista</title><link rel="alternate" type="text/html" href="/blogs/edin_mulic/archive/2008/02/09/quot-side-by-side-configuration-is-incorrect-quot-error-in-vs2005-on-vista.aspx" /><id>/blogs/edin_mulic/archive/2008/02/09/quot-side-by-side-configuration-is-incorrect-quot-error-in-vs2005-on-vista.aspx</id><published>2008-02-09T00:18:00Z</published><updated>2008-02-09T00:18:00Z</updated><content type="html">&lt;p&gt;Trying to build a VS2005 project on Vista causes following error:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;em&gt;Error&amp;nbsp;39&amp;nbsp;The specified task executable could not be run. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;This error does not occure&amp;nbsp;in all VS2005 projects. But it occures in all projects having more then one *.resx file (multi language projects for example).&lt;br /&gt;VS2008 is also installed on this PC as well as VS2005 SP1 and VS2005 SP1 Update for Vista.&lt;br /&gt;&lt;br /&gt;Following error can be found in the event log:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Activation context generation failed for &amp;quot;C:\Windows\Microsoft.NET\Framework\v2.0.50727\AL.exe&amp;quot;. Dependent Assembly Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.10714.44800&amp;quot; could not be found. Please use sxstrace.exe for detailed diagnosis.&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Following instructions from the event log, I have started Sxs tracing with the following command:&lt;br /&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Windows\system32&amp;gt;sxstrace Trace -logfile:C:\temp\sxs.ell (must execute cmd as administrator to be able to start tracing)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Starting build of VS2005 project again and parsing of the generated binary trace&amp;nbsp;log to the text format with the following command:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;C:\Windows\system32&amp;gt;sxstrace Parse -logfile:C:\temp\sxs.ell -outfile:C:\temp\sxs.log&lt;br /&gt;&lt;/em&gt;results with the following informations in the generated log file:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;=================&lt;br /&gt;&amp;nbsp;Begin Activation Context Generation.&lt;br /&gt;&amp;nbsp;Input Parameter:&lt;br /&gt;&amp;nbsp;Flags = 0&lt;br /&gt;&amp;nbsp;ProcessorArchitecture = x86&lt;br /&gt;&amp;nbsp;CultureFallBacks = en-US;en&lt;br /&gt;&amp;nbsp;ManifestPath = C:\Windows\Microsoft.NET\Framework\v2.0.50727\AL.exe&lt;br /&gt;&amp;nbsp;AssemblyDirectory = C:\Windows\Microsoft.NET\Framework\v2.0.50727\&lt;br /&gt;&amp;nbsp;Application Config File = C:\Windows\Microsoft.NET\Framework\v2.0.50727\AL.exe.Config&lt;br /&gt;-----------------&lt;br /&gt;INFO: Parsing Application Config File C:\Windows\Microsoft.NET\Framework\v2.0.50727\AL.exe.Config.&lt;br /&gt;INFO: Parsing Manifest File C:\Windows\Microsoft.NET\Framework\v2.0.50727\AL.exe.&lt;br /&gt;&amp;nbsp;INFO: Manifest Definition Identity is al,processorArchitecture=&amp;quot;X86&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;1.0.0.0&amp;quot;.&lt;br /&gt;&amp;nbsp;INFO: Reference: Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.10714.44800&amp;quot;&lt;br /&gt;INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.10714.44800&amp;quot;.&lt;br /&gt;&amp;nbsp;INFO: Resolving reference for ProcessorArchitecture x86.&lt;br /&gt;&amp;nbsp;&amp;nbsp;INFO: Resolving reference for culture Neutral.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Applying Binding Policy.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Find publisher policy at C:\Windows\WinSxS\manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_60a5df56e60dc5df.manifest&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: No binding policy redirect found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Begin assembly probing.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Did not find the assembly in WinSxS.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.CRT\9.0.10714.44800__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT.MANIFEST.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Manifest found at C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: End assembly probing.&lt;br /&gt;INFO: Resolving reference Microsoft.VC90.CRT.mui,language=&amp;quot;&amp;amp;#x2a;&amp;quot;,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.10714.44800&amp;quot;.&lt;br /&gt;&amp;nbsp;INFO: Resolving reference for ProcessorArchitecture x86.&lt;br /&gt;&amp;nbsp;&amp;nbsp;INFO: Resolving reference for culture en-US.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Applying Binding Policy.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: No publisher policy found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: No binding policy redirect found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Begin assembly probing.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Did not find the assembly in WinSxS.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.CRT.mui\9.0.10714.44800_en-US_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Did not find manifest for culture en-US.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: End assembly probing.&lt;br /&gt;&amp;nbsp;&amp;nbsp;INFO: Resolving reference for culture en.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Applying Binding Policy.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: No publisher policy found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: No binding policy redirect found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Begin assembly probing.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Did not find the assembly in WinSxS.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.CRT.mui\9.0.10714.44800_en_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\Microsoft.VC90.CRT.mui.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\Microsoft.VC90.CRT.mui.MANIFEST.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.DLL.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Attempt to probe manifest at C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.MANIFEST.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: Did not find manifest for culture en.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INFO: End assembly probing.&lt;br /&gt;INFO: Parsing Manifest File C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.&lt;br /&gt;&amp;nbsp;INFO: Manifest Definition Identity is Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.21022.8&amp;quot;.&lt;br /&gt;&amp;nbsp;ERROR: Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.10714.44800&amp;quot;. Definition is Microsoft.VC90.CRT,processorArchitecture=&amp;quot;x86&amp;quot;,publicKeyToken=&amp;quot;1fc8b3b9a1e18e3b&amp;quot;,type=&amp;quot;win32&amp;quot;,version=&amp;quot;9.0.21022.8&amp;quot;.&lt;br /&gt;ERROR: Activation Context generation failed.&lt;br /&gt;End Activation Context Generation.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;For any reasons, the version of the AL.exe in my .NET 2.0 folder (&lt;em&gt;C:\Windows\Microsoft.NET\Framework\v2.0.50727\) &lt;/em&gt;was pretty old (9.0.11209.0).&amp;nbsp;Fortunately, I&amp;nbsp;found&amp;nbsp;some newer version (9.0.21022.8) in the folder &amp;quot;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin&amp;quot; of my PC.&amp;nbsp;Replacing of the old version with the new one has resolved my problem.&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=1793" width="1" height="1"&gt;</content><author><name>emulic</name><uri>http://developers.de/members/emulic/default.aspx</uri></author></entry></feed>