<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx</link><description>This is a problem I have been trying to resolve for over three weeks now with no success. I shall try to explain the problem as clearly as I can as it can get very confusing. I have a Visual Studio 2005 .NET 2.0 Web Service Project which has a single</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx#2493232</link><pubDate>Fri, 04 May 2007 13:50:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2493232</guid><dc:creator>Symon</dc:creator><author>Symon</author><description>&lt;p&gt;Russell, you are a life saver! We were having the same problem and your hint about the namespace saved us after messing around with this problem for hours.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Symon.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2493232" width="1" height="1"&gt;</description></item><item><title>re: 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx#2144818</link><pubDate>Thu, 29 Mar 2007 11:04:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2144818</guid><dc:creator>Russell Pooley</dc:creator><author>Russell Pooley</author><description>&lt;p&gt;It appears there were a couple of mistakes in the the web.config file. The first being the PublicKeyToken was incorrect for the assembly being referenced.&lt;/p&gt;
&lt;p&gt;Richard was indeed correct on the location of the element which made it work, but we seemed to have the problem on our live site even with these fixes.&lt;/p&gt;
&lt;p&gt;The problem actually stems from the namespace attribute generated by the IIS configuration tool. More information about this can be found here: &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;With the namespace in the web.config the redirections would not work.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2144818" width="1" height="1"&gt;</description></item><item><title>re: 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx#1896173</link><pubDate>Sun, 04 Mar 2007 09:09:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1896173</guid><dc:creator>russell@vsdotnet.co.uk</dc:creator><author>russell@vsdotnet.co.uk</author><description>&lt;p&gt;Agreed the documentation does state that the bindingRedirect should be a sibling but in this example it makes little difference in solving the problem. You still receive the dreaded System.IO.FileLoadException: Could not load file or assembly 'Engine, Version=1.0.1.0, Culture=neutral, PublicKeyToken=319e0b36fe7c5768' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Service.Service..ctor()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at WebService.HelloService..ctor()&lt;/p&gt;
&lt;p&gt;Thanks for your comment.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1896173" width="1" height="1"&gt;</description></item><item><title>re: 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx#1890218</link><pubDate>Sat, 03 Mar 2007 23:59:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1890218</guid><dc:creator>Richard</dc:creator><author>Richard</author><description>&lt;p&gt;The bindingRedirect element should be a sibling of the assemblyIdentity element, not a child. For example:&lt;/p&gt;&lt;p&gt;&amp;lt;runtime&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;lt;assemblyBinding xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dependentAssembly&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;assemblyIdentity name=&amp;quot;Engine&amp;quot; publicKeyToken=&amp;quot;91e1bed8f28f6600&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;bindingRedirect oldVersion=&amp;quot;1.0.1.0&amp;quot; newVersion=&amp;quot;1.0.2.0&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/dependentAssembly&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/assemblyBinding&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/runtime&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/eftw1fys" rel="nofollow" target="_new"&gt;http://msdn2.microsoft.com/en-us/library/eftw1fys&lt;/a&gt;(VS.80).aspx&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1890218" width="1" height="1"&gt;</description></item><item><title>Russell Pooley's .NET Blog : 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</title><link>http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx#1867849</link><pubDate>Fri, 02 Mar 2007 16:57:35 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1867849</guid><dc:creator>Russell Pooley's .NET Blog : 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</dc:creator><author>Russell Pooley's .NET Blog : 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you)</author><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx"&gt;http://weblogs.asp.net/rpooley/archive/2007/03/02/2-0-web-service-problem-with-1-1-assembly-redirections-i-challenge-you.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1867849" width="1" height="1"&gt;</description></item></channel></rss>