Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi guys,

i'm working on asp.net using c#.

where i was added ajaxtoolkit calendarExtender, after i'm getting this...

Error	12	Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=2.1.0.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)		


please help me, how to solve this issue...

Thanks
Posted
Updated 20-Sep-14 21:30pm
v2

 
Share this answer
 
Comments
abdul subhan mohammed 18-Sep-14 4:32am    
still facing d same error
ashok rathod 18-Sep-14 23:41pm    
what you can do is check the path of dll which is being used by right clicking the reference and make sure that it is showing exactly the path you want, second thing i want to inform you is please use dependency walker. it might show the more information regarding the dll you are using(http://www.dependencywalker.com/)
Check for the dll version you are using. That is the reference dll version in the Packages.config as well as the in the reference folder. May be that are not matching. And also another case with this Azure is, if the SDK is old version and you are adding a new dll through nuget, you need to remove the old references. There is version mismatch.
http://www.dinohy.com/post/2014/04/02/Windows-Azure-Could-not-load-file-or-assembly-MicrosoftDataServicesClient-Version=5600.aspx[^]
Check out with this site, if this helps.
Thanks :)
 
Share this answer
 
Before:
<runtime>
    <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentassembly>
<assemblyidentity name="Microsoft.WindowsAzure.Storage" publickeytoken="31bf3856ad364e35" culture="neutral" />
        <bindingredirect oldversion="0.0.0.0-2.1.0.4" newversion="2.1.0.4" />
      </dependentassembly>
    </assemblybinding>
  </runtime>


After:

<runtime>
    <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentassembly>
        <!--<assemblyIdentity name="Microsoft.WindowsAzure.Storage" publicKeyToken="31bf3856ad364e35" culture="neutral"/>-->
        <bindingredirect oldversion="0.0.0.0-2.1.0.4" newversion="2.1.0.4" />
      </dependentassembly>
    </assemblybinding>
  </runtime>


its work..

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900