<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">jreddy's Blog</title><subtitle type="html" /><id>http://blogs.msdn.com/jreddy/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/jreddy/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2005-12-23T18:20:00Z</updated><entry><title>Inside Developer Support Engineer</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2007/12/16/inside-developer-support-engineer.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2007/12/16/inside-developer-support-engineer.aspx</id><published>2007-12-16T23:18:00Z</published><updated>2007-12-16T23:18:00Z</updated><content type="html">&lt;P&gt;This post reflects my experiences as Developer Support Engineer for around 22 months.I was a Developer Support Engineer in VC/C# support team.Hopefully this will give some knowledge to others who wonder about what this role is. &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Though one expects you to be technically sound and have good communication skills, one should also be passionate about helping others.If you are not interested in helping others, no matter how intelligent you are, succeeding in this role will be difficult.&lt;/P&gt;
&lt;P&gt;Other things that you will also learn from this job is,&lt;/P&gt;
&lt;P&gt;Commitment - This is one thing that can change your life. Be it for personal or professional life, guys with this quality will definetly score more than others.&lt;/P&gt;
&lt;P&gt;When we call a Customer service support, with the expectation of getting some help,If we notice that she/he is willing to help, though he/she is not able to help, we feel good. Though in many occasions, we were are not able to help directly,we ensured that,our customers get the help they wanted with the help of others.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Trust - Any relationship will start with Trust. We feel bad when we don't get help when we want.Again, help can be in the form of giving a feeling that our problem will get resolved.We learned to inform our customers, if there are any delays in we contacting them, as promised. We kept them informed about our back-up person, in case if we are sick,out-of-office.&lt;/P&gt;
&lt;P&gt;Customer satisfaction revolves around the above two areas mainly. As a company, Microsoft gives top priority to those qualities and wins customers.They do "everything" for customer. &lt;/P&gt;
&lt;P&gt;It is like going to a big management institute and learning how to win customers.To be frank, I started applying those qualities in my personal life also and I can see the difference.&lt;/P&gt;
&lt;P&gt;Though,I personally had difficulties working during the night times(Though i sleep during the day time i used to feel like not having enough sleep), missing out colleagues get together parties(If everone goes for party, we will miss customers). Extra effort to keep our customer instantly as far as possible, If I look back and see with what i have gained, I am very happy.&lt;/P&gt;
&lt;P&gt;Now that I moved to a different role, thankfully&amp;nbsp;I don't have all those problems. Change is constant, To be happy, we should learn to love the work.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6784518" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author></entry><entry><title>Marking Applications on Windows Vista Using Manifests</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2007/01/26/marking-applications-on-windows-vista-using-manifests.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2007/01/26/marking-applications-on-windows-vista-using-manifests.aspx</id><published>2007-01-26T15:44:00Z</published><updated>2007-01-26T15:44:00Z</updated><content type="html">&lt;H3 class=dtH1&gt;I am copying the&amp;nbsp;text&amp;nbsp;from the article&amp;nbsp;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa480150.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa480150.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa480150.aspx&lt;/A&gt;&amp;nbsp;with respect to changes that one&amp;nbsp;needs to make in&amp;nbsp;a manifest file if they want to run the applications on vista&amp;nbsp;&amp;nbsp;&lt;/H3&gt;
&lt;H3 class=dtH1&gt;Note:When you compile the application using Visual Studio 2005 on Vista it will not by default add the below changes (Atleast for the time being).&lt;/H3&gt;
&lt;P class=dtH1&gt;You need to create a manifest file with the below setting and specify it under the &lt;/P&gt;
&lt;P class=dtH1&gt;Project Properties-&amp;gt;Configuration Properties-&amp;gt;Manifest Tool-&amp;gt;Input and Ouput-&amp;gt;Additional Manifest Files&lt;/P&gt;
&lt;P class=dtH1 mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class=dtH1&gt;Marking Applications on Windows Vista Using Manifests&lt;/H3&gt;
&lt;P&gt;In Windows Vista, the correct way to mark your applications is to embed an application manifest within your program that tells the operating system what the application needs. In the Windows Vista release, there are provisions to allow non-manifested or unsigned code to run with administrative privileges. In future releases, the ONLY way to run an application elevated will be to have a signed manifest that identifies the privilege level the application needs.&lt;/P&gt;
&lt;H3 class=dtH1&gt;Application Manifest Schema&lt;/H3&gt;
&lt;P&gt;Application manifests are not new to the Windows Vista release. Manifests were used in Windows XP to help application developers identify such things as which versions of DLLs the application was tested with. Providing the execution level is an extension to that existing manifest schema.&lt;/P&gt;
&lt;P&gt;The Windows Vista application manifest has been enhanced with attributes that permit developers to mark their applications with a requested execution level. The following is the format for this.&lt;/P&gt;
&lt;DIV class=code id=ctl00_LibFrame_ctl08_&gt;
&lt;DIV class=CodeSnippetTitleBar&gt;
&lt;DIV class=CodeDisplayLanguage&gt;&lt;/DIV&gt;
&lt;DIV class=CopyCodeButton&gt;&lt;A class=copyCode href="javascript:CopyCode('ctl00_LibFrame_ctl08');" mce_href="javascript:CopyCode('ctl00_LibFrame_ctl08');"&gt;&lt;IMG height=9 src="http://msdn2.microsoft.com/msdn/Controls/CodeSnippet/en-us/copy_off.gif" align=middle border=0 mce_src="http://msdn2.microsoft.com/msdn/Controls/CodeSnippet/en-us/copy_off.gif"&gt; Copy Code&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE class=code id=ctl00_LibFrame_ctl08 space="preserve"&gt;&amp;lt;requestedExecutionLevel
   level="asInvoker|highestAvailable|requireAdministrator"
   uiAccess="true|false"/&amp;gt;
&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;B&gt;level&lt;/B&gt; &lt;/P&gt;
&lt;UL type=disc&gt;
&lt;LI&gt;&lt;B&gt;asInvoker&lt;/B&gt;—The application runs with the same token as the parent process. 
&lt;BLOCKQUOTE class=dtBlock&gt;&lt;B&gt;Important note&lt;/B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;For Windows Vista Beta-1, the term used for this level is leastPrivilege. Developers wishing to mark their code for this level on Windows Vista Beta-1 should use leastPrivilege. Developers will need to update their manifest to use the term asInvoker in subsequent versions of Windows.&lt;/BLOCKQUOTE&gt;
&lt;LI&gt;&lt;B&gt;highestAvailable&lt;/B&gt;—The application runs with the highest privileges the current user can obtain. 
&lt;LI&gt;&lt;B&gt;requireAdministrator&lt;/B&gt;—The application runs only for administrators and requires that the application be launched with the full token of an administrator. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;B&gt;uiAccess&lt;/B&gt; &lt;/P&gt;
&lt;UL type=disc&gt;
&lt;LI&gt;&lt;B&gt;false&lt;/B&gt;—The application does not need to drive input to the UI of another window on the desktop. Applications that are not providing accessibility should set this flag to false. Applications that are required to drive input to other windows on the desktop (on-screen keyboard, for example) should set this value to true. 
&lt;LI&gt;&lt;B&gt;true&lt;/B&gt;—The application is allowed to bypass UI protection levels to drive input to higher privilege windows on the desktop. This setting should only be used for UI Accessibility applications. &lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1536502" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>Vista, how is it going to impact Visual Studio and applications developed using that?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2007/01/09/vista-how-is-it-going-to-impact-visual-studio-and-applications-developed-using-that.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2007/01/09/vista-how-is-it-going-to-impact-visual-studio-and-applications-developed-using-that.aspx</id><published>2007-01-09T13:03:00Z</published><updated>2007-01-09T13:03:00Z</updated><content type="html">&lt;P&gt;As Vista released, Developer who are using Visual Studio to develop applications will have lot of questions&lt;/P&gt;
&lt;P&gt;Please refer "Visual Studio and Windows Vista" &lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx" mce_href="http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx"&gt;http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx&lt;/A&gt;&amp;nbsp;and &lt;/P&gt;
&lt;P&gt;Frequently Asked Questions &lt;A href="http://msdn2.microsoft.com/en-us/vstudio/aa948854.aspx" mce_href="http://msdn2.microsoft.com/en-us/vstudio/aa948854.aspx"&gt;http://msdn2.microsoft.com/en-us/vstudio/aa948854.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1438722" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>How to troubleshoot Manifest generation problems</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2006/09/19/how-to-troubleshoot-manifest-generation-problems.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2006/09/19/how-to-troubleshoot-manifest-generation-problems.aspx</id><published>2006-09-19T19:23:00Z</published><updated>2006-09-19T19:23:00Z</updated><content type="html">&lt;P&gt;As a support engineer I have been troubleshooting so many cases where Visual Studio 2005 was throwing an error&lt;BR&gt;while generating an external manifest file, while embedding manifest, while using additional manifest files.&lt;/P&gt;
&lt;P&gt;It is important to know "How does VS 2005 Embed Native Manifest Files" to troubleshoot this type of issues.&lt;BR&gt;Here is a blog that clearly explains the internals of manifest generation along with parameters that is passed to link.exe, mt.exe&lt;BR&gt;&lt;A href="http://blogs.msdn.com/zakramer/archive/2006/05/22/603558.aspx" mce_href="http://blogs.msdn.com/zakramer/archive/2006/05/22/603558.aspx"&gt;http://blogs.msdn.com/zakramer/archive/2006/05/22/603558.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=762234" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>Fatal Error C1060 compiler is out of heap space</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2006/08/23/fatal-error-c1060-compiler-is-out-of-heap-space.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2006/08/23/fatal-error-c1060-compiler-is-out-of-heap-space.aspx</id><published>2006-08-23T16:25:00Z</published><updated>2006-08-23T16:25:00Z</updated><content type="html">&lt;P&gt;There is possibility of getting the above error when you compile a C++ application that is making heavy use of templates with covariant return types&lt;/P&gt;
&lt;P&gt;I had a customer who was getting the above error (As a support engineer&amp;nbsp;I thought I can write a post that might be helpful for users who come across the above error)&lt;/P&gt;
&lt;P&gt;We tried suggestions as specified in &lt;FONT color=#000000 size=2&gt;msdn2.microsoft.com/en-us/library/yz7kx3y2.aspx&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;We also tried clearing TEMP Folder. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;After checking in our internal database&amp;nbsp;I came to know that it is by design.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The following are the workarounds suggested&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;1) using shorter names or 2) less complicated class templates or 3) remove the usage of covariant return types.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;In this case we got rid of the above error by removing covariant return types&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=714637" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>Manifest file?? When did this come into the picture</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2006/08/22/manifest-file-when-did-this-come-into-the-picture.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2006/08/22/manifest-file-when-did-this-come-into-the-picture.aspx</id><published>2006-08-22T14:17:00Z</published><updated>2006-08-22T14:17:00Z</updated><content type="html">&lt;P&gt;As a support engineer&amp;nbsp;I have come across a customer who was not able to run a VS2003 compiled app that is using a VS2005 compiled DLL ( He is using Load Library to load the DLL)&lt;/P&gt;
&lt;P&gt;Here is his scenario&lt;/P&gt;
&lt;P&gt;a) VS2003 compiled app(net_run.exe) using VS2003 compiled DLL (net_setcmn_test.dll)- No problem ( Some customers will not have VS2005 DLL)&lt;/P&gt;
&lt;P&gt;b) VS2003 compiled app(net_run.exe) using VS2005 compiled DLL(net_setcmn_test.dll) - It throws "The application failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem"&lt;/P&gt;
&lt;P&gt;Customer has ensured that he installed vcredist_x86.exe.&lt;/P&gt;
&lt;P&gt;c) After troubleshooting for sometime, he created a manifest file for net_run.exe with name net_run.exe.manifest&amp;nbsp;and copied the following content (from the manifest file of net_setcmn_test.dll.intermediate.manifest)&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8' standalone='yes'?&amp;gt;&lt;BR&gt;&amp;lt;assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR&gt;&amp;lt;/assembly&amp;gt;&lt;BR&gt;After that he is able to run the app.&amp;nbsp; He approached us complaining that the above workaround will not work if his customer doesn't have VS2005 DLL and hence no vcredist DLL's.&lt;/P&gt;
&lt;P&gt;He wants to know how to make his app to work with both VS2003 DLL's and VS2005 DLL's&lt;/P&gt;
&lt;P&gt;He also claimed that with some system configurations it recognizes the manifest&amp;nbsp; and with others it doesn't.&lt;/P&gt;
&lt;P&gt;Here is what we found&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Pre Win-XP are manifest ignorant. Win-XP and above will recognize manifest file&lt;/P&gt;
&lt;P&gt;I was under the assumption that Loader will look into the manifest only if it is compiled using VS2005&lt;/P&gt;
&lt;P&gt;** With respect to the customer's problem, I found that his VS2005 compiled DLL doesn't have embedded manifest file( This is recommended in &lt;A href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235342.aspx&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;** I embedded manifest file using &lt;SPAN style="FONT-WEIGHT: bold"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;mt.exe -manifest net_setcmn_test.dll.manifest -outputresource:net_setcmn_test.dll;2 and removed net_run.exe.manifest&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This time I am able to run the application without any issues.&lt;/P&gt;
&lt;P&gt;** Found that customer is building from the command line and needs help with linker switches so that it automatically takes care of embedding the manifest file.&lt;/P&gt;
&lt;P&gt;Suggested him the following link &lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;A title=http://blogs.msdn.com/zakramer/default.aspx href="http://blogs.msdn.com/zakramer/default.aspx" mce_href="http://blogs.msdn.com/zakramer/default.aspx"&gt;http://blogs.msdn.com/zakramer/default.aspx&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=712540" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>Visual Studio "servicing" Site</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2006/03/07/visual-studio-servicing-site.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2006/03/07/visual-studio-servicing-site.aspx</id><published>2006-03-07T22:09:00Z</published><updated>2006-03-07T22:09:00Z</updated><content type="html">&lt;P&gt;Here is the link where we can get some info on Visual Studio 2005 service pack release date&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/vstudio/support/servicing/default.aspx" mce_href="http://msdn.microsoft.com/vstudio/support/servicing/default.aspx"&gt;http://msdn.microsoft.com/vstudio/support/servicing/default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=545511" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry><entry><title>Troubleshooting C/C++ Isolated Applications and Side-by-side Assemblies - Scenario based with solutions </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jreddy/archive/2005/12/23/troubleshooting-c-c-isolated-applications-and-side-by-side-assemblies-scenario-based-with-solutions.aspx" /><id>http://blogs.msdn.com/jreddy/archive/2005/12/23/troubleshooting-c-c-isolated-applications-and-side-by-side-assemblies-scenario-based-with-solutions.aspx</id><published>2005-12-23T21:20:00Z</published><updated>2005-12-23T21:20:00Z</updated><content type="html">&lt;P&gt;I am a support Engineer and has handled large number of cases related to C/C++ Isolated applications and side-by-side assemblies.&lt;/P&gt;
&lt;P&gt;I came across different errors and is able to find resolution with the help of my Escalation Engineers. Here is the list of errors along with the solution. I hope this will help my team mates or users who has same set of errors.&lt;/P&gt;
&lt;P&gt;I always suggest one to go thru &lt;A href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235342.aspx&lt;/A&gt; .&lt;BR&gt;In Most of the cases the above link is sufficient enough to find out the solution.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;C Run-Time Error R6034&lt;BR&gt;Error Message &lt;BR&gt;"An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information."&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In VC++ 2005, you need an application manifest to make use of the CRT (msvcr80[d].dll). If your application or DLL using CRT DLL doesn't have a manifest, you get this error.&lt;/P&gt;
&lt;P&gt;Solution&lt;BR&gt;Rebuild your application with a manifest&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235560.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms235560.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235560.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Scenario 2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error Message&lt;BR&gt;The application failed to initialize properly (0xc0000135).&lt;BR&gt;This application has failed to start because the application configuration is incorrect. Reinstalling application may fix this problem.&lt;BR&gt;The system cannot execute the specified program.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;If a manifest is present in your application but a required Visual C++ library is not installed in the WinSxS folder, you may get one of the above error messages depending on the version of Windows on which you try to run your application:&lt;/P&gt;
&lt;P&gt;Solution&lt;BR&gt;Event viewer will have more details that will help us in finding a solution.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Scenario 3:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error Message&lt;BR&gt;This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Typically this error occurs because you are mixing retail and debug components. A very common scenario is a debug build of a application which is pulling in a retail version of a static library. The scenario could be the exact reverse and the error message in this case would reference msvcr80d.dll&lt;/P&gt;
&lt;P&gt;Solution&lt;BR&gt;This can be worked around by adding reference to retail CRT in the application manifest manually. Or by adding the following to a header.&lt;/P&gt;
&lt;P&gt;#pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")&lt;/P&gt;
&lt;P&gt;Note: Proceed with caution when providing this solution.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario 4:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ErrorMessage&lt;BR&gt;Though there are no runtime errors,there might be errors in event viewer&lt;/STRONG&gt; like&lt;/P&gt;
&lt;P&gt;Component identity found in manifest does not match the identity of the component requested Syntax error in manifest or policy file &lt;/P&gt;
&lt;P&gt;"C:\Client\Microsoft.VC80.MFC.MANIFEST" on line 4. Generate Activation.Context failed for C:\Client\test.dll. Reference error message: The operation completed successfully&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 2 bugs which cause this.&lt;/P&gt;
&lt;P&gt;1. The assembly manifest of Microsoft.VC80.MFCLOC is incorrect. It has version 8.0.50727.42 instead of 8.0.50608.0.&lt;/P&gt;
&lt;P&gt;Solution&lt;BR&gt;Change the version number&lt;/P&gt;
&lt;P&gt;&amp;lt;assemblyIdentity type="win32" name="Microsoft.VC80.MFCLOC" version="8.0.50727.42" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;should be changed to &lt;BR&gt;&amp;lt;assemblyIdentity type="win32" name="Microsoft.VC80.MFCLOC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"/&amp;gt;&lt;/P&gt;
&lt;P&gt;2. Microsoft.VC80.MFCLOC is referenced not by the application but by MFC80[ud].dll&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Solution&lt;BR&gt;Microsoft.VC80.MFCLOC directory has to be under Microsoft.VC80.MFC directory and not at the same level. &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Scenario 5:&lt;BR&gt;Works in Windows XP but not in Windows Server 2003 or vice versa&lt;/STRONG&gt;. On Windows XP the stand alone manifest overrides the embedded manifest where as in Windows Server 2003 the embedded manifest always overrides the stand alone manifest.&lt;/P&gt;
&lt;P&gt;It is recommended to have embedded manifest with correct information.&lt;BR&gt;This will also avoid the overhead of shipping external manifest.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario 6:&lt;BR&gt;Can't find the MSM for ia64 under C:\Program Files\Common Files\Merge Modules.&lt;/STRONG&gt; &lt;/P&gt;
&lt;P&gt;Solution&lt;BR&gt;Make sure you have installed one of the Team Editions and that you have selected the tools for building ia64 and merge modules in setup. The Professional SKU does not have ia64 support.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario 7:&lt;BR&gt;VS 2005 setup did not install the RTM version of MSM for libraries in \Program Files\Common Files\Merge Modules. Or the MSM under \Program Files\Common Files\Merge Modules indicate they are for beta2. In explorer, hovering over the VS 2005 MSMs shows tooltips which shows "WinSxS Beta 2".&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Solution&lt;/P&gt;
&lt;P&gt;This is bug in the MSMs. Even though there are RTM they were mislabeled with "WinSxS Beta 2".&amp;nbsp; The version should still show 8.0.50727.42. You can find the version by adding the MSM to a setup project and checking version under properties. There is a QFE which updates this label if customer needs it - KB 911884.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=507107" width="1" height="1"&gt;</content><author><name>jreddy</name><uri>http://blogs.msdn.com/members/jreddy.aspx</uri></author><category term="As a Support Engineer" scheme="http://blogs.msdn.com/jreddy/archive/tags/As+a+Support+Engineer/default.aspx" /></entry></feed>