<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A BULL's view of LIFE and TECHNOLOGY</title><link>http://blogs.msdn.com/b/ashishme/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Microsoft Baseline Security Analyzer (MBSA) offline bulk scan process</title><link>http://blogs.msdn.com/b/ashishme/archive/2013/02/15/microsoft-baseline-security-analyzer-mbsa-offline-bulk-scan-process.aspx</link><pubDate>Fri, 15 Feb 2013 14:06:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10393990</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10393990</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2013/02/15/microsoft-baseline-security-analyzer-mbsa-offline-bulk-scan-process.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2"&gt;The MBSA tool can be downloaded from the Microsoft.com website.&amp;#160; The current address for version 2.1 is &lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=F32921AF-9DBE-4DCE-889E-ECF997EB18E9&amp;amp;displaylang=en"&gt;&lt;font size="2"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=F32921AF-9DBE-4DCE-889E-ECF997EB18E9&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;MBSA can be run offline (if the machine being used to scan is not connected to the Internet). If using it in this configuration, it is necessary to ensure the latest updates are used.&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="2"&gt;Security update catalog (wsusscn2.cab) is available from &lt;/font&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=76054"&gt;&lt;font size="2"&gt;http://go.microsoft.com/fwlink/?LinkId=76054&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Windows Update Redistribution Catalog (wuredist.cab) located at &lt;/font&gt;&lt;a href="http://update.microsoft.com/redist/wuredist.cab"&gt;&lt;font size="2"&gt;http://update.microsoft.com/redist/wuredist.cab&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Authorisation catalog (muauth.cab) for Windows Update site access is available from &lt;/font&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=43266"&gt;&lt;font size="2"&gt;http://go.microsoft.com/fwlink/?LinkId=43266&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; or by examining the contents of the wuredist.cab file located at &lt;/font&gt;&lt;a href="http://update.microsoft.com/redist/wuredist.cab"&gt;&lt;font size="2"&gt;http://update.microsoft.com/redist/wuredist.cab&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Windows Update Agent standalone installers (if not already installed). The latest versions are available by examining the contents of the wuredist.cab file located at &lt;/font&gt;&lt;a href="http://update.microsoft.com/redist/wuredist.cab"&gt;&lt;font size="2"&gt;http://update.microsoft.com/redist/wuredist.cab&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font size="2"&gt;For x86-based computers (WindowsUpdateAgent30-x86.exe)&lt;/font&gt;&lt;/li&gt;      &lt;li&gt;&lt;font size="2"&gt;For x64-based computers (WindowsUpdateAgent30-x64.exe)&lt;/font&gt;&lt;/li&gt;      &lt;li&gt;&lt;font size="2"&gt;For ia64-based computers (WindowsUpdateAgent30-ia64.exe).&lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font size="2"&gt;Once you have installed the latest updates, follow the steps below to run the scans.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Create a new text file called ‘computers.txt’ and list the names of the servers to be scanned – as shown in Figure 1 below. This should be saved on the computer being used to run the scan.&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_nldKmk1qZaA/SvzFKb197uI/AAAAAAAAAns/VvROGO4Z-Y0/s1600-h/servers.GIF"&gt;&lt;font size="2"&gt;&lt;img title="clip_image001" style="display: inline; background-image: none;" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1321.clip_5F00_image001_5F00_50004A5B.gif" width="139" height="108" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;Figure 1: Computers.txt file contents&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;Open a command prompt and navigate to ‘C:\Program Files\Microsoft Baseline Security Analyzer 2’&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Run the following command (This assumes that the wsusscn2.cab and the text file ‘computers.txt’ have been saved into the root of the C: drive.: &lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;Mbsacli /catalog c:\wsusscn2.cab /listfile c:\computers.txt /wi /nvc /nd&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;/wi = show all updates even if not approved on the WSUS server.&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;/nvc = Do not check for a new version of MBSA.&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2"&gt;/nd = Do not download any files from the Microsoft.com web site when scanning.&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;Wait for the scan to complete.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Open the MBSA console from the Start Menu.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;Click ‘View existing security scan report’.&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10393990" width="1" height="1"&gt;</description></item><item><title>My sail as a Project Manager</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/08/27/my-sail-as-a-project-manager.aspx</link><pubDate>Mon, 27 Aug 2012 16:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10343883</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10343883</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/08/27/my-sail-as-a-project-manager.aspx#comments</comments><description>&lt;p&gt;Captain of the Ship is what a Project Manager is referred to&lt;br /&gt;and yes I have been captaining various ships now from last one year. The ships&lt;br /&gt;have sailed through silent waters and thunder storms. As a captain I owned the&lt;br /&gt;full responsibility of making sure that ship reaches from one shore to another&lt;br /&gt;(scope), safely (in defined schedule, cost and quality). By definition each&lt;br /&gt;Project is different and unique and so are the Project Managers, each Project&lt;br /&gt;Manager has a different style of execution and reaction to situation, what&lt;br /&gt;works for me might not work for you. Nevertheless I was inspired to jot down&lt;br /&gt;what are the things I had done in my journey to make sure that ship reach the&lt;br /&gt;shore safely.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first and foremost is to &amp;ldquo;BE PROACTIVE&amp;rdquo;, as a captain&lt;br /&gt;one needs to be proactive in anticipating the needs of his stakeholders and&lt;br /&gt;that can only be done by cultivating a healthy relationship and which is&lt;br /&gt;possible through more and more interactions. Being a Project Manager one should&lt;br /&gt;not be constrained to the audience he/she needs to report to or work with on&lt;br /&gt;management aspects of the project, but should try to interact with all the&lt;br /&gt;members which also includes the all the Customers Team who has direct or&lt;br /&gt;indirect influence or interest in the project success or failure. This is only&lt;br /&gt;possible if a Project Manager take on or share some responsibilities of the&lt;br /&gt;work which allows to have interaction with the team. There are always areas and&lt;br /&gt;opportunities present in the project which one needs to grab and help, which&lt;br /&gt;helps in becoming part of the team rather than sitting on the top and dictating&lt;br /&gt;others &amp;ndash; as its rightly quoted &amp;ldquo;&lt;b&gt;&lt;i&gt;The way to get started is to quit talking&lt;br /&gt;and begin doing.&lt;/i&gt;&lt;/b&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The second is to be with the team, even though they might&lt;br /&gt;not need you. It is very important for the team to see you around which helps&lt;br /&gt;in building their confidence. They know you are there for them and you can be&lt;br /&gt;approached easily. This acts a double edge sword, you get to know the minute&lt;br /&gt;details which will empower you to take right decisions at right time. One&lt;br /&gt;should not be constrained by money but should try to be innovative in&lt;br /&gt;motivating the team members. &lt;b&gt;&lt;i&gt;Team is what makes the Project Manager&lt;br /&gt;complete&lt;/i&gt;&lt;/b&gt;. You are like a disabled person if your team is not with you.&lt;br /&gt;Apart from time at office the Project Manager should treat his team as his&lt;br /&gt;family and should try to create informal environment to interact with the team&lt;br /&gt;and get to know each other. This could be Dutch movie or dinner party,&lt;br /&gt;celebrating special occasions like birthdays, awards, or small treats at&lt;br /&gt;Barista or even over snacks. This provides a chance to understand the needs of&lt;br /&gt;all team members and their way of working. This way you can prioritize the work&lt;br /&gt;accordingly and take their help in achieving the impossible.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The third one that comes to my mind is being &amp;ldquo;&lt;b&gt;&lt;i&gt;TRANSPARENT&lt;/i&gt;&lt;/b&gt;&amp;rdquo;,&lt;br /&gt;be open with your stakeholders, read A as A and don&amp;rsquo;t try to hide anything&lt;br /&gt;under the hood. All the stakeholders are interested in making the Project&lt;br /&gt;successful and the ones who are not you should try to use them for critical&lt;br /&gt;reviews. Being transparent both in giving the bad news as well as good news.&lt;br /&gt;This is not an easy thing to do&amp;nbsp; always but this will help to build your&lt;br /&gt;credibility as a person on whom the stakeholders can reply upon. As&lt;br /&gt;consultants, Project Managers should also become Trusted Advisor to the&lt;br /&gt;customer, and all internal and external stakeholders. This way you get to be&lt;br /&gt;looked upon as a person who is interested in making project success and are not&lt;br /&gt;just constrained by the numbers, data and processes. All that are Project&lt;br /&gt;Managers weapons, which one has mastered well but should not be the focus for&lt;br /&gt;the Manager. Those should be part of your daily routine where as your aim&lt;br /&gt;should be the success of your stakeholders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10343883" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/Project+Management/">Project Management</category><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/Team/">Team</category><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/Stakeholders/">Stakeholders</category></item><item><title>BizTalk Server Roadmap</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/06/17/biztalk-server-roadmap.aspx</link><pubDate>Sat, 16 Jun 2012 21:49:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10321027</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10321027</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/06/17/biztalk-server-roadmap.aspx#comments</comments><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The next release of BizTalk Server will be BizTalk Server 2010 R2, which will focus on three primary themes:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;BizTalk On-Premise&lt;/li&gt;
&lt;li&gt;BizTalk on Azure IaaS&amp;nbsp;&lt;/li&gt;
&lt;li&gt;BizTalk on Azure PaaS&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;All the capabilities will have seamless connectivity between each other.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Benefits:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Seamlessly connect with Azure artifacts, enable hybrid scenarios and access on premise LOB systems from Azure&lt;/li&gt;
&lt;li&gt;Consume REST services directly in BizTalk, ESB Toolkit part of BizTalk setup&lt;/li&gt;
&lt;li&gt;On-demand BizTalk Development and Test environments - BizTalk Iaas&lt;/li&gt;
&lt;li&gt;EAI and EDI Services through BizTalk PaaS&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For more details refer BizTalk Server Roadmap: &amp;nbsp;&lt;a href="http://www.microsoft.com/biztalk/en/us/roadmap.aspx"&gt;http://www.microsoft.com/biztalk/en/us/roadmap.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10321027" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/BizTalk+Server/">BizTalk Server</category></item><item><title>BTS: BizTalk 2006 to BizTalk 2010 migration : Executing EDI Party Migration Tool</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-executing-edi-party-migration-tool.aspx</link><pubDate>Sun, 26 Feb 2012 06:09:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10273072</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10273072</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-executing-edi-party-migration-tool.aspx#comments</comments><description>
&lt;p&gt;Follow the steps below to execute EDI Party Migration Tool in case you are not running the tool from CD drive but are trying to execute using the ISO image:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The tool has to be exectuted from the BizTalk 2006 R2 machine with OS.&lt;/li&gt;
&lt;li&gt;Copy the "MSI\Program Files\Schemas" folder and the dependent dlls from the ISO extract.&lt;/li&gt;
&lt;li&gt;The config file of the tool has been modified appropriately for pointing the location on the dlls (same folder as tool exe).&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10273072" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/BizTalk+Server/">BizTalk Server</category></item><item><title>BTS: BizTalk 2006 to BizTalk 2010 migration:  All about Legacy SQL Adapter and migrating it to WCF SQL Adapter</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-all-about-legacy-sql-adapter-and-migrating-it-to-wcf-sql-adapter.aspx</link><pubDate>Sat, 25 Feb 2012 22:51:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10273007</guid><dc:creator>mehndi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10273007</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-all-about-legacy-sql-adapter-and-migrating-it-to-wcf-sql-adapter.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These steps needs to be performed once you have successfully migrated BizTalk 2006 solution to BizTalk 2010 solution.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Legacy SQL Adapter is configured to&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Stored Procedure which has SELECT and INSERT statements.&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Update Gram INSERT&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/ul&gt;
&lt;p style="padding-left: 60px;"&gt;Issue # 1&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;WCF SQL adapter: Need to change to Strongly Typed Stored Procedure in case the default one with DataSets / Array of Datasets is not required. Optional, the issue with this is that the SQL response gets changed completely. In case the migration tool is used since the tool does not give an option of selecting the output type which we otherwise get when we use a WCF Sql Adapter from scratch- Manual Step.&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;Resolution&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;The response message schema (Legacy Sql Adapter) is backward compatible with the WCF Adapter. Hence even though the Migration tool generates a brand new schema (multirooted - both for request as&lt;br /&gt;well as response), it does not change the message type of the response message.&lt;br /&gt;&lt;br /&gt;[Below change is applicable only in case the legacy response schema is backward compatible which happens only when the response contains a collection - Non-Insert]&lt;br /&gt;&lt;br /&gt;A small change needs to be done in the SOAP Header section of the WCF Request/Response Port - Prefix the namespace with 'XML'&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;p style="padding-left: 60px;"&gt;Issue # 2&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;Logical Port Operation name needs to be mapped to Operation name in the Binding Info&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;Resolution&lt;/p&gt;
&lt;div&gt;
&lt;p style="padding-left: 90px;"&gt;Mandatory since the operation name of the logical port must match with the Operation name specified under the BtsActionMapping of Wcf Send Port - Manual Step.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;p style="padding-left: 60px;"&gt;Issue # 3&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;The Old schemas and the port types remain with the solution and can be removed if required&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;Resolution&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;To be done as per the project requirements and based on other dependencies.&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;p style="padding-left: 60px;"&gt;Issue # 4&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;Create a new physical send port (WCF Custom - Sql Binding) by importing the bindings which have been added under the migration process.&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;Resolution&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;Import the bindings (customer one, generated by the tool itself and then make the necessary changes if any)&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;If any Sql response schema is being used in map as a source then ensure that both the "AttributeFormDefault" and "ElementFormDefault" should be set to Unqualified. This is because of a bug in WCF which results in blank&lt;br /&gt;namespace (xmlns="&amp;ldquo;) at the individual record level of the response which results in mapping failure.&lt;/li&gt;
&lt;li&gt;In case any map this involves more than one source or destination schema and if one of those multiple source or destinations schemas is the changed Sql schema, then the migration tool fails to update that map. This has to be done manually.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Legacy SQL Adapter is configured to&lt;/span&gt;&lt;/strong&gt;&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Polling Stored Procedure - SELECT&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left: 60px;"&gt;Issue # 1&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;The polling schema made available to the solution by Legacy SQL Adapter is backward compatible and hence can be used as it is by the WCF Sql Adapter.&lt;br /&gt;&lt;br /&gt;But one issue which still persists and requires manual change (not specific to Migration tool as the issue is with the WCF Adapter) - &lt;br /&gt;&lt;br /&gt;Records fetched by WCF Sql Adapter have blank XMLNS with every record unlike the legacy Sql Adapter where there are no such blank namespaces coming along. This results in validation failure wherever the polled schema is being used as a SOURCE SCHEMA.&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;Resolution&lt;/p&gt;
&lt;p style="padding-left: 90px;"&gt;Additionally following 2 changes need to be made:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;Need to feed in the "PolledDataAvailableStatement" as it is a mandatory field before the polling operation could start.&lt;/li&gt;
&lt;li&gt;Marked "UseAmbientTransactions" as false to eliminate the error.&lt;/li&gt;
&lt;li&gt;For the blank namespace problems - the &lt;b&gt;ElementFormDefault&lt;/b&gt; property needs to be set to 'False'&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;The credit for this goes to Amit Shuka (&lt;a href="http://www.linkedin.com/in/shuklaamit"&gt;http://www.linkedin.com/in/shuklaamit)&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10273007" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/BizTalk+Server/">BizTalk Server</category></item><item><title>BTS: BizTalk 2006 to BizTalk 2010 migration: An alternate for Xml UpdateGrams</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-an-alternate-for-xml-updategrams.aspx</link><pubDate>Sat, 25 Feb 2012 21:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10272984</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10272984</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/02/26/bts-biztalk-2006-to-biztalk-2010-migration-an-alternate-for-xml-updategrams.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;ADO.NET Entity Framework &amp;ndash; Overview&lt;/h3&gt;
&lt;p&gt;The ADO.NET Entity Framework enables developers to create data access applications by programming against a conceptual application model instead of programming directly against a relational storage schema. The goal is to decrease the amount of code and maintenance required for data-oriented applications. Entity Framework applications provide the following benefits:&lt;/p&gt;
&lt;p&gt;&amp;middot; Applications can work in terms of a more application-centric conceptual model, including types with inheritance, complex members, and relationships.&lt;/p&gt;
&lt;p&gt;&amp;middot; Applications are freed from hard-coded dependencies on a particular data engine or storage schema.&lt;/p&gt;
&lt;p&gt;&amp;middot; Mappings between the conceptual model and the storage-specific schema can change without changing the application code.&lt;/p&gt;
&lt;p&gt;&amp;middot; Developers can work with a consistent application object model that can be mapped to various storage schemas, possibly implemented in different database management systems.&lt;/p&gt;
&lt;p&gt;&amp;middot; Multiple conceptual models can be mapped to a single storage schema.&lt;/p&gt;
&lt;p&gt;&amp;middot; Language-integrated query (LINQ) support provides compile-time syntax validation for queries against a conceptual model.&lt;/p&gt;
&lt;h3&gt;Getting Started (Entity Framework)&lt;/h3&gt;
&lt;p&gt;The Entity Framework supports the Entity Data Model (EDM) for defining data at the conceptual level. When using the ADO.NET Entity Data Model Designer, conceptual model, storage model, and mapping information is contained in an .edmx file. The Entity Framework also enables developers to program directly against the data types defined at the conceptual level as common language runtime (CLR) objects. The Entity Framework provides tools to generate an .edmx file and the related CLR objects based on an existing database. This reduces much of the data access code that used to be required to create object-based data application and services, and makes it faster to create object-oriented data applications and services from an existing database. The tools also allow you to build a conceptual model first, and then automatically generate related CLR objects and a supporting database.&lt;/p&gt;
&lt;h4&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb399596.aspx"&gt;Generating Models and Mappings&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Entity Framework applications and services are based on model and mapping information that is expressed in three XML-based languages:&lt;/p&gt;
&lt;p&gt;&amp;middot; Conceptual schema definition language (CSDL)&lt;/p&gt;
&lt;p&gt;&amp;middot; Store schema definition language (SSDL)&lt;/p&gt;
&lt;p&gt;&amp;middot; Mapping specification language (MSL)&lt;/p&gt;
&lt;p&gt;CSDL represents application data as a set of entities and relationships in a conceptual model, and it is an implementation of Entity Data Model. A storage model is expressed in SSDL and represents the schema of the data store. The mapping between the two models is expressed in MSL.&lt;/p&gt;
&lt;p&gt;The CSDL, SSDL, and MSL content for an application can be automatically generated by the ADO.NET Entity Data Model Tools. The Entity Data Model Wizard generates model and mapping information as well as data classes from an existing database. The Entity Data Model Designer (Entity Designer) can then be used to graphically modify model and mapping information.&lt;/p&gt;
&lt;p&gt;For our example, we refer to &lt;b&gt; Updategram&lt;/b&gt; scenario, which consist of following tables:&lt;/p&gt;
&lt;p&gt;&amp;middot; TitlesTitleRaw&lt;/p&gt;
&lt;p&gt;&amp;middot; TitlesTitleNameRaw&lt;/p&gt;
&lt;p&gt;Refer following steps for generating model and mapping information using Entity Data Model Wizard.&lt;/p&gt;
&lt;p&gt;1. Create a Visual C# Class Library project and name it as &lt;b&gt;Titles.Samples.Data&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1805.clip_5F00_image002_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0728.clip_5F00_image002_5F00_thumb.jpg" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. After project is added, Add New Item and select ADO.NET Entity Data Model. Name it as &lt;b&gt;Titles.Model.asmx&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8726.clip_5F00_image004_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5661.clip_5F00_image004_5F00_thumb.jpg" width="244" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3. In the appearing window, select &amp;lsquo;Generate from database&amp;rsquo; and click on the &amp;lsquo;Next&amp;rsquo; button. It will open &amp;lsquo;Choose Your Data Connection&amp;rsquo; page which allows configuring destination database connection.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6648.clip_5F00_image005_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3000.clip_5F00_image005_5F00_thumb.png" width="244" height="223" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;4. Select &amp;lsquo;New Connection&amp;rsquo; to configure desired connection settings. For our example, we consider Server Name as &amp;lsquo;localhost&amp;rsquo;, Use Windows Authentication and Database as &amp;lsquo;Staging&amp;rsquo;. Test the connection and click on the &amp;lsquo;OK&amp;rsquo; button.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2117.clip_5F00_image006_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1537.clip_5F00_image006_5F00_thumb.png" width="166" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;5. In &amp;lsquo;Choose Your Data Connection&amp;rsquo; page, click on the &amp;lsquo;Next&amp;rsquo; button to open &amp;lsquo;Choose Your Database Objects&amp;rsquo; page. This page allows us to select the desired tables (mentioned in above list) to generate Entity Model and apply corresponding mappings between the selected tables. Also, change Model Namespace to &amp;lsquo;Titles.Sample.Data&amp;rsquo;, and click on the &amp;lsquo;Finish&amp;rsquo; button.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6470.clip_5F00_image007_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" border="0" alt="clip_image007" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3731.clip_5F00_image007_5F00_thumb.png" width="244" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;6. Now, the Entity Model &amp;lsquo;Titles.Model.edmx&amp;rsquo; is generated with selected tables and their relationships. Save the project.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8037.clip_5F00_image008_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image008" border="0" alt="clip_image008" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7357.clip_5F00_image008_5F00_thumb.png" width="244" height="223" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;7. Go to &amp;lsquo;Solution Explorer&amp;rsquo;, select &amp;lsquo;Titles.Model.edmx&amp;rsquo; file and view its properties. In &amp;lsquo;Properties&amp;rsquo; pane, empty &amp;lsquo;Custom Tool&amp;rsquo; property. It will remove &amp;lsquo;Titles.Model.Designer.cs&amp;rsquo; file from the project.&lt;/p&gt;
&lt;p&gt;[&lt;i&gt;&lt;span style="text-decoration: underline;"&gt;Note:&lt;/span&gt;&lt;/i&gt; &lt;i&gt;Our solution targets POCO Entity Classes, and hence we ignore the code generated by &amp;lsquo;Custom Tool&amp;rsquo; mentioned in &amp;lsquo;Titles.Model.edmx&amp;rsquo; file properties. In the next section, we use &amp;lsquo;ADO.NET POCO Entity Generator&amp;rsquo; to generate the required POCO entity classes corresponding to each table in the model.]&lt;/i&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7433.clip_5F00_image009_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image009" border="0" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0576.clip_5F00_image009_5F00_thumb.png" width="150" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;&amp;nbsp;&lt;/h4&gt;
&lt;hr /&gt;
&lt;h4&gt;&amp;nbsp;&lt;/h4&gt;
&lt;h4&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb399596.aspx"&gt;Generating POCO&lt;/a&gt; Entities using &amp;lsquo;ADO.NET POCO Entity Generator&amp;rsquo;&lt;/h4&gt;
&lt;p&gt;POCO stands for Plain-Old CLR Objects. POCO support in Entity Framework 4.0 means that these EntityObject - based types can be replaced with much simpler classes. POCO entity types are not required to inherit from any particular class and do not need attribute to map to the homologous elements in the model. Instead, types and properties in the objects and in the model are associated at runtime simply based on their names.&lt;/p&gt;
&lt;h5&gt;Adding the POCO template&lt;/h5&gt;
&lt;p&gt;The POCO Template can provide a good jumpstart by generating POCO classes that correspond to the model instead of the default EntityObject classes.&lt;/p&gt;
&lt;p&gt;1. In order to do this, you can right-click on an empty area of the &amp;ldquo;Titles.Model.edmx&amp;rdquo; canvas and select &amp;lsquo;Add Code Generation Item&amp;hellip;&amp;rsquo;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5758.clip_5F00_image010_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image010" border="0" alt="clip_image010" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5736.clip_5F00_image010_5F00_thumb.png" width="244" height="236" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. This will bring up the Add New Item dialog, in which you can choose which Template you wish to use. The POCO Template can normally be found under the Visual C# category.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5824.clip_5F00_image012_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image012" border="0" alt="clip_image012" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1205.clip_5F00_image012_5F00_thumb.jpg" width="244" height="177" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3. On this screen select &amp;ldquo;ADO.NET POCO Entity Generator&amp;rdquo; and type &amp;ldquo;Titles.tt&amp;rdquo; as the name of the new item. Then click on the &amp;lsquo;Add&amp;rsquo; button.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;h5&gt;Understanding how the POCO Template works&lt;/h5&gt;
&lt;p&gt;When you choose the POCO Template two T4 template files are added to your project. In this case one is called &amp;ldquo;Titles.Context.tt&amp;rdquo; and the other is called &amp;ldquo;Titles.tt&amp;rdquo;. T4 stands for &lt;a href="http://www.olegsych.com/2007/12/text-template-transformation-toolkit/"&gt;&lt;b&gt;Text Template Transformation Toolkit&lt;/b&gt;&lt;/a&gt;, and is a template engine that ships with Visual Studio. The Entity Framework POCO Template leverages T4 to allow you to customize code generation.&lt;/p&gt;
&lt;p&gt;Once you have added the POCO template, your project will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0118.clip_5F00_image013_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image013" border="0" alt="clip_image013" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7140.clip_5F00_image013_5F00_thumb.png" width="177" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;The &amp;ldquo;Titles.tt&amp;rdquo; file is responsible for generating a file for each EntityType and ComplexType in the &amp;ldquo;Titles.Model.edmx&amp;rdquo; model. &amp;ldquo;Titles.tt&amp;rdquo; also generates a file called &amp;ldquo;Titles.cs&amp;rdquo;, which contains a FixupCollection&amp;lt;T&amp;gt; class used by the POCO classes to keep the opposite ends of a relationships in sync.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The second template (&amp;ldquo;Titles.Context.tt&amp;rdquo;) produces a strongly typed ObjectContext for the &amp;ldquo;Titles.Model.edmx&amp;rdquo; model. You use this strongly typed ObjectContext to interact with your database.&lt;/p&gt;
&lt;p&gt;Note that each time you edit and save any T4 template the dependent files are regenerated, so you shouldn&amp;rsquo;t edit the generated files directly, or your changes will be lost. If you wish to modify the generated code, you can modify one or both of these templates.&lt;/p&gt;
&lt;p&gt;The primary goal of the POCO template is to produce persistence ignorant entity classes.&lt;/p&gt;
&lt;p&gt;However, the strongly typed ObjectContext derives from ObjectContext, which is an Entity Framework class. So this template must live in a project with a reference to the Entity Framework.&lt;/p&gt;
&lt;p&gt;By splitting the template into two, one part that generates the Entity Types and Complex Types and one that generates a strongly typed context, it makes it possible not only to have Entities and ComplexType that are persistence ignorant but further to put those classes in an assembly / project that has no persistence aware code in it at all.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;h5&gt;Moving entity types to a separate project&lt;/h5&gt;
&lt;p&gt;1. To continue, add a new Class Library project to the solution called Entities. You can remove the class1.cs file created by default in the new project.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6457.clip_5F00_image015_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image015" border="0" alt="clip_image015" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7127.clip_5F00_image015_5F00_thumb.jpg" width="244" height="177" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. Now, in the &amp;ldquo;Titles.Sample.Data&amp;rdquo; project, add a project reference to the &amp;ldquo;Titles.Sample.Entity&amp;rdquo; Project:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4786.clip_5F00_image016_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image016" border="0" alt="clip_image016" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6114.clip_5F00_image016_5F00_thumb.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3. Next, move the &amp;ldquo;Titles.tt&amp;rdquo; file into the Entities project. To do that, you can simply drag &amp;amp; drop the file into the Entities project in the Solution Explorer window, while you hold the Shift key at the same time.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0245.clip_5F00_image017_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image017" border="0" alt="clip_image017" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5047.clip_5F00_image017_5F00_thumb.png" width="220" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr /&gt;
&lt;h5&gt;Editing &amp;ldquo;Titles.tt&amp;rdquo;&lt;/h5&gt;
&lt;h6&gt;Fix the link to &amp;ldquo;Titles.Model.edmx&amp;rdquo;&lt;/h6&gt;
&lt;p&gt;The POCO Template&amp;rsquo;s template files need to be able to read metadata from the EDM model in order to generate the right code. Since we have moved the template, the relative location of the Model has changed; therefore we need to fix the template so its link back to the model is correct again. To do this you can modify a line close to the top of the template from:&lt;/p&gt;
&lt;p&gt;string inputFile = @ &amp;ldquo;Titles.Model.edmx&amp;rdquo; ;&lt;/p&gt;
&lt;p&gt;To:&lt;/p&gt;
&lt;p&gt;string inputFile = @ &amp;ldquo;..\Titles.Sample.Data\Titles.Model.edmx&amp;rdquo;;&lt;/p&gt;
&lt;p&gt;This is simply a relative path from the template&amp;rsquo;s new location to the Titles.Model.edmx file in the other project.&lt;/p&gt;
&lt;h6&gt;Replacing ICollection&amp;lt;T&amp;gt; to List&amp;lt;T&amp;gt;&lt;/h6&gt;
&lt;p&gt;The POCO Template generates entity classes with Navigation Properties which are used to maintain foreign-key relationships. ICollection&amp;lt;T&amp;gt; is used to hold the related entity type. Our approach is to represent entity classes as XSD (generated using XSD.exe), to enable mapping using BizTalk Mapper. Since, ICollection&amp;lt;T&amp;gt; doesn&amp;rsquo;t support serialization, we replace ICollection&amp;lt;T&amp;gt; with List&amp;lt;T&amp;gt; to maintain this relationship. To do this you can modify &amp;ldquo;Titles.tt&amp;rdquo; to reflect the changes in all entity classes. Refer below code snippet for the corresponding changes.&lt;/p&gt;
&lt;p&gt;Before Change:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3056.clip_5F00_image019_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image019" border="0" alt="clip_image019" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1200.clip_5F00_image019_5F00_thumb.jpg" width="244" height="159" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3463.clip_5F00_image021_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image021" border="0" alt="clip_image021" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5516.clip_5F00_image021_5F00_thumb.jpg" width="244" height="14" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After Change:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1362.clip_5F00_image023_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image023" border="0" alt="clip_image023" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7120.clip_5F00_image023_5F00_thumb.jpg" width="244" height="154" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4503.clip_5F00_image025_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image025" border="0" alt="clip_image025" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5141.clip_5F00_image025_5F00_thumb.jpg" width="244" height="12" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Once you&amp;rsquo;ve done this, Save the template, and this will regenerate the POCO entity classes. You can check that the contents of the file &amp;ldquo;Titles.cs&amp;rdquo; under &amp;ldquo;Titles.tt&amp;rdquo; has the right contents to verify that the path entered. Also, notice the &amp;ldquo;Titles.Sample.Entity&amp;rdquo; project has no reference to the &lt;b&gt;System.Data.Entity&lt;/b&gt; (aka the Entity Framework), and is completely persistence ignorant.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;h4&gt;&amp;nbsp;&lt;/h4&gt;
&lt;h4&gt;Generating XSD representing POCO Entities using XSD.exe&lt;/h4&gt;
&lt;p&gt;After successfully compiling &amp;lsquo;Titles.Sample.Entity&amp;rsquo; project, using XSD.exe generate the Schema (XSD) file representing the entities in &amp;lsquo;Titles.Sample.Entity&amp;rsquo; assembly.&lt;/p&gt;
&lt;p&gt;1. Open Command Prompt by typing &amp;lsquo;CMD&amp;rsquo; in RUN Command.&lt;/p&gt;
&lt;p&gt;2. Navigate to &amp;lsquo;Titles.Samples.Entity&amp;rsquo; project folder, and run XSD tool by providing the path of &amp;lsquo;Titles.Samples.Entity.dll&amp;rsquo;. Refer below screenshot:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3404.clip_5F00_image027_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image027" border="0" alt="clip_image027" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3580.clip_5F00_image027_5F00_thumb.jpg" width="244" height="122" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3. Add the schema files (.xsd) generated as a part of your BizTalk schemas project. The schema generated would look like below.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6281.clip_5F00_image028_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image028" border="0" alt="clip_image028" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2061.clip_5F00_image028_5F00_thumb.png" width="244" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;4. All the schema nodes are separated as individual root nodes. Since our transformations require mapping input data to all these nodes, we group them under a single root node named &amp;lsquo;Titles&amp;rsquo;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2860.clip_5F00_image030_5F00_2.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image030" border="0" alt="clip_image030" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1563.clip_5F00_image030_5F00_thumb.jpg" width="244" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now this schema could be used for transforming Titles Canonical message to Titles Entities message, which in runtime will be de-serialized into individual entities and saved into database. We will cover this in next section.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;" size="3"&gt;The credit of this approach&amp;nbsp;goes to David Bastow&amp;nbsp;(&lt;a href="http://www.linkedin.com/pub/david-bastow/7/60/b7b"&gt;http://www.linkedin.com/pub/david-bastow/7/60/b7b&lt;/a&gt;).&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;" size="3"&gt;The credit of this approach's execution goes to Sathish Krishnan (&lt;a title="http://www.linkedin.com/in/satykrish" href="http://www.linkedin.com/in/satykrish"&gt;http://www.linkedin.com/in/satykrish&lt;/a&gt;).&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;div style="margin: 0px; padding: 0px 0px 0px 0px;" class="wlWriterHeaderFooter"&gt;&lt;br /&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[

// ]]&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10272984" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/-NET+Framework/">.NET Framework</category><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/BizTalk+Server/">BizTalk Server</category></item><item><title>TFS: Sync Microsoft Project Plan with Visual Studio TFS tasks – Step by Step Guide</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/02/24/tfs-sync-tfs-and-mpp-step-by-step-guide.aspx</link><pubDate>Thu, 23 Feb 2012 18:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10272972</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10272972</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/02/24/tfs-sync-tfs-and-mpp-step-by-step-guide.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Install Visual Studio Team Explorer&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=329"&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=329&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Install TFS Power Tools&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f"&gt;http://&lt;/a&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f"&gt;visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Identify list of tasks / groups which need to be synced to TFS, example all task in &amp;ldquo;Analysis Phase&amp;rdquo;, deployment task, or whole project as the case may be.&lt;/p&gt;
&lt;p&gt;4. Get/grant &amp;ldquo;Admin Access&amp;rdquo; from an Administrator/to consultant.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Right Click on Project &amp;egrave; Team Project Settings =&amp;gt; Group Membership&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3632.clip_5F00_image002_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2211.clip_5F00_image002_5F00_thumb.png" width="244" height="161" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. Select Project Administrators and click on Properties.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3704.clip_5F00_image004_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5342.clip_5F00_image004_5F00_thumb.jpg" width="244" height="167" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Select &amp;ldquo;Windows User or Group&amp;rdquo; and click on &amp;ldquo;Add&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1526.clip_5F00_image005_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1207.clip_5F00_image005_5F00_thumb.png" width="244" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;d. Click on &amp;ldquo;Add&amp;rdquo;, Select the User to grant Permissions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;b&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3660.clip_5F00_image006_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1602.clip_5F00_image006_5F00_thumb.png" width="244" height="135" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;e. Click on &amp;ldquo;OK&amp;rdquo; and &amp;ldquo;OK&amp;rdquo; on the parent window to apply the settings.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;5. Update the Process Template using the &amp;ldquo;Process Editor&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;6. Based upon the Process template selected during the creation of the TFS Project, use one of the following ZIP:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3755.clip_5F00_image008_5F00_2.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image008" border="0" alt="clip_image008" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6153.clip_5F00_image008_5F00_thumb.png" width="169" height="58" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="margin: 0px; padding: 0px; float: none; display: inline;" id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:ced73d37-17fa-4456-9333-e53176d758d3" class="wlWriterEditableSmartContent"&gt;
&lt;div style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7178.CMMI.Task.Template.zip" target="_blank"&gt;CMMI Task Template&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7140.clip_5F00_image010_5F00_2.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image010" border="0" alt="clip_image010" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5305.clip_5F00_image010_5F00_thumb.png" width="170" height="58" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;7. Unzip the selected file and follow the steps below:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Open Microsoft Visual Studio 2010.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. Using Team Explorer connect to the TFS Server.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Select Team &amp;egrave; Process Editor &amp;egrave; Work Item Types &amp;egrave; Import WIT&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7853.clip_5F00_image012_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image012" border="0" alt="clip_image012" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8130.clip_5F00_image012_5F00_thumb.jpg" width="244" height="73" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;d. Select Team Project Collection and click on &amp;ldquo;Connect&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8105.clip_5F00_image014_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image014" border="0" alt="clip_image014" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4314.clip_5F00_image014_5F00_thumb.jpg" width="213" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;e. Select the right Project to Import to:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2804.clip_5F00_image015_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image015" border="0" alt="clip_image015" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7674.clip_5F00_image015_5F00_thumb.png" width="244" height="175" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;f. Select the Path of the Task.XML unzipped in above step.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2620.clip_5F00_image016_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image016" border="0" alt="clip_image016" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8662.clip_5F00_image016_5F00_thumb.png" width="244" height="175" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0px; padding: 0px; float: none; display: inline;" id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:ced73d37-17fa-4456-9333-e53176d758d3" class="wlWriterEditableSmartContent"&gt;&lt;/div&gt;
g. Repeat the steps &amp;ldquo;&lt;b&gt;a-f&lt;/b&gt;&amp;rdquo; for &amp;ldquo;&lt;b&gt;Unplanned Task.xml&lt;/b&gt;&amp;rdquo;. You would be able to see a new Work Item Type called &amp;ldquo;&lt;b&gt;UnPlanned Task&lt;/b&gt;&amp;rdquo;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3343.clip_5F00_image017_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image017" border="0" alt="clip_image017" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1616.clip_5F00_image017_5F00_thumb.png" width="244" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;h. Execute the &amp;ldquo;Visual Studio Command Prompt (2010)&amp;rdquo; in &amp;ldquo;Run as Administrator&amp;rdquo; mode&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;i. Update the values of the &lt;b&gt;&lt;i&gt;&amp;lt;TFS Server Collection URL&amp;gt;&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;&amp;lt;Team Project&amp;gt;&lt;/i&gt;&lt;/b&gt; in the below command line:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;TFSFieldMapping upload /collection:"&lt;b&gt;&lt;i&gt;&amp;lt;TFS Server Collection URL&amp;gt;&lt;/i&gt;&lt;/b&gt;" /teamproject:"&lt;b&gt;&lt;i&gt;&amp;lt;Team Project&amp;gt;&lt;/i&gt;&lt;/b&gt;" /mappingfile:MappingFile.xml&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;j. On the Command Prompt change the directory to location of the Un Zip files&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;k. Execute the above command with correct values of &lt;b&gt;&lt;i&gt;&amp;lt;TFS Server Collection URL&amp;gt;&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;&amp;lt;Team Project&amp;gt;&lt;/i&gt;.&lt;/b&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5100.clip_5F00_image019_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image019" border="0" alt="clip_image019" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5187.clip_5F00_image019_5F00_thumb.jpg" width="244" height="47" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;8. &lt;b&gt;In MPP: &lt;/b&gt;All the Resources should be taken from Active Directory, follow the steps below:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7651.clip_5F00_image020_5F00_2.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image020" border="0" alt="clip_image020" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2845.clip_5F00_image020_5F00_thumb.png" width="244" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1460.clip_5F00_image021_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image021" border="0" alt="clip_image021" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4503.clip_5F00_image021_5F00_thumb.png" width="244" height="210" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0755.clip_5F00_image022_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image022" border="0" alt="clip_image022" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5545.clip_5F00_image022_5F00_thumb.png" width="244" height="216" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;9. For the tasks selected in point 1 makes sure that all the resources assigned are Active Directory Users, we cannot have any resources which are not resolved in &lt;b&gt;Active Directory&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6204.clip_5F00_image023_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image023" border="0" alt="clip_image023" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7271.clip_5F00_image023_5F00_thumb.jpg" width="244" height="126" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8322.clip_5F00_image024_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image024" border="0" alt="clip_image024" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3051.clip_5F00_image024_5F00_thumb.jpg" width="244" height="122" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;10. Go to Team Tab&lt;/p&gt;
&lt;p&gt;11. Connect to Team Project.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4111.clip_5F00_image025_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image025" border="0" alt="clip_image025" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1563.clip_5F00_image025_5F00_thumb.png" width="236" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;12. Select the TFS Project&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8308.clip_5F00_image026_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image026" border="0" alt="clip_image026" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4572.clip_5F00_image026_5F00_thumb.png" width="244" height="154" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;13. You might get this screen, just continue and press &amp;ldquo;Update&amp;rdquo;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2117.clip_5F00_image027_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image027" border="0" alt="clip_image027" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4744.clip_5F00_image027_5F00_thumb.png" width="200" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;14. Make sure you have defined Iteration and Area Path for your TFS Project. This can be done from inside the MS Project itself.&lt;/p&gt;
&lt;p&gt;15. Add following new Columns in the MPP which come after connecting to TFS.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Iteration Path&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. Area Path&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Work Item Type&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;d. Publish and Refresh&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;e. State (Optional)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7206.clip_5F00_image029_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image029" border="0" alt="clip_image029" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4667.clip_5F00_image029_5F00_thumb.jpg" width="244" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;16. Click on Add New Column and select &amp;egrave; Area Path&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5633.clip_5F00_image030_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image030" border="0" alt="clip_image030" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1588.clip_5F00_image030_5F00_thumb.png" width="244" height="233" /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt; 17. Click on Add New Column and select &amp;egrave; Iteration Path&lt;/b&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0508.clip_5F00_image031_5F00_2.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image031" border="0" alt="clip_image031" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8510.clip_5F00_image031_5F00_thumb.png" width="244" height="210" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0488.clip_5F00_image033_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image033" border="0" alt="clip_image033" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4380.clip_5F00_image033_5F00_thumb.jpg" width="244" height="83" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;18. Make sure that Area Path and Iteration Path for the Tasks to be synced have correct values selected:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2146.clip_5F00_image035_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image035" border="0" alt="clip_image035" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1050.clip_5F00_image035_5F00_thumb.jpg" width="244" height="77" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4784.clip_5F00_image037_5F00_2.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image037" border="0" alt="clip_image037" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4377.clip_5F00_image037_5F00_thumb.jpg" width="244" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4265.clip_5F00_image039_5F00_2.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image039" border="0" alt="clip_image039" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5758.clip_5F00_image039_5F00_thumb.jpg" width="244" height="31" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;19. Select &amp;ldquo;Work Item Type&amp;rdquo; and set the value as &amp;ldquo;Task&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;20. For Publish and Refresh select the value as &amp;ldquo;Yes&amp;rdquo; against the entire Task that you want to perform sync with TFS.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Possible values for Publish and Refresh are&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Yes (Publish to TFS)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. No (Don&amp;rsquo;t Publish)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Refresh Only&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;When you use Microsoft Project to create parent and child tasks, it assigns parent tasks the rollup of hours that are defined for all its child tasks. Rollup hours are not published to Team Foundation so that the hours are not double-counted in certain reports. The Microsoft Project mapping file attribute, &lt;b&gt;IfSummaryRefreshOnly&lt;/b&gt;, suppresses the publication to Team Foundation of the hours that are assigned to summary tasks. You can view the rollup of hours for summary tasks in Office Project but not in Team Foundation.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;21. Once all has been setup just go to Team Tab and click &amp;ldquo;Publish&amp;rdquo;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10272972" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-27-29-72/Scrum-Task-Template.zip" length="7230" type="application/zip" /><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/VSTS/">VSTS</category><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/TFS/">TFS</category><category domain="http://blogs.msdn.com/b/ashishme/archive/tags/MS+Project/">MS Project</category></item><item><title>TFS: Restrict users to Source Control and Deny access on Work Items, Build, Test</title><link>http://blogs.msdn.com/b/ashishme/archive/2012/02/23/tfs-restrict-users-to-source-control-and-deny-access-on-work-items-build-test.aspx</link><pubDate>Thu, 23 Feb 2012 13:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10271449</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10271449</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2012/02/23/tfs-restrict-users-to-source-control-and-deny-access-on-work-items-build-test.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use Visual Studio follow the steps below to create a new group that only allows user to use source control and prevent viewing Work Items, Build, and Test features.&lt;/p&gt;
&lt;p&gt;1. Create a New Group&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Right Click on the Project, go to Team Project Settings &amp;egrave; Group Membership&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2577.clip_5F00_image001_5B00_4_5D00_.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image001[4]" border="0" alt="clip_image001[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2146.clip_5F00_image001_5B00_4_5D005F00_thumb.jpg" width="244" height="118" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. Click on New button&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8883.clip_5F00_image002_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0167.clip_5F00_image002_5B00_4_5D005F00_thumb.png" width="244" height="167" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Enter the name of your choice as&amp;nbsp; (&amp;ldquo;&lt;b&gt;Only Source Control Users&lt;/b&gt;&amp;rdquo;)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8081.clip_5F00_image003_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image003[4]" border="0" alt="clip_image003[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5430.clip_5F00_image003_5B00_4_5D005F00_thumb.png" width="244" height="100" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;d. Click &amp;ldquo;OK&amp;rdquo; and the TFS group is created&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1682.clip_5F00_image004_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/2671.clip_5F00_image004_5B00_4_5D005F00_thumb.png" width="244" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. Assign/Deny Permissions&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a. Deny permissions on Work Items&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i. Click on the Areas and Iterations&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/8535.clip_5F00_image005_5B00_4_5D00_.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image005[4]" border="0" alt="clip_image005[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0020.clip_5F00_image005_5B00_4_5D005F00_thumb.jpg" width="244" height="127" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ii. Click on Security&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1754.clip_5F00_image006_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3718.clip_5F00_image006_5B00_4_5D005F00_thumb.png" width="244" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iii. Select Team Foundation Server Group and Click on &amp;ldquo;Add&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/1830.clip_5F00_image007_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image007[4]" border="0" alt="clip_image007[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0245.clip_5F00_image007_5B00_4_5D005F00_thumb.png" width="244" height="181" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv. Select the Group &amp;ldquo;&lt;b&gt;Only Source Control Users&lt;/b&gt;&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4035.clip_5F00_image009_5B00_4_5D00_.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image009[4]" border="0" alt="clip_image009[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0652.clip_5F00_image009_5B00_4_5D005F00_thumb.jpg" width="244" height="114" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v. Deny all the permissions &amp;ndash; provide below:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/6574.clip_5F00_image010_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image010[4]" border="0" alt="clip_image010[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4118.clip_5F00_image010_5B00_4_5D005F00_thumb.png" width="239" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vi. Click on &amp;ldquo;&lt;b&gt;Close&lt;/b&gt;&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b. Deny permissions on Build&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i. Repeat the similar steps after selecting the &amp;ldquo;&lt;b&gt;Build&lt;/b&gt;&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7230.clip_5F00_image011_5B00_4_5D00_.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image011[4]" border="0" alt="clip_image011[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/4174.clip_5F00_image011_5B00_4_5D005F00_thumb.jpg" width="244" height="186" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;c. Assign permissions to view Project Level Information&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i. Select Project &amp;egrave; Team Project Settings &amp;egrave; Security&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/7711.clip_5F00_image012_5B00_4_5D00_.jpg"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image012[4]" border="0" alt="clip_image012[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/5460.clip_5F00_image012_5B00_4_5D005F00_thumb.jpg" width="244" height="116" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ii. Select the Group and make sure the permissions as set as given below:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/3173.clip_5F00_image013_5B00_4_5D00_.png"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image013[4]" border="0" alt="clip_image013[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-56-64-metablogapi/0830.clip_5F00_image013_5B00_4_5D005F00_thumb.png" width="238" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3. Assign Users to the Groups as normal. Now the user will only have access on the Source Control and not on Build and Work Items.&lt;/p&gt;
&lt;div style="margin: 0px; padding: 0px 0px 0px 0px;" class="wlWriterHeaderFooter"&gt;&lt;br /&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[

// ]]&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10271449" width="1" height="1"&gt;</description></item><item><title>My way of using technology, hubs of USB–the way to go :).</title><link>http://blogs.msdn.com/b/ashishme/archive/2011/03/16/my-way-of-using-technology-hubs-of-usb-the-way-to-go.aspx</link><pubDate>Tue, 15 Mar 2011 20:51:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10141643</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=10141643</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2011/03/16/my-way-of-using-technology-hubs-of-usb-the-way-to-go.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-56-64-metablogapi/6874.CIMG0002_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="CIMG0002" border="0" alt="CIMG0002" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-56-64-metablogapi/3731.CIMG0002_5F00_thumb.jpg" width="473" height="356" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10141643" width="1" height="1"&gt;</description></item><item><title>What does a Team expect from a Project Manager?</title><link>http://blogs.msdn.com/b/ashishme/archive/2010/02/26/what-does-a-team-expect-from-a-project-manager.aspx</link><pubDate>Fri, 26 Feb 2010 20:47:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9970130</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9970130</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2010/02/26/what-does-a-team-expect-from-a-project-manager.aspx#comments</comments><description>&lt;ol&gt;   &lt;li&gt;&lt;font size="2"&gt;Open Communication&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Transparency &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Empathy &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Should be part of team activities &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Represent true status in the Reports so that management is aware of what is going on. &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Should be a great negotiator and change manager. Negotiations needs to be done openly with Team as well as Customer&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;Should never ask the team about status during meetings the status can be retrieved via tools like TFS, tracking tools but the only thing in the calls should be to make people speak and get all the Risks identified and then work with them to figure out the mitigations. &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3"&gt;&lt;font size="2"&gt;Should be with the Team in hours of their hard work to ensure any needs &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3"&gt;&lt;font size="2"&gt;Should not bother the team with unnecessary questions&lt;/font&gt; &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="2"&gt;No disturbance after working hours and weekends&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font size="2"&gt;Will keep on updating ……&lt;/font&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9970130" width="1" height="1"&gt;</description></item><item><title>WCF Oracle Adapter for BizTalk Server 2009</title><link>http://blogs.msdn.com/b/ashishme/archive/2010/02/22/wcf-oracle-adapter-for-biztalk-server-2009.aspx</link><pubDate>Mon, 22 Feb 2010 05:45:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9967222</guid><dc:creator>mehndi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9967222</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2010/02/22/wcf-oracle-adapter-for-biztalk-server-2009.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;Installation Steps:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;1. BizTalk Server 2009 x64 is installed and configured properly.&lt;/p&gt;  &lt;p&gt;2. Install WCF LOB SDK x64.&lt;/p&gt;  &lt;p&gt;2. Install &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=47ab6f21-0d8b-4c90-a8b9-e8647281b164"&gt;WCF LOB Adapter Pack SP2&lt;/a&gt; x32 and x64.&lt;/p&gt;  &lt;p&gt;3. Install BizTalk adapter Pack 2.0 for 2009, both for x86 &amp;amp; x64. Link for EVALUATION version is &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=76736ba7-3c05-4436-9353-1c33f9005194&amp;amp;displaylang=en"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;4. Install &lt;a href="http://www.oracle.com/technology/software/tech/windows/odpnet/index.html"&gt;Oracle Data Access Components&lt;/a&gt; (ODAC) 11.1.0.7.20 bundled with Oracle Instant Client making sure no other client versions are present before installation.&lt;/p&gt;  &lt;p&gt;5. Restart the Machine.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Troubleshooting:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;1. If TNS service name cannot be resolved even after making an entry to “TNSNames.ora” file, then try the following:&lt;/p&gt;  &lt;p&gt;a. Create a TNS_NAMES environment variable – pointing to path of tnsnames.ora&lt;/p&gt;  &lt;p&gt;b. If the above step does not work, then create a TNS_NAMES entry in REGISTRY and restart the machine. For example, the following is the registry entry made for the TNS Service Name - “XE” on 32-bit:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WCFOracleAdapterforBizTalkServer2009_14D72/two_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="two" border="0" alt="two" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WCFOracleAdapterforBizTalkServer2009_14D72/two_thumb.png" width="925" height="629" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;For 64-bit, the location in the registry would be:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WCFOracleAdapterforBizTalkServer2009_14D72/one_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="one" border="0" alt="one" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WCFOracleAdapterforBizTalkServer2009_14D72/one_thumb.png" width="927" height="724" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9967222" width="1" height="1"&gt;</description></item><item><title>Retrieving the Time scaled data from MS Project (mpp)</title><link>http://blogs.msdn.com/b/ashishme/archive/2010/02/19/retrieving-the-time-scaled-data-from-ms-project-mpp.aspx</link><pubDate>Fri, 19 Feb 2010 09:00:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9966234</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9966234</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2010/02/19/retrieving-the-time-scaled-data-from-ms-project-mpp.aspx#comments</comments><description>&lt;p&gt;The TimeScaleValue method is very sensitive to multiple access without garbage clean up.&amp;#160; &lt;/p&gt;  &lt;p&gt;Note: The key to avoiding the COM exceptions is to clean up after yourself explicitly through calls to Marshal.FinalReleaseComObject.&amp;#160; If you comment out the release made inside the loop, it will throw an exception every time. &lt;/p&gt;  &lt;p&gt;Here's a code snippet that shows the correct way to manipulate time scaled data.&lt;/p&gt;  &lt;div class="csharpcode"&gt;   &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;Application winProj = &lt;span class="kwrd"&gt;new&lt;/span&gt; Application();&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;winProj.FileNew(Type.Missing, Type.Missing, Type.Missing, Type.Missing);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;winProj.Visible = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;Project project = winProj.ActiveProject;            &lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;Resource resource = project.Resources.Add(&lt;span class="str"&gt;&amp;quot;Res1&amp;quot;&lt;/span&gt;, Type.Missing);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;Task task = project.Tasks.Add(&lt;span class="str"&gt;&amp;quot;Task1&amp;quot;&lt;/span&gt;, Type.Missing);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;task.Duration = &lt;span class="str"&gt;&amp;quot;1000d&amp;quot;&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;winProj.ViewApply(&lt;span class="str"&gt;&amp;quot;Task Usage&amp;quot;&lt;/span&gt;, Type.Missing, Type.Missing);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;            &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;Assignment assignment = task.Assignments.Add(task.ID, resource.ID, 1);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;DateTime start = DateTime.Now;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;TimeScaleValues timeScaleValues = &lt;span class="kwrd"&gt;null&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;&lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;{&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;                winProj.ScreenUpdating = &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;                winProj.Calculation = PjCalculation.pjManual;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;                timeScaleValues = task.Assignments[1].TimeScaleData(task.Start,&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;                                                                    task.Finish,&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;                                                                    PjAssignmentTimescaledData.pjAssignmentTimescaledWork,&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  28:  &lt;/span&gt;                                                                    PjTimescaleUnit.pjTimescaleDays,&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  29:  &lt;/span&gt;                                                                    1);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  30:  &lt;/span&gt;                Debug.WriteLine(timeScaleValues.Count);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  31:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  32:  &lt;/span&gt;                &lt;span class="kwrd"&gt;for&lt;/span&gt; (&lt;span class="kwrd"&gt;int&lt;/span&gt; i = 1; i &amp;lt; timeScaleValues.Count; i++)&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  33:  &lt;/span&gt;                {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  34:  &lt;/span&gt;                    TimeScaleValue timeScaleValue = timeScaleValues[i];&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  35:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  36:  &lt;/span&gt;                    Debug.WriteLine(timeScaleValue.StartDate);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  37:  &lt;/span&gt;                    Debug.WriteLine(timeScaleValue.EndDate);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  38:  &lt;/span&gt;                    Debug.WriteLine(timeScaleValue.Value);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  39:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  40:  &lt;/span&gt;                    &lt;span class="kwrd"&gt;if&lt;/span&gt; (!&lt;span class="kwrd"&gt;string&lt;/span&gt;.IsNullOrEmpty(timeScaleValue.Value.ToString()))&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  41:  &lt;/span&gt;                    {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  42:  &lt;/span&gt;                        timeScaleValue.Value = 360;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  43:  &lt;/span&gt;                    }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  44:  &lt;/span&gt;                    &lt;font color="#ff0000"&gt;Marshal.FinalReleaseComObject(timeScaleValue);&lt;/font&gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  45:  &lt;/span&gt;                }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  46:  &lt;/span&gt;                &lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  47:  &lt;/span&gt;            }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  48:  &lt;/span&gt;            &lt;span class="kwrd"&gt;catch&lt;/span&gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  49:  &lt;/span&gt;            {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  50:  &lt;/span&gt;                Debugger.Break();&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  51:  &lt;/span&gt;            }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  52:  &lt;/span&gt;            &lt;span class="kwrd"&gt;finally&lt;/span&gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  53:  &lt;/span&gt;            {&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  54:  &lt;/span&gt;                winProj.ScreenUpdating = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  55:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  56:  &lt;/span&gt;                winProj.Calculation = PjCalculation.pjAutomatic;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  57:  &lt;/span&gt;                winProj.CalculateAll();&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  58:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  59:  &lt;/span&gt;                &lt;span class="kwrd"&gt;if&lt;/span&gt; (timeScaleValues != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  60:  &lt;/span&gt;                {&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  61:  &lt;/span&gt;                    &lt;font color="#ff0000"&gt;Marshal.FinalReleaseComObject(timeScaleValues);&lt;/font&gt;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  62:  &lt;/span&gt;                }                    &lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  63:  &lt;/span&gt;            }&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  64:  &lt;/span&gt;&amp;#160;&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  65:  &lt;/span&gt;           Marshal.FinalReleaseComObject(project);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  66:  &lt;/span&gt;           Marshal.FinalReleaseComObject(resource);&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  67:  &lt;/span&gt;           Marshal.FinalReleaseComObject(task);      &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  68:  &lt;/span&gt;           Marshal.FinalReleaseComObject(assignment);                        &lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  69:  &lt;/span&gt;           Debug.WriteLine((DateTime.Now - start).Seconds);&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="lnum"&gt;  70:  &lt;/span&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;

&lt;p&gt;&lt;/p&gt;
Windows Live Tags: &lt;a href="http://windows.live.com/connect/tag/Time" rel="clubhouseTag"&gt;Time&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/Project" rel="clubhouseTag"&gt;Project&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleValue" rel="clubhouseTag"&gt;TimeScaleValue&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/FinalReleaseComObject" rel="clubhouseTag"&gt;FinalReleaseComObject&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleValues" rel="clubhouseTag"&gt;TimeScaleValues&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleData" rel="clubhouseTag"&gt;TimeScaleData&lt;/a&gt; 

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
Blogger Labels: 

&lt;p&gt;&lt;a href="http://windows.live.com/connect/tag/Time" rel="clubhouseTag"&gt;Time&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/Project" rel="clubhouseTag"&gt;Project&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleValue" rel="clubhouseTag"&gt;TimeScaleValue&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/FinalReleaseComObject" rel="clubhouseTag"&gt;FinalReleaseComObject&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleValues" rel="clubhouseTag"&gt;TimeScaleValues&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/TimeScaleData" rel="clubhouseTag"&gt;TimeScaleData&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9966234" width="1" height="1"&gt;</description></item><item><title>Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/08/15/could-not-load-file-or-assembly-microsoft-sqlserver-diagnostics-strace-version-10-0-0-0-culture-neutral-publickeytoken-89845dcd8080cc91-or-one-of-its-dependencies-the-system-cannot-find-the-file-specified.aspx</link><pubDate>Sat, 15 Aug 2009 02:19:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9870657</guid><dc:creator>mehndi</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9870657</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/08/15/could-not-load-file-or-assembly-microsoft-sqlserver-diagnostics-strace-version-10-0-0-0-culture-neutral-publickeytoken-89845dcd8080cc91-or-one-of-its-dependencies-the-system-cannot-find-the-file-specified.aspx#comments</comments><description>&lt;p&gt;Another error on executing SQL Server 2008 Management Studio and just trying to connect to Database Engine. Though after pressing OK on the error mentioned, everything works but Management Node won’t work and you would keep on getting this error again and again.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Apart from this if you are trying to configure Microsoft BizTalk Server 2009 – BizTalk EDI/AS2 Runtime it would also fail with the same error, rest all the BizTalk components would function.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;To resolve this, follow the steps below:&lt;/p&gt;  &lt;p&gt;1. Run Command Prompt and find the location of the DLL using &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;gt; dir Microsoft.SqlServer.Diagnostics.STrace.dll /s&lt;/p&gt;  &lt;p&gt;2. Copy the location with the DLL name.&lt;/p&gt;  &lt;p&gt;3. Run VS 2008 Command Prompt as Administrator.&lt;/p&gt;  &lt;p&gt;4. Execute the following &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; GACUTIL –i “{Location of Microsoft.SqlServer.Diagnostics.STrace.dll} found at step 1”&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;And both the situations would get resolved.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9870657" width="1" height="1"&gt;</description></item><item><title>Fixing BizTalk ENTSSO Failure on Windows 7, Vista or Server 2008 after VS 2010 Beta Installation</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/08/14/fixing-biztalk-entsso-failure-on-windows-7-vista-or-server-2008-after-vs-2010-beta-installation.aspx</link><pubDate>Sat, 15 Aug 2009 01:56:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9870647</guid><dc:creator>mehndi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9870647</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/08/14/fixing-biztalk-entsso-failure-on-windows-7-vista-or-server-2008-after-vs-2010-beta-installation.aspx#comments</comments><description>&lt;p&gt;I've been running BizTalk 2009 on my Windows 7 machine, and after installing VS 2010 beta 2, the Enterprise Single Sign-On Service stopped working. &lt;/p&gt;  &lt;p&gt;It failed with the following error: &lt;/p&gt;  &lt;p&gt;Could not create SSOSQL. To fix the problem, reinstall SSO or try 'regasm SSOSQL.dll' from a Visual Studio command prompt.   &lt;br /&gt;Error Code: 0x80131700 &lt;/p&gt;  &lt;p&gt;The file is located at C:\Program Files\Common Files\Enterprise Single Sign-On\SSOSQL.dll &lt;/p&gt;  &lt;p&gt;Run Visual Studio Commmand prompt as Administrator and run 'regasm &amp;quot;C:\Program Files\Common Files\Enterprise Single Sign-On\SSOSQL.dll&amp;quot;'. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9870647" width="1" height="1"&gt;</description></item><item><title>Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Configuring Message Properties in BizTalk Server for sending data to Microsoft Dynamics AX</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/06/30/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-configuring-message-properties-in-biztalk-server-for-sending-data-to-microsoft-dynamics-ax.aspx</link><pubDate>Tue, 30 Jun 2009 17:35:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9809700</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9809700</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/06/30/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-configuring-message-properties-in-biztalk-server-for-sending-data-to-microsoft-dynamics-ax.aspx#comments</comments><description>&lt;p&gt;The configuration that needs to be performed on BizTalk Server Message properties in order to send data to Microsoft Dynamics AX using BizTalk Dynamics AX Adapter and Application Integration Framework (AIF) is as follows:&lt;/p&gt;  &lt;p&gt;To send data to Microsoft Dynamics AX from BizTalk there are properties that needs to be set on the message, before Microsoft Dynamics AX adapter can push the same.&lt;/p&gt;  &lt;p&gt;The following properties need to be set on the message:&lt;/p&gt;  &lt;p&gt;i. Set the Dynamics Action on the Message as per the Action configured in Microsoft Dynamics AX:&lt;/p&gt;  &lt;p&gt;_message (Dynamics.Action) &lt;/p&gt;  &lt;p&gt;ii. Set the Dynamics Destination Endpoint on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX:&lt;/p&gt;  &lt;p&gt;_message (Dynamics.DestinationEndpoint) &lt;/p&gt;  &lt;p&gt;iii. // Set the Dynamics Source Endpoint on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX&lt;/p&gt;  &lt;p&gt;_message (Dynamics.SourceEndpoint) &lt;/p&gt;  &lt;p&gt;iv. // Set the Dynamics Source Endpoint User on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX&lt;/p&gt;  &lt;p&gt;_message (Dynamics.SourceEndpointUser) &lt;/p&gt;  &lt;p&gt;Here is the sample for the setting the properties for VendTable:    &lt;table border="1" cellspacing="0" cellpadding="0"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="668"&gt;           &lt;p&gt;&lt;b&gt;// Set the Dynamics Action for VendTable&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.Action)=&amp;quot;createListVendTable&amp;quot;;&lt;/b&gt; &lt;b&gt;// this too can be made configurable and taken from SSO&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;// Set the Dynamics Destination Endpoint from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.DestinationEndpoint) =&amp;#160; SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.DestinationEndpoint&amp;quot;);&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;// Set the Dynamics Source Endpoint from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.SourceEndpoint) = SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.SourceEndpoint&amp;quot;);&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;// Set the Dynamics Source Endpoint User from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.SourceEndpointUser) = SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.SourceEndpointUser&amp;quot;);&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9809700" width="1" height="1"&gt;</description></item><item><title>Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Part 4.2 - Error Identification at Dynamics AX</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/06/30/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-4-2-error-identification-at-dynamics-ax.aspx</link><pubDate>Tue, 30 Jun 2009 17:29:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9809692</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9809692</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/06/30/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-4-2-error-identification-at-dynamics-ax.aspx#comments</comments><description>&lt;h1&gt;&lt;strong&gt;&lt;em&gt;Dynamics AX Queue Manager&lt;/em&gt;&lt;/strong&gt; &lt;/h1&gt;  &lt;p&gt;The Queue Manager is internal queue maintained in Microsoft Dynamics AX. This Queue is the bridge between Dynamics AX and external systems. &lt;/p&gt;  &lt;p&gt;All the messages sent from other systems or needs to be sent to external systems from Microsoft Dynamics AX goes through the Queue. The Queue Manager UI lets you monitor the messages sent to / from Dynamics AX. &lt;/p&gt;  &lt;p&gt;The messages that for which exception occur would not be moved out of the Queue Manager and can be tracked using the UI.&lt;/p&gt;  &lt;p&gt;Steps to monitor data under Queue Manager:&lt;/p&gt;  &lt;p&gt;1. Under Basic module, click on “&lt;b&gt;&lt;i&gt;Periodic&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Application Integration Framework&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Queue Manager&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb.png" width="630" height="305" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;h1&gt;&lt;em&gt;Document History&lt;/em&gt;&lt;/h1&gt;  &lt;p&gt;The Document History maintains the history of all the messages sent to / from the Microsoft Dynamics AX. It’s a kind of Log of messages.&lt;/p&gt;  &lt;p&gt;Steps to view data under Document History:&lt;/p&gt;  &lt;p&gt;1. Under Basic module, click on “&lt;b&gt;&lt;i&gt;Periodic&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Application Integration Framework&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Document History&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_1.png" width="631" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;h1&gt;&lt;em&gt;Exceptions&lt;/em&gt;&lt;/h1&gt;  &lt;p&gt;The exception view provides the details of Exceptions that occurred while processing messages received by Microsoft Dynamics AX. This view only provides the details of exceptions raised by Microsoft Dynamics AX.&lt;/p&gt;  &lt;p&gt;1. Under Basic module, click on “&lt;b&gt;&lt;i&gt;Periodic&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Application Integration Framework&lt;/i&gt;&lt;/b&gt;” -&amp;gt; “&lt;b&gt;&lt;i&gt;Exceptions&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_2.png" width="631" height="301" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;2. To view the details of the Exception, right click and select Record Info, then select Show All Fields. This would display the details of the Exception as below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_8.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_3.png" width="637" height="301" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;h1&gt;&lt;em&gt;Repost Messages &lt;/em&gt;&lt;/h1&gt;  &lt;p&gt;Microsoft Dynamics AX would be sending data to Microsoft BizTalk Server using Application Integration Framework (AIF). In case the any exception occurs while transmitting the data through AIF, the exception gets logged in the exception list as mentioned above. &lt;/p&gt;  &lt;p&gt;Microsoft Dynamics AX would be configured to auto send the new / updated data to BizTalk Server. This would be done by configuring and executing Batch in Dynamics AX. For details related to this contact the Full Scope Team.&lt;/p&gt;  &lt;p&gt;In case of errors, the administrators can repost the data using the Microsoft Dynamics AX UI. The batch still needs to run which actually post the data into the Dynamics AX Queue from where the BizTalk Adapter would pick the data and send the same to the Message Box.&lt;/p&gt;  &lt;p&gt;The steps below detail the how to post an Invoice data manually, this posting of Invoices can be done in case there has been an exception in the batch process which posting invoices:&lt;/p&gt;  &lt;p&gt;1. Click on the “&lt;b&gt;Accounts Payable&lt;/b&gt;” module in Microsoft Dynamics AX&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_10.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_4.png" width="638" height="482" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;2. Click on “&lt;b&gt;Purchase Orders&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_12.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_5.png" width="638" height="404" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;3. Click on “&lt;b&gt;Posting&lt;/b&gt;” -&amp;gt; “&lt;b&gt;Invoice&lt;/b&gt;” and press “&lt;b&gt;OK&lt;/b&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_14.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/Microso.2ErrorIdentificationatDynamicsAX_118A4/image_thumb_6.png" width="639" height="347" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9809692" width="1" height="1"&gt;</description></item><item><title>Windows Communication Foundation (WCF) - Transport, Message Security and Mutual Authentication using Certificates</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/05/06/windows-communication-foundation-transport-message-security-and-mutual-authentication.aspx</link><pubDate>Wed, 06 May 2009 17:47:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9591351</guid><dc:creator>mehndi</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9591351</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/05/06/windows-communication-foundation-transport-message-security-and-mutual-authentication.aspx#comments</comments><description>&lt;p&gt;At a high level the steps required to use self signed certificates for Transport &amp;amp; Message Security for securing the messages sent between a client and service, and also how to use certificates to perform Mutual Authentication between client and service layer are as follow: &lt;/p&gt;  &lt;p&gt;1. Create Self signed certificates for Client and Server.&lt;/p&gt;  &lt;p&gt;2. Export Client Certificate for Installation on Client machine.&lt;/p&gt;  &lt;p&gt;3. Export Server Certificate for Installation on Server machine.&lt;/p&gt;  &lt;p&gt;4. Install the Client Certificate on the Client machines.&lt;/p&gt;  &lt;p&gt;5. Add the Client Certificate to the Trusted Root Certification Authorities on the client machines.&lt;/p&gt;  &lt;p&gt;6. Install the Server Certificate on the Server machine.&lt;/p&gt;  &lt;p&gt;7. Add the Server Certificate to the Trusted Root Certification Authorities on the Server machine.&lt;/p&gt;  &lt;p&gt;8. Export the Server’s Public key of the Server Certificate.&lt;/p&gt;  &lt;p&gt;9. Establish Trust for the Server’s Public key on the Client Machine.&lt;/p&gt;  &lt;p&gt;10. Export the Client’s Public key of the Client Certificate.&lt;/p&gt;  &lt;p&gt;11. Establish Trust for the Client’s Public key on the Server Machine.&lt;/p&gt;  &lt;p&gt;12. Enable Transport Layer security on the Web Site in Microsoft Internet Information Server (IIS).&lt;/p&gt;  &lt;p&gt;13. Service Layer configuration for enabling the certificates for Mutual Authentication, Transport &amp;amp; Message level security.&lt;/p&gt;  &lt;p&gt;14. Client side configuration for enabling the certificates for Mutual Authentication, Transport &amp;amp; Message level security.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Detailed procedure to be followed for configuring certificate based Mutual Authentication, Transport and Message Security between Client and WCF based services:&lt;/h4&gt;  &lt;h5&gt;1. Create Self signed certificates for Client and Server: &lt;/h5&gt;  &lt;p&gt;To establish the identity of the Server and Clients, we require 2 certificates. First certificate will represent the identity of the Server, where as the second certificate will be used to represent all the clients that can connect to the Server (Once the Mutual Authentication is successful). &lt;/p&gt;  &lt;p&gt;There are different utilities available for generating Self Signed Certificates viz.:&lt;/p&gt;  &lt;p&gt;a. MakeCert utility &lt;/p&gt;  &lt;p&gt;(Refer &lt;a href="http://msdn.microsoft.com/en-us/library/bfsktky3(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/bfsktky3(VS.80).aspx&lt;/a&gt; for more details)&lt;/p&gt;  &lt;p&gt;b. Use Microsoft Internet Information Server (Refer the steps below)&lt;/p&gt;  &lt;p&gt;c. Use Certificate Server&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The following steps are required to be followed in order to create Self Signed certificates using Microsoft Internet Information Server (IIS):&lt;/p&gt;  &lt;p&gt;a. Run Microsoft Internet Information Server &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb.png" width="531" height="401" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;b. Click on the Server Name (e.g. ASHISH-ME) as shown in the above figure.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_1.png" width="534" height="403" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;c. Click on Server Certificates&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_2.png" width="531" height="401" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. Click on “Create Self-Signed Certificate”, which will open a Certificate Generation Wizard. Provide a Friendly Name for the Certificate and click “OK”, as shown below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_3.png" width="531" height="407" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;e. The new certificate would get created and added to the list of Server Certificates, as shown below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_4.png" width="531" height="401" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;f. Repeat steps (d) and (e) to create a certificate that would be used by clients to prove their identity to the server. As shown in the figure below a new certificate with Friendly Name as “ClientCertificate” is added to the list of available certificates.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_5.png" width="507" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;2. Export Client Certificate for Installation on Client machine:&lt;/h5&gt;  &lt;p&gt;The Client Certificate needs to be exported with the Private Key and installed on the Client Machine from which the Services would be called. To achieve the same the following steps are required to be followed:&lt;/p&gt;  &lt;p&gt;a. Select the Client Certificate, right Click and select “Export”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_6.png" width="525" height="348" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;b. In the Export Dialog, enter the path where the Certificate would get generated; make sure that the .pfx extension is selected as even Private Key of the certificate needs to be exported. Enter the Password to protect the certificate as it contains the Private Key.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_7.png" width="309" height="243" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;3. Export Server Certificate for Installation on Server machine: &lt;/h5&gt;  &lt;p&gt;&amp;#160;&amp;#160; Follow the same steps as mentioned for the export of the Client Certificate.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;4. Install the Client Certificate on the Client machines:&lt;/h5&gt;  &lt;p&gt;The Client Certificate needs to be installed and configured on the client machine. The below steps describes the procedure for the same. &lt;/p&gt;  &lt;p&gt;a. Go to Start -&amp;gt; Run and execute MMC.exe.&lt;/p&gt; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_8.png" width="383" height="213" /&gt;&lt;/a&gt;   &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;b. On the MMC select File menu and select Add/Remove Snap In.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_9.png" width="522" height="375" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;c. Select “Certificates” and click “Add” button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_10.png" width="529" height="372" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. Select “Computer Account” on the “Certificates snap-in” dialog box.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_11.png" width="529" height="390" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The above selection should be based upon the usage of the certificate and for who the certificate is being installed is intended for. Follow the guidance below for selecting the certificate store:&lt;/p&gt;  &lt;p&gt;1. Select “My user account” if the certificate needs to be associated with the logged in user. If chosen so, only the logged in user would be able to get access to the installed certificate. This certificate would not be available to any other user who can Log-in to the same computer.&lt;/p&gt;  &lt;p&gt;2. Select “Service Account” if the certificate needs to be associated with the Service Account. The applications running under the Service Account would only be able to access the certificate.&lt;/p&gt;  &lt;p&gt;3. Select “Computer Account” if the certificate needs to be associated with the Computer. The certificates installed here can be accessed by any user / Service Account who can Login to the Computer.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;e. Select “Local Computer” in the “Select Computer” dialog.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_12.png" width="525" height="388" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;f. Press “OK” on the “Add or Remove Snap-in” dialog.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_13.png" width="525" height="369" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;g. On the MMC console, select the &lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Personal &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_14.png" width="525" height="375" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;h. Right Click on Certificates, select “&lt;b&gt;&lt;i&gt;All Tasks &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Import&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_15.png" width="528" height="376" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;i. Follow the “&lt;b&gt;Import Certificate Wizard&lt;/b&gt;” and select the path where ClientCertificate.pfx was exported or is copied.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_16.png" width="528" height="340" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;j. Since the certificate was “Password Protected”, the wizard would prompt you to enter the password. &lt;/p&gt;  &lt;p&gt;Note: Select “Mark this key as exportable” only if the private key needs to be marked as exportable.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_17.png" width="537" height="390" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;k. Select “Place all the certificates in the following store”, and make sure that the certificate store is selected as “Personal”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_18.png" width="528" height="431" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;l. Complete the “&lt;b&gt;&lt;i&gt;Certificate Import Wizard&lt;/i&gt;&lt;/b&gt;” the certificate would appear under the “Certificates” in Personal store.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;5. Add the Client Certificate to the Trusted Root Certification Authorities on the client machines:&lt;/h5&gt;  &lt;p&gt;As this being a Self Signed Certificate the Certificate Issuer needs to be added to the list of Trusted Root Certification Authorities.&lt;/p&gt;  &lt;p&gt;a. On the MMC console, select the &lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Trusted Root Certification Authorities &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;b. Right Click on Certificates, select “&lt;b&gt;&lt;i&gt;All Tasks &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Import&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_19.png" width="530" height="380" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;c. Follow the “&lt;b&gt;Import Certificate Wizard&lt;/b&gt;” and select the path where ClientCertificate.pfx was exported or is copied.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_20.png" width="530" height="366" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. Since the certificate was “Password Protected”, the wizard would prompt you to enter the password. &lt;/p&gt;  &lt;p&gt;Note: Select “Mark this key as exportable” only if the private key needs to be marked as exportable.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_21.png" width="537" height="390" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;e. Select “Place all the certificates in the following store”, and make sure that the certificate store is selected as “Trusted Root Certification Authorities”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_22.png" width="531" height="472" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;f. Complete the “&lt;b&gt;&lt;i&gt;Certificate Import Wizard&lt;/i&gt;&lt;/b&gt;” the certificate would appear under the “Certificates” in Trusted Root Certification Authorities store.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;6. Install the Server Certificate on the Server machine:&lt;/h5&gt;  &lt;p&gt;Follow the procedure mentioned in step 4 on the Server Machine to install the certificate on the Server. The “ServerCertificate.pfx” needs to be selected.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;7. Add the Server Certificate to the Trusted Root Certification Authorities on the Server machine:&lt;/h5&gt;  &lt;p&gt;Follow the procedure mentioned in step 5 on the Server Machine to add the Server Certificate to Trusted Root Certification Authorities. The “ServerCertificate.pfx” needs to be selected.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;8. Export the Server’s Public key of the ServerCertificate using the MMC.exe on the Server machine:&lt;/h5&gt;  &lt;p&gt;The Server’s Public Key needs to be exported, for establishing a Trust for the Server’s certificate on the Client’s machines.&lt;/p&gt;  &lt;p&gt;a. Run MMC.exe on the Server’s machine and add Certificates snap-in for the Computer Account. (The steps for the same have already been described under step 4 (a - f)).&lt;/p&gt;  &lt;p&gt;b. Select the “ServerCertificate” under “&lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Personal &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;c. Right click and select “&lt;b&gt;&lt;i&gt;Export&lt;/i&gt;&lt;/b&gt;” &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_23.png" width="536" height="385" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. On the Certificate Export Wizard select “&lt;b&gt;&lt;i&gt;No, do not export the private key&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_24.png" width="530" height="389" /&gt;&lt;/a&gt;   &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;e. On the Certificate Export Wizard select the file format for exported certificate as “&lt;b&gt;&lt;i&gt;Base-64 encoded X.509 (.CER)&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_52.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_25.png" width="528" height="472" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;f. Provide the path where the file with Certificate Public key would be generated.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_54.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_26.png" width="521" height="472" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;9. Establish Trust for the Server’s Public key on the Client Machine:&lt;/h5&gt;  &lt;p&gt;The Client needs to Trust the Server’s certificate based upon the ServerCertificate public key, the below step details the procedure for the same:&lt;/p&gt;  &lt;p&gt;a. Execute the MMC.exe on the Client Machine and add Certificates snap-in for the Computer Account. (The steps for the same have already been described under step 4 (a - f)).&lt;/p&gt;  &lt;p&gt;b. Select “&lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Trusted People &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;c. Right click and select “&lt;b&gt;&lt;i&gt;Import&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_56.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_27.png" width="526" height="376" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. In the Certificate Import Wizard provide the path of the Server’s certificate (ServerCertificate.cer) that was exported as part of the step 8 and only has the Public Key. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_58.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_28.png" width="519" height="454" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;e. Select “Place all the certificates in the following store”, and make sure that the certificate store is selected as “&lt;b&gt;&lt;i&gt;Trusted People&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_60.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_29.png" width="531" height="472" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;f. Complete the “&lt;b&gt;&lt;i&gt;Certificate Import Wizard&lt;/i&gt;&lt;/b&gt;” the certificate would appear under the “Certificates” in Trusted People store.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;10. Export the Client’s Public key of the ClientCertificate using the MMC.exe on any of the Client machine:&lt;/h5&gt;  &lt;p&gt;Follow the procedure described in step 8 on any one of the Client Machine to for establishing a Trust for the Client’s certificate on the Server machine. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;11. Establish Trust for the Client’s Public key on the Server Machine:&lt;/h5&gt;  &lt;p&gt;Follow the procedure described in step 9 on the Server Machine for importing the Client’s Public Key under Trusted People Store of the Server machine. The “ClientCertificate.cer” generated as part of step 10 needs to be selected.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;12. Enable Transport Layer security on the WebSite in Microsoft Internet Information Server (IIS)&lt;/h5&gt;  &lt;p&gt;To enable and use the certificate created for Transport Layer security the following steps needs to be performed on IIS:&lt;/p&gt;  &lt;p&gt;a. Start Microsoft Internet Information Server (IIS).&lt;/p&gt;  &lt;p&gt;b. Select the Web Site on which the Transport Layer Security needs to be enabled.&lt;/p&gt;  &lt;p&gt;c. Right Click and select “Edit Bindings”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_62.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_30.png" width="531" height="400" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;d. Under Site Bindings dialog box select the protocol type “&lt;b&gt;&lt;i&gt;https&lt;/i&gt;&lt;/b&gt;” and press Edit&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_64.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_31.png" width="501" height="212" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;e. Under Edit Site Binding, for “&lt;b&gt;&lt;i&gt;SSL Certificate&lt;/i&gt;&lt;/b&gt;” select the certificate created for Server “serverCertificate” as shown in the figure below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_66.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_32.png" width="491" height="269" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h5&gt;13. Service Layer configuration for enabling the certificates for Mutual Authentication, Transport &amp;amp; Message level security.&lt;/h5&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Assumptions: &lt;/p&gt;  &lt;p&gt;a. The wsHttpBinding is being used for the exposing the endpoint to enable the client to connect and call the WCF Services. &lt;/p&gt;  &lt;p&gt;b. Security mode to be used “&lt;b&gt;&lt;i&gt;TransportWithMessageCredential&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The following configuration needs to be performed on WCF Service config file:&lt;/p&gt;  &lt;p&gt;1. Customize the Binding (in this example wsHttpBinding)&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Set the Security Mode for wsHttpBinding as “&lt;i&gt;TransportWithMessageCredential&lt;/i&gt;” &lt;/li&gt; &lt;/ul&gt;  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 880px; padding-right: 5px; height: 177px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttp&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;clientCredentialType&lt;/i&gt;&lt;/b&gt; as “&lt;b&gt;&lt;i&gt;Certificate”&lt;/i&gt;&lt;/b&gt; for both Transport and Message level security &lt;/li&gt;
&lt;/ul&gt;

&lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 879px; padding-right: 5px; height: 214px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttp&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;transport&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;message&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;negotiateServiceCredential&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;

&lt;p&gt;2. Customize the Service Behavior&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;serviceCertificate&lt;/i&gt;&lt;/b&gt; details under &lt;b&gt;&lt;i&gt;serviceCredentials&lt;/i&gt;&lt;/b&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;i. Set storeName to “&lt;b&gt;&lt;i&gt;My&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;ii. Set storeLocation to “&lt;b&gt;&lt;i&gt;LocalMachine&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;iii. Set x509FindType to “&lt;b&gt;&lt;i&gt;FindByThumbprint&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;iv. Set findValue to the value of Thumbprint for ServerCertificate installed. Steps to find the Thumbprint for Server Certificate are as follows:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 1. Run MMC.exe on the Server and add Certificates snap in to manage certificates under “Computer Account” (refer steps 4a to 4f) for details on adding the Certificates snap in)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 2. Traverse to “&lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Personal &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates”&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 3. Select the Certificate with Friendly name as “ServerCertificate”, as shown in the figure below:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_68.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_33.png" width="581" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 4. Right Click on the selected certificate and select Open&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 5. Traverse to the “&lt;b&gt;&lt;i&gt;Details&lt;/i&gt;&lt;/b&gt;” Tab on the Certificate Details dialog.&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_70.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_34.png" width="415" height="265" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 6. Select and Copy the value of the Field “&lt;b&gt;&lt;i&gt;Thumbprint&lt;/i&gt;&lt;/b&gt;” as shown in the figure below:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_72.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_35.png" width="415" height="312" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 7. Set the value of the &lt;b&gt;&lt;i&gt;findValue&lt;/i&gt;&lt;/b&gt; in the configuration file for &lt;b&gt;&lt;i&gt;serviceCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; serviceCertificate&lt;/i&gt;&lt;/b&gt; as the selected Thumbprint value. &lt;/p&gt;

  &lt;p&gt;v. The below is the extract from the configuration file with the &lt;b&gt;&lt;i&gt;serviceCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; serviceCertificate&lt;/i&gt;&lt;/b&gt; values set.&lt;/p&gt;

  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 882px; padding-right: 5px; height: 196px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;serviceBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt; =&lt;span style="color: #0000ff"&gt;&amp;quot;92 b0 e3 24 42 38 bb a1 e0 29 77 20 3e 29 36 15 63 33 dd 64&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt; 	 &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;clienteCertificate &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; certificate&lt;/i&gt;&lt;/b&gt; details under &lt;b&gt;&lt;i&gt;serviceCredentials&lt;/i&gt;&lt;/b&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;i. Set storeName to “&lt;b&gt;&lt;i&gt;TrustedPeople&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;ii. Set storeLocation to “&lt;b&gt;&lt;i&gt;LocalMachine&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;iii. Set x509FindType to “&lt;b&gt;&lt;i&gt;FindByThumbprint&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;iv. Set findValue to the value of Thumbprint for ClientCertificate trusted. Steps to find the Thumbprint for Server Certificate are as follows:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 1. Run MMC.exe on the Server and add Certificates snap in to manage certificates under “Computer Account” (refer steps 4a to 4f) for details on adding the Certificates snap in)&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2. Traverse to “&lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Trusted People &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates”&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 3. Select the Certificate with Issued By as the name of the Server where Client Certificate was generated , as shown in the figure below:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_74.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_36.png" width="585" height="239" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 4. Right Click on the selected certificate and select Open&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 5. Traverse to the “&lt;b&gt;&lt;i&gt;Details&lt;/i&gt;&lt;/b&gt;” Tab on the Certificate Details dialog.&lt;/p&gt;

  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_76.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_37.png" width="415" height="271" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 6. Select and Copy the value of the Field “&lt;b&gt;&lt;i&gt;Thumbprint&lt;/i&gt;&lt;/b&gt;” as shown in the figure below:&lt;/p&gt;

  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_78.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_38.png" width="419" height="312" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 7. Set the value of the &lt;b&gt;&lt;i&gt;findValue&lt;/i&gt;&lt;/b&gt; in the configuration file for &lt;b&gt;&lt;i&gt;serviceCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; clientCertificate -&amp;gt; certificate&lt;/i&gt;&lt;/b&gt; as the selected Thumbprint value.&lt;/p&gt;

  &lt;p&gt;v. Set the &lt;b&gt;&lt;i&gt;certificateValidationMode&lt;/i&gt;&lt;/b&gt; as&lt;b&gt;&lt;i&gt; PeerTrust&lt;/i&gt;&lt;/b&gt; for &lt;b&gt;&lt;i&gt;serviceCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; clientCertificate &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; authentication.&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

  &lt;p&gt;vi. The below is the extract from the configuration file with the &lt;b&gt;&lt;i&gt;serviceCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; clientCertificate and authentication &lt;/i&gt;&lt;/b&gt;values set.&lt;/p&gt;

  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 887px; padding-right: 5px; height: 300px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;serviceBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt; =&lt;span style="color: #0000ff"&gt;&amp;quot;92 b0 e3 24 42 38 bb a1 e0 29 77 20 3e 29 36 15 63 33 dd 64&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;certificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;c5 c0 12 2a a8 64 02 21 ca 4b 41 87 68 14 7b a3 6e d3 92 ff&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                        &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TrustedPeople&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;authentication&lt;/span&gt; &lt;span style="color: #ff0000"&gt;certificateValidationMode&lt;/span&gt; =&lt;span style="color: #0000ff"&gt;&amp;quot;PeerTrust&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt; 	 &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;3. Associate the Custom Binding created above with the Service Endpoint and Service Behavior created above with the Service.&lt;/p&gt;

&lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 910px; padding-right: 5px; height: 543px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;HelloIndigo.HelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;behaviorConfiguration&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;serviceBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;HelloIndigo.IHelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;bindingConfiguration&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttp&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	 &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;serviceBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt; =&lt;span style="color: #0000ff"&gt;&amp;quot;92 b0 e3 24 42 38 bb a1 e0 29 77 20 3e 29 36 15 63 33 dd 64&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;certificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;c5 c0 12 2a a8 64 02 21 ca 4b 41 87 68 14 7b a3 6e d3 92 ff&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                        &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TrustedPeople&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;authentication&lt;/span&gt; &lt;span style="color: #ff0000"&gt;certificateValidationMode&lt;/span&gt; =&lt;span style="color: #0000ff"&gt;&amp;quot;PeerTrust&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;	    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt; 	 &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttp&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;transport&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;message&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;negotiateServiceCredential&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h5&gt;14. Client side configuration for enabling the certificates for Mutual Authentication, Transport &amp;amp; Message level security.&lt;/h5&gt;

&lt;p&gt;The following configuration needs to be performed on Client’s config file:&lt;/p&gt;

&lt;p&gt;1. Update Service References on the Client project.&lt;/p&gt;

&lt;p&gt;2. Customize the Binding (in this example wsHttpBinding)&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Set the Security Mode for wsHttpBinding as “&lt;i&gt;TransportWithMessageCredential&lt;/i&gt;” &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 872px; padding-right: 5px; height: 330px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WSHttpBinding_IHelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;closeTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;openTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;receiveTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;sendTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;bypassProxyOnLocal&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;transactionFlow&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;hostNameComparisonMode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;StrongWildcard&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;maxBufferPoolSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;524288&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxReceivedMessageSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;65536&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;messageEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Text&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;textEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;utf-8&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;useDefaultWebProxy&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;readerQuotas&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxDepth&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;32&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxStringContentLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;8192&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxArrayLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #ff0000"&gt;maxBytesPerRead&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;4096&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxNameTableCharCount&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;reliableSession&lt;/span&gt; &lt;span style="color: #ff0000"&gt;ordered&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;inactivityTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;clientCredentialType&lt;/i&gt;&lt;/b&gt; as “&lt;b&gt;&lt;i&gt;Certificate”&lt;/i&gt;&lt;/b&gt; for both Transport and Message level security&amp;#160; &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 876px; padding-right: 5px; height: 327px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WSHttpBinding_IHelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;closeTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;openTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;receiveTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;sendTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;bypassProxyOnLocal&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;transactionFlow&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;hostNameComparisonMode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;StrongWildcard&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;maxBufferPoolSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;524288&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxReceivedMessageSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;65536&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;messageEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Text&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;textEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;utf-8&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;useDefaultWebProxy&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;readerQuotas&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxDepth&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;32&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxStringContentLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;8192&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxArrayLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #ff0000"&gt;maxBytesPerRead&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;4096&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxNameTableCharCount&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;reliableSession&lt;/span&gt; &lt;span style="color: #ff0000"&gt;ordered&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;inactivityTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;message&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;negotiateServiceCredential&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;		  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;transport&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;3. Customize the Service Behavior&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;clientCertificate&lt;/i&gt;&lt;/b&gt; details under &lt;b&gt;&lt;i&gt;clientCredentials&lt;/i&gt;&lt;/b&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;i. Set storeName to “&lt;b&gt;&lt;i&gt;My&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;ii. Set storeLocation to “&lt;b&gt;&lt;i&gt;LocalMachine&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;iii. Set x509FindType to “&lt;b&gt;&lt;i&gt;FindByThumbprint&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;p&gt;iv. Set findValue to the value of Thumbprint for ClientCertificate installed. Steps to find the Thumbprint for Server Certificate are as follows:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 1. Run MMC.exe on the Server and add Certificates snap in to manage certificates under “Computer Account” (refer steps 4a to 4f) for details on adding the Certificates snap in)&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 2. Traverse to “&lt;b&gt;&lt;i&gt;Certificates (Local Computer) &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Personal &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; Certificates”&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 3. Select the Certificate with Friendly name as “ClientCertificate”, as shown in the figure below:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_80.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_39.png" width="585" height="225" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 4. Right Click on the selected certificate and select Open&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 5. Traverse to the “&lt;b&gt;&lt;i&gt;Details&lt;/i&gt;&lt;/b&gt;” Tab on the Certificate Details dialog.&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_82.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_40.png" width="415" height="271" /&gt;&lt;/a&gt;&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 6. Select and Copy the value of the Field “&lt;b&gt;&lt;i&gt;Thumbprint&lt;/i&gt;&lt;/b&gt;” as shown in the figure below:&lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_84.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WindowsCommunicationFoundationTransportM_FC83/image_thumb_41.png" width="418" height="315" /&gt;&lt;/a&gt; &lt;/p&gt;

  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 7. Set the value of the &lt;b&gt;&lt;i&gt;findValue&lt;/i&gt;&lt;/b&gt; in the configuration file for &lt;b&gt;&lt;i&gt;clientCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; clientCertificate&lt;/i&gt;&lt;/b&gt; as the selected Thumbprint value. &lt;/p&gt;

  &lt;p&gt;v. The below is the extract from the configuration file with the &lt;b&gt;&lt;i&gt;clientCredentials &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; clientCertificate&lt;/i&gt;&lt;/b&gt; values set.&lt;/p&gt;

  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 887px; padding-right: 5px; height: 249px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpEndpointBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;c5 c0 12 2a a8 64 02 21 ca 4b 41 87 68 14 7b a3 6e d3 92 ff&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
  &lt;li&gt;Set the &lt;b&gt;&lt;i&gt;serviceCertificate &lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;-&amp;gt; authentication&lt;/i&gt;&lt;/b&gt; details under &lt;b&gt;&lt;i&gt;clientCredentials&lt;/i&gt;&lt;/b&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;i. Set certificateValidationMode to “&lt;b&gt;&lt;i&gt;PeerTrust&lt;/i&gt;&lt;/b&gt;”&lt;/p&gt;

  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 892px; padding-right: 5px; height: 271px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpEndpointBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;c5 c0 12 2a a8 64 02 21 ca 4b 41 87 68 14 7b a3 6e d3 92 ff&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                     &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;authentication&lt;/span&gt; &lt;span style="color: #ff0000"&gt;certificateValidationMode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;PeerTrust&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;4. Associate the Custom Binding created above with the Service Endpoint and Service Behavior created above with the Service.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 939px; padding-right: 5px; height: 643px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;client&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;https://serverUrl&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpBinding&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #ff0000"&gt;bindingConfiguration&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WSHttpBinding_IHelloIndigoService&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WinClient.localhost.IHelloIndigoService&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;             &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WSHttpBinding_IHelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;behaviorConfiguration&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpEndpointBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;               
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;client&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;WSHttpBinding_IHelloIndigoService&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;closeTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;openTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;receiveTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;sendTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:01:00&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;bypassProxyOnLocal&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;transactionFlow&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;hostNameComparisonMode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;StrongWildcard&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;maxBufferPoolSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;524288&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxReceivedMessageSize&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;65536&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                &lt;span style="color: #ff0000"&gt;messageEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Text&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;textEncoding&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;utf-8&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;useDefaultWebProxy&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;readerQuotas&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxDepth&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;32&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxStringContentLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;8192&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxArrayLength&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #ff0000"&gt;maxBytesPerRead&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;4096&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxNameTableCharCount&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;16384&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;reliableSession&lt;/span&gt; &lt;span style="color: #ff0000"&gt;ordered&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;inactivityTimeout&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;00:10:00&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;TransportWithMessageCredential&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;message&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;negotiateServiceCredential&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;		  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;transport&lt;/span&gt; &lt;span style="color: #ff0000"&gt;clientCredentialType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;Certificate&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;               &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;security&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;wsHttpBinding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;bindings&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;           &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;wsHttpEndpointBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;              &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCertificate&lt;/span&gt; &lt;span style="color: #ff0000"&gt;findValue&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;c5 c0 12 2a a8 64 02 21 ca 4b 41 87 68 14 7b a3 6e d3 92 ff&amp;quot;&lt;/span&gt; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                   &lt;span style="color: #ff0000"&gt;x509FindType&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;FindByThumbprint&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeLocation&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;LocalMachine&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;storeName&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;My&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                 &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;authentication&lt;/span&gt; &lt;span style="color: #ff0000"&gt;certificateValidationMode&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;&amp;quot;PeerTrust&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;                 &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceCertificate&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;              &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;clientCredentials&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;           &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;endpointBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;system.serviceModel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: monospace; font-size: 12px"&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9591351" width="1" height="1"&gt;</description></item><item><title>BizTalk and Dynamics CRM Integration</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/04/biztalk-and-dynamics-crm-integration.aspx</link><pubDate>Sat, 04 Apr 2009 10:58:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9531283</guid><dc:creator>mehndi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9531283</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/04/biztalk-and-dynamics-crm-integration.aspx#comments</comments><description>&lt;p&gt;Here are a great series of articles on integrating BizTalk Server with Dynamics CRM:&lt;/p&gt;  &lt;p&gt;1. &lt;a title="Using Microsoft BizTalk Dynamics CRM Adapter – Part 1" href="http://blogs.msdn.com/brajens/archive/2007/05/27/using-microsoft-biztalk-dynamics-crm-adapter-part-1.aspx" target="_blank"&gt;Using Microsoft BizTalk Dynamics CRM Adapter – Part 1&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. &lt;a title="Using Microsoft BizTalk Dynamics CRM Adapter – Part 2" href="http://blogs.msdn.com/brajens/archive/2007/05/30/using-microsoft-biztalk-dynamics-crm-adapter-part-2.aspx"&gt;Using Microsoft BizTalk Dynamics CRM Adapter – Part 2&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. &lt;a title="Using Microsoft BizTalk Dynamics CRM Adapter – Part 3" href="http://blogs.msdn.com/brajens/archive/2007/06/29/using-microsoft-biztalk-dynamics-crm-adapter-part-3.aspx"&gt;Using Microsoft BizTalk Dynamics CRM Adapter – Part 3&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. &lt;a title="Using Microsoft BizTalk Dynamics CRM Adapter – Part 4" href="http://blogs.msdn.com/brajens/archive/2007/06/30/using-microsoft-biztalk-dynamics-crm-adapter-part-4.aspx"&gt;Using Microsoft BizTalk Dynamics CRM Adapter – Part 4&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5. &lt;a title="Using Microsoft BizTalk Dynamics CRM Adapter – Part 5" href="http://blogs.msdn.com/brajens/archive/2007/07/30/using-microsoft-biztalk-dynamics-crm-adapter-part-5.aspx"&gt;Using Microsoft BizTalk Dynamics CRM Adapter – Part 5&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;6. &lt;a title="Receive or Pull Data from CRM using BizTalk" href="http://blogs.msdn.com/brajens/archive/2008/03/03/receive-or-pull-data-from-crm-using-biztalk.aspx"&gt;Receive or Pull Data from CRM using BizTalk&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Thanks BJ!!!!!!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9531283" width="1" height="1"&gt;</description></item><item><title>WCF Champ Web Campaign</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/04/wcf-champ-web-campaign.aspx</link><pubDate>Sat, 04 Apr 2009 10:30:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9531274</guid><dc:creator>mehndi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9531274</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/04/wcf-champ-web-campaign.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://www.microsoft.com/net/wcf/champ" target="_blank"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/WCFChampWebCampaign_B6CB/clip_image001_3.jpg" width="739" height="80" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The schedule:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1. April 2&lt;sup&gt;nd&lt;/sup&gt;, 2009 9:00 PM EST - &lt;a href="http://www.youtube.com/watch?v=ZXQtZsC0JZ4"&gt;http://www.youtube.com/watch?v=ZXQtZsC0JZ4&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. April 9&lt;sup&gt;th&lt;/sup&gt;, 6:00 A.M. PST, 9:00 AM EST&lt;/p&gt;  &lt;p&gt;3. April 16&lt;sup&gt;th&lt;/sup&gt;, 6:00 A.M. PST, 9”00 AM EST&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.microsoft.com/net/wcf/champ" target="_blank"&gt;The WCF Champ Website&lt;/a&gt;: Gateway to resources that jumpstart developers’ learning curve regarding WCF. &lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9531274" width="1" height="1"&gt;</description></item><item><title>Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Part 4.1 - Error Handling with BizTalk Administration</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-4-1-error-handling-with-biztalk-administration.aspx</link><pubDate>Wed, 01 Apr 2009 18:33:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9527022</guid><dc:creator>mehndi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9527022</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-4-1-error-handling-with-biztalk-administration.aspx#comments</comments><description>&lt;p&gt;&lt;a name="_Toc210207375"&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="3"&gt;Categories of Exceptions related to BizTalk / Dynamics AX Interfaces&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;1. When error Event Source: “&lt;b&gt;Microsoft Dynamics AX adapter&lt;/b&gt;”&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;a. Refer the Microsoft Dynamics AX Server Event Log for more details&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;b. Refer the Microsoft Dynamics AX Exceptions&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;2. When error Event Source: “&lt;b&gt;Microsoft BizTalk Server&lt;/b&gt;” / “&lt;b&gt;EAI.BizTalk&lt;/b&gt;” &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;a. This category of error is related to some error in Transformation, Orchestration or Transport.&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;b. Refer the BizTalk Administration Console for more details.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a name="_Toc210207376"&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="3"&gt;Microsoft BizTalk Server&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a name="_Toc210207377"&gt;(Event Source: “&lt;/a&gt;Microsoft BizTalk Server” / “EAI.BizTalk”)&lt;/p&gt;  &lt;p&gt;This section provides the information on the exceptions that gets logged by BizTalk in case of erroneous conditions for Microsoft Dynamics AX interfaces. &lt;/p&gt;  &lt;p&gt;All the Exceptions that occur in Microsoft BizTalk Server are logged in Event Log of the BizTalk Server machine. These exceptions are logged on the Machine based upon the Host Instance configuration. &lt;/p&gt;  &lt;p&gt;Apart from the Error / Detailed exception the Message / Orchestration also gets “&lt;b&gt;&lt;i&gt;SUSPENDED&lt;/i&gt;”&lt;/b&gt; as either Resume-able or Non-Resume able state based upon the category and nature of the Exception.&lt;/p&gt;  &lt;p&gt;The following sections detail the steps to be followed in case the error Event Source is “&lt;b&gt;Microsoft BizTalk Server&lt;/b&gt;” / “&lt;b&gt;EAI.BizTalk&lt;/b&gt;”.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;u&gt;1. Error Handling for data being sent to Microsoft Dynamics AX from BizTalk Server&lt;/u&gt;&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Error occurs in the Interface which sends data to Microsoft Dynamics AX. &lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;a. &lt;b&gt;&lt;u&gt;Case I&lt;/u&gt;&lt;/b&gt;: If the error occurs while transforming the data received from the Source Systems into Canonical Message.&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;i. In this case the message would get suspended.&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;ii. The suspended messages can be retrieved using Microsoft BizTalk Server Administration Console.&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb.png" width="606" height="453" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;iii. If the message needs to be replayed without any correction and is resume-able, then right-click click on the Suspended Message and click on “&lt;b&gt;Resume Instance&lt;/b&gt;”.&lt;/p&gt;    &lt;p&gt;iv. If the message needs to be corrected, then the data needs to be altered in Source System and reposted to BizTalk.&lt;/p&gt;    &lt;p&gt;b. &lt;b&gt;&lt;u&gt;Case 2&lt;/u&gt;&lt;/b&gt;: If the error occurs after the data has been transformed into the Canonical &lt;/p&gt;    &lt;p&gt;i. The Interface would output / dump the Canonical Message to a configured location as per the Send Error Port. &lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_1.png" width="598" height="439" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;ii. After correcting the issue in the Canonical Message the file can be replayed using the configured Error Replay folder (check under “&lt;b&gt;EnterpriseShared&lt;/b&gt;” BizTalk Application)&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_2.png" width="593" height="475" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;iii. Rename the Canonical as “&lt;b&gt;ForInterfacePopulateVendorInfoToDynamicsAX.xml&lt;/b&gt;”&amp;#160; and drop the File at above configured location (“&lt;b&gt;C:\Project\ErrorReplay&lt;/b&gt;” folder). Microsoft BizTalk Server would route the corrected canonical to the right Interface and perform the required transformations.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;2. Error Handling for data being received from Microsoft Dynamics AX into BizTalk Server&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Error occurs in the Interface which receives data from Microsoft Dynamics AX. &lt;/p&gt;    &lt;p&gt;a. &lt;b&gt;&lt;u&gt;Case I&lt;/u&gt;&lt;/b&gt;: If the error occurs while transforming the data received from the Microsoft Dynamics AX.&lt;/p&gt;    &lt;p&gt;i. In this case the message would get suspended.&lt;/p&gt;    &lt;p&gt;ii. The suspended messages can be retrieved using Microsoft BizTalk Server Administration Console.&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_8.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_3.png" width="606" height="453" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;iii. If the message needs to be replayed without any correction and is resume-able, then right-click click on the Suspended Message, and click “&lt;b&gt;Resume Instance&lt;/b&gt;”.&lt;/p&gt;    &lt;p&gt;iv. If the message needs to be corrected, then the data needs to be altered in Microsoft Dynamics AX and reposted (refer &lt;b&gt;Section - Repost Messages&lt;/b&gt;)&lt;/p&gt;    &lt;p&gt;b. &lt;b&gt;&lt;u&gt;Case 2&lt;/u&gt;&lt;/b&gt;: If the error occurs after the data received from the Microsoft Dynamics AX has been transformed into the Canonical (for Interface with Orchestration).&lt;/p&gt;    &lt;p&gt;i. The Interface would output / dump the Canonical Message to a configured location as per the Send Error Port. &lt;/p&gt;    &lt;p&gt;For example an interface which sends Invoice Information to Oracle. In case of BizTalk Error the Canonical XML or the message is outputted to “&lt;b&gt;C:\Project\Error\IPublishInvoiceOnError\%MessageID%.xml&lt;/b&gt;”&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_12.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_5.png" width="602" height="482" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;ii. After correcting the issue in the Canonical Message the file can be replayed using the configured Error Replay folder (check under “&lt;b&gt;EnterpriseShared&lt;/b&gt;” BizTalk Application)&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_14.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_6.png" width="593" height="475" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;iii. Rename the Canonical as “&lt;b&gt;ForInterfacePublishInvoice.xml&lt;/b&gt;”&amp;#160; and drop the File at above configured location (“&lt;b&gt;C:\Project\ErrorReplay&lt;/b&gt;” folder). Microsoft BizTalk Server would route the corrected canonical to the right Interface and perform the required transformations.&lt;/p&gt;    &lt;p&gt;b. &lt;b&gt;&lt;u&gt;Case 3&lt;/u&gt;&lt;/b&gt;: If the error occurs after the data received from the Microsoft Dynamics AX has been transformed into the Canonical (for Interface without Orchestration).&lt;/p&gt;    &lt;p&gt;i. In this case the message would get suspended.&lt;/p&gt;    &lt;p&gt;ii. The suspended messages can be retrieved using Microsoft BizTalk Server Administration Console.&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_16.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_7.png" width="606" height="453" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;iii. If the message needs to be replayed without any correction and is resume-able, then right-click click on the Suspended Message, and click on “&lt;b&gt;Resume Instance&lt;/b&gt;”.&lt;/p&gt;    &lt;p&gt;iv. If the message needs to be corrected then double click on any Suspended Message&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_18.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_8.png" width="395" height="401" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;v. Go to “&lt;b&gt;Messages&lt;/b&gt;” tab. &lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_20.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_9.png" width="395" height="365" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;vi. Double Click on the Message. &lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_22.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_124F0/image_thumb_10.png" width="575" height="401" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;vii. Click on Body and copy the Message and store it on the Hard disk.&lt;/p&gt;    &lt;p&gt;viii. Correct the message and rename the file as per the Interface (refer the Design Document for the corresponding Interface for the same)&lt;/p&gt;    &lt;p&gt;ix. Drop the file at above configured location (“&lt;b&gt;C:\Project\ErrorReplay&lt;/b&gt;” folder). Microsoft BizTalk Server would route the corrected canonical to the right Interface and perform the required transformations.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;This explains what all can be done on BizTalk side in case there are issues related to the Dynamics AX port connection. In my next port I will describe how we can do the error handling on Dynamics AX – the message was successfully sent to Dynamics AX queue but failed to perform the required action. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9527022" width="1" height="1"&gt;</description></item><item><title>Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Part 3 - Receive Data from Dynamics AX in BizTalk</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-3-receive-data-from-dynamics-ax-in-biztalk.aspx</link><pubDate>Wed, 01 Apr 2009 18:02:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9526914</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9526914</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-3-receive-data-from-dynamics-ax-in-biztalk.aspx#comments</comments><description>&lt;p&gt;Microsoft Dynamics AX adapter pulls the data available in the Dynamics AX Queue and publishes it into the Message Box. In one BizTalk Group there can be only one Receive Location that points to a combination of AOS Server Name and AOS Port Number. This is valid for the Receive Locations across BizTalk Applications.&lt;/p&gt;  &lt;p&gt;The following configuration needs to be performed in BizTalk Receive Port / Receive Location which would receive the data from Microsoft Dynamics AX using the Application Integration Framework (AIF) and publish the same into BizTalk Message Box:&lt;/p&gt;  &lt;p&gt;1. A Static One Way port needs to be created under Receive Port in BizTalk Application&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_thumb.png" width="611" height="489" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;2. The following provides the configuration for Receive Location – &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;a. Select the Transport Type as “&lt;b&gt;Microsoft Dynamics AX&lt;/b&gt;”, also choose the Receive handler and Receive pipeline as per the requirements of the Interface.&lt;/p&gt;    &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_thumb_1.png" width="599" height="480" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;b. Press “&lt;b&gt;Configure&lt;/b&gt;” and set the following properties:&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;i. Set “&lt;b&gt;Authentication Type&lt;/b&gt;” = “&lt;b&gt;Host User&lt;/b&gt;”&lt;/p&gt;    &lt;p&gt;ii. Set “&lt;b&gt;Gateway User&lt;/b&gt;” as BizTalk user under which the BizTalk Host Instance is executing.&lt;/p&gt;    &lt;p&gt;iii. Set “&lt;b&gt;AOS Server&lt;/b&gt;” to the name of “&lt;b&gt;Dynamics AX Server&lt;/b&gt;”&lt;/p&gt;    &lt;p&gt;iv. Set “&lt;b&gt;AOS Port&lt;/b&gt;” to the port number on which of Dynamics AX Server is running – the default is &lt;b&gt;2712&lt;/b&gt;.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_12030/image_thumb_2.png" width="412" height="456" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9526914" width="1" height="1"&gt;</description></item><item><title>Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Part 2 - Send Data from BizTalk to Dynamics AX</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-2-send-data-from-biztalk-to-dynamics-ax.aspx</link><pubDate>Wed, 01 Apr 2009 17:54:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9526891</guid><dc:creator>mehndi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9526891</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/microsoft-biztalk-server-and-microsoft-dynamics-ax-integration-part-2-send-data-from-biztalk-to-dynamics-ax.aspx#comments</comments><description>&lt;p&gt;The following configuration needs to be performed in BizTalk Send Port which would send the data from the BizTalk Server to the Microsoft Dynamics AX using the Application Integration Framework (AIF):&lt;/p&gt;  &lt;p&gt;1. Create a New Send Port or use an existing Send Port (in case Orchestration is used).&lt;/p&gt;  &lt;p&gt;2. Select the Transport Type as “&lt;b&gt;Microsoft Dynamics AX&lt;/b&gt;”, and provide the details like Send Handler, Send pipeline and Receive pipeline as per the requirements of the Interface.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_11EBB/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_11EBB/image_thumb.png" width="652" height="522" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;3. Press “&lt;b&gt;Configure&lt;/b&gt;” and set the following properties:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;a. Set “&lt;b&gt;Authentication Type&lt;/b&gt;” = “&lt;b&gt;Host User&lt;/b&gt;”&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;b. Set “&lt;b&gt;Gateway User&lt;/b&gt;” as BizTalk user under which the BizTalk Host Instance is executing.&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;c. Set “&lt;b&gt;AOS Server&lt;/b&gt;” to the name of “&lt;b&gt;Dynamics AX Server&lt;/b&gt;”&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;d. Set “&lt;b&gt;AOS Port&lt;/b&gt;” to the port number on which of Dynamics AX Server is running – the default is &lt;b&gt;2712&lt;/b&gt;.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_11EBB/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/MicrosoftBizTalkServerandMicrosoftDynami_11EBB/image_thumb_1.png" width="412" height="456" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a name="_Toc210207379"&gt;&lt;font size="3"&gt;&lt;strong&gt;Configuring Message Properties for sending data to Microsoft Dynamics AX&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To send data to Microsoft Dynamics AX from BizTalk there are properties that needs to be set on the message, before Microsoft Dynamics AX adapter can push the same.&lt;/p&gt;  &lt;p&gt;The following properties need to be set on the message:&lt;/p&gt;  &lt;p&gt;i. Set the Dynamics Action on the Message as per the Action configured in Microsoft Dynamics AX:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;_message (Dynamics.Action) &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;ii. Set the Dynamics Destination Endpoint on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;_message (Dynamics.DestinationEndpoint) &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;iii. Set the Dynamics Source Endpoint on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;_message (Dynamics.SourceEndpoint) &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;iv. Set the Dynamics Source Endpoint User on the Message as per the Destination Endpoint configured in Microsoft Dynamics AX&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;_message (Dynamics.SourceEndpointUser) &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is the sample for the setting the properties:&lt;/p&gt;  &lt;div align="center"&gt;   &lt;table border="1" cellspacing="0" cellpadding="0" align="center"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="668"&gt;           &lt;p align="left"&gt;&lt;b&gt;// Set the Dynamics Action for VendTable&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.Action)=&amp;quot;createListVendTable&amp;quot;;&lt;/b&gt; // this too can be made configurable and taken from SSO&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;// Set the Dynamics Destination Endpoint from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.DestinationEndpoint) =&amp;#160; SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.DestinationEndpoint&amp;quot;);&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;// Set the Dynamics Source Endpoint from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.SourceEndpoint) = SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.SourceEndpoint&amp;quot;);&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;// Set the Dynamics Source Endpoint User from the SSO Config&lt;/b&gt;&lt;/p&gt;            &lt;p align="left"&gt;&lt;b&gt;msg_VendTableRequest(Dynamics.SourceEndpointUser) = SSOConfigHelper.Read(&amp;quot;BizTalk.OracleFinancials.VendorData&amp;quot;, &amp;quot;Dynamics.SourceEndpointUser&amp;quot;);&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9526891" width="1" height="1"&gt;</description></item><item><title>Remote Debugging basics</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/remote-debuuging-basics.aspx</link><pubDate>Wed, 01 Apr 2009 16:59:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9526714</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9526714</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/remote-debuuging-basics.aspx#comments</comments><description>&lt;p&gt;Here is the article that explains the basics for remote debugging in details: &lt;a href="http://www.builderau.com.au/program/dotnet/soa/Remote-debugging-with-Visual-Studio-2008/0,339028399,339290302,00.htm" target="_blank"&gt;“Remote debugging with Visual Studio 2008”&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The summary from the same article:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Getting the remote debugger to work&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To get the remote debugger up and running, you must install it on the remote computer (ie, the server in the previously described scenario) and then configure it. Configuration is complex because the remote debugger authenticates both ways; that is, the machine running Visual Studio needs to authenticate on the remote machine, and the remote machine needs to authenticate on the machine running Visual Studio.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Installation&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;When you install Visual Studio 2008, remote debugging components install by default. In addition, the remote debugger is readily available on the Visual Studio installation media. The installation disc contains a directory called Remote Debugger, which has two folders (x64 and x86) that contain the set-up application for the specific platform. This installs the remote debugging monitor (msvsmon.exe). In my example, it is installed on a server.&lt;/p&gt;  &lt;p&gt;Once the installation application runs, the configuration wizard runs. The configuration wizard allows you to set up the remote debugger to run as a service or as an application. Running the remote debugger as a service means that it will run all the time, so you may want to run it as an application so it can be run only when needed. At this point, security becomes an important aspect of set-up.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Security&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;The remote debugger must run using a user account that has the appropriate privileges. It must use an account that has at least the same privileges as the account used to run the application being debugged.&lt;/p&gt;  &lt;p&gt;When working with ASP.NET applications, the ASP.NET worker process (aspnet_wp.exe) usually runs with an account called ASPNET, so you must use this account (or an account with equal or greater privileges) to remotely debug it. A safe bet is running the remote debugger with administrative level access, but this is not advisable for a production environment since the remote debugger needs to communicate with your debugger via the network, thus putting the server at risk of being hacked. I like to create a specific account for the remote debugger with a name like VSDebugger and make sure it has appropriate access.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Using the remote debugger&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Once you install all the components, you can use the remote debugger with your own applications. Follow these steps to use it with a C#/VB.NET application:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;In Visual Studio, choose Properties on the Project menu.     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;Select Debug from the Properties page.     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;For the Start Action setting, select Start External Program and in the field type the complete path to the executable on the host computer (running the remote debugger monitor).     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;Under Start Options in the working directory box, type the directory where the executable is located.     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;Select Use Remote Machine and type the name of the remote computer in the field. You can specify any command line arguments to pass to the application on the remote computer.     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;Start the Remote Debugging Monitor on the remote computer.     &lt;br /&gt;&lt;b&gt;|&amp;gt; &lt;/b&gt;In Visual Studio, you can begin debugging the application via the usual Debug menu by selecting Start to begin a debugging session.&lt;/p&gt;  &lt;p&gt;When working with an ASP.NET application, be sure to reference the remote computer by name and not the IP address. Also, the application's web.config file must have the debug attribute set to True. The site's security settings must allow windows authentication (or anonymous), and make sure there are no firewall restrictions that may disable remote debugging. MSDN offers more information about setting up &lt;a href="http://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx"&gt;remote debugging&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Go to the source&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Visual Studio 2008's remote debugger feature allows you to investigate code issues where they occur. You may use Visual Studio on your development machine and connect to the problem code on a remote host; this allows you to find problems specific to the host environment. During set-up, it's important to use the proper accounts with necessary access. Add the remote debugger to your developer toolbox for those situations where problems are unique to an application's environment.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9526714" width="1" height="1"&gt;</description></item><item><title>32 bit vs 64 bit</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/32-bit-vs-64-bit.aspx</link><pubDate>Wed, 01 Apr 2009 16:56:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9526708</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9526708</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/04/01/32-bit-vs-64-bit.aspx#comments</comments><description>&lt;p&gt;Check out the the article: &lt;a href="http://searchenterprisedesktop.techtarget.com/tip/0,289483,sid192_gci1204121,00.html" target="_blank"&gt;“How 64-bit version of Windows differs architecturally from 32-bit version”&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The summary from the article:&lt;/p&gt;  &lt;p&gt;Sometimes understanding the underlying architecture of a system is critical to being able to work with that system safely and effectively. The x64 version of Windows is a perfect example of this. &lt;/p&gt;  &lt;p&gt;Windows XP and Windows Server 2003 are both available in 64-bit versions which are designed to run on x64 hardware. These x64 Windows operating systems run 64-bit code natively but can also run 32-bit code through the use of an integrated emulator called Windows on Windows 64 (WOW64).&lt;/p&gt;  &lt;p&gt;No big deal, you say. After all, the 32-bit versions of the various Windows operating systems are designed to run both 32-bit and 16-bit code simultaneously. (Technically, it's not truly running simultaneously, but explaining how the multitasking engine handles 16-bit code is for another tip).&lt;/p&gt;  &lt;p&gt;The point is that 32-bit versions of Windows have a complicated mechanism in place to allow 32- and 16-bit code to run side by side. Still, the system is designed so that whether you're a systems administrator or a casual user, you don't need to know how these mechanisms work.&lt;/p&gt;  &lt;p&gt;But 64-bit versions of Windows are different. From a user's standpoint, 64-bit applications simply run side by side with 32-bit applications; nothing special is going on. But for administrators (and members of the help desk), it's a different story: The 32-bit code must be kept isolated from 64-bit code. This isolation is so important that x64 versions of Windows have two registries, one for 64-bit code and one for 32-bit code.&lt;/p&gt;  &lt;p&gt;Even though the 64-bit versions of Windows XP and Windows Server 2003 look and act almost identical to their 32-bit counterparts, below the surface there are major differences. If you perform certain tweaks on a 64-bit version of Windows in the same way you did in the 32-bit version, you could cause some problems.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;DLL hell&lt;/b&gt;     &lt;br /&gt;The first rule of 64-bit applications is this: You absolutely cannot mix 32- and 64-bit code in a single application. If you have a 64-bit application, everything related to that application, including the DLL files, must be 64-bit. This presents an interesting challenge because sometimes multiple applications will rely on a common DLL file. Fortunately, Windows keeps 32-bit DLL files separate from 64-bit DLL files.&lt;/p&gt;  &lt;p&gt;If you look in the \Windows folder on any 32-bit system, you'll see two subdirectories: one named SYSTEM and one named SYSTEM32. The SYSTEM subdirectory is a leftover from Windows 3.x that has remained in Windows for the purpose of maintaining backward compatibility with older applications. Generally speaking, 16-bit DLL files (and other support files) are placed in the \Windows\System folder; 32-bit DLLs and various support files are placed in the \Windows\System32 folder.&lt;/p&gt;  &lt;p&gt;The way that 32-bit versions of Windows maintain the separation between 16- and 32-bit DLLs is fairly straightforward. The way that 64-bit versions of Windows keep 64-bit and 32-bit DLL files separate is not.&lt;/p&gt;  &lt;p&gt;Logically, Microsoft should have created a folder named \Windows\System64 and used it for 64-bit DLL files. Instead, Microsoft created a new folder named SysWOW64 for storing the 32-bit DLLs. At first glace, this makes sense when you consider that WOW64 is the name of the emulator that runs 32-bit applications. But keep in mind that 32-bit applications are designed to place their DLL files in the \Windows\System32 folder.&lt;/p&gt;  &lt;p&gt;The \Windows\System32 folder still exists in the x64 version of Windows. But Microsoft uses this folder as a repository for 64-bit DLLs, not 32-bit DLLs. I don't understand Microsoft's reasoning for using the \Windows\System32 folder for 64-bit DLLs, but I've heard it has to do with backward compatibility.&lt;/p&gt;  &lt;p&gt;So what about all those 32-bit applications that are designed to store their DLL files in the \Windows\System32 folder? This is where things get confusing.&lt;/p&gt;  &lt;p&gt;As I mentioned earlier, 32-bit code can not run natively through the X64 version of Windows. In order to run 32-bit applications, Windows makes use of the WOW64 emulator, which makes the apps think they are running on a 32-bit version of Windows.&lt;/p&gt;  &lt;p&gt;When you install a 32-bit application, that installation wizard is running within the WOW64 emulator. Remember: 32-bit and 64-bit code don't mix. Once an application (including a Setup wizard) launches from within the WOW64 emulator, it must continue to run within WOW64. This means that when you install an application, the Setup wizard has no idea that the app is being installed on a 64-bit version of Windows, and will write DLL files to the \Windows\System32 folder just as if it were running in a 32-bit operating system.&lt;/p&gt;  &lt;p&gt;Of course, WOW64 knows that the Setup wizard is a 32-bit application running within an emulator. It also knows that 64- and 32-bit code cannot be mixed. As such, the WOW64 emulator aliases an alias to the \Windows\SysWOW64 folder. This means that any time a 32-bit application needs to read or write anything to or from the \Windows\System32 folder, the WOW64 emulator transparently redirects the request to the \Windows\SysWOW64 folder.&lt;/p&gt;  &lt;p&gt;All of this means that if you were to manually manipulate the contents of the \Windows\System32 folder, you could be in for some nasty surprises. I recently read about an administrator who needed to install a couple of small support scripts for an existing application. The instructions that came with the scripts said they should be placed in the \Windows\System32 folder. Of course those instructions assumed that the application would be running on a 32-bit system.&lt;/p&gt;  &lt;p&gt;The scripts didn't cause the system to crash. Instead Windows gave the illusion that the update had never been applied. When the admin ran the application, it was transparently being redirected to the \Windows\SysWOW64 folder. The admin knew he had placed the scripts into the \Windows\System32 folder and could see the scripts from Windows Explorer, but could not figure out why the application could not see the scripts. Thinking the issue was permissions-related, he spent a lot of time chasing his tail. Had he known about the way the x64 versions of Windows keep DLLs separated, he could have just placed the scripts into the \Windows\SysWOW64 folder. They would have worked as anticipated.&lt;/p&gt;  &lt;p&gt;The x64 versions of Windows represent one of the few cases in which it is truly important for an admin to understand the underlying system architecture. My next article iwill discuss differences in the ways that Windows maintains 64- and 32-bit program files.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9526708" width="1" height="1"&gt;</description></item><item><title>Conceptual Diagram of Dynamics AX and BizTalk Integration</title><link>http://blogs.msdn.com/b/ashishme/archive/2009/01/28/conceptual-diagram-of-dynamics-ax-and-biztalk-integration.aspx</link><pubDate>Wed, 28 Jan 2009 19:02:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9381258</guid><dc:creator>mehndi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/ashishme/rsscomments.aspx?WeblogPostID=9381258</wfw:commentRss><comments>http://blogs.msdn.com/b/ashishme/archive/2009/01/28/conceptual-diagram-of-dynamics-ax-and-biztalk-integration.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/ConceptualDiagramofDynamicsAXandBizTalkI_12ED1/clip_image002_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/blogfiles/ashishme/WindowsLiveWriter/ConceptualDiagramofDynamicsAXandBizTalkI_12ED1/clip_image002_thumb.jpg" width="493" height="656" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Courtesy – Ashish Shukla &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9381258" width="1" height="1"&gt;</description></item></channel></rss>