HomeHome Product Discus... Product Discus...SmithCartSmithCartException after testing the cart.Exception after testing the cart.
Previous
 
Next
New Post
3/16/2011 6:43 AM
 

Smith Cart Version: 4.0.0

DNN version: 05.05.00 (653)

I install the smith cart with no probelms. I add som modules and start adding categories and products sucessfully. Then after adding some stuff i get this exception.

" Could not load file or assembly 'AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

Then none of the modules load. I have to delete all modules and start over.

 
New Post
3/16/2011 10:52 AM
 

It looks like you are experiencing a version issue with the Ajax Control Toolkit. You can download the binary you need from here:

http://ajaxcontroltoolkit.codeplex.co...

Make a backup copy of the current version of AjaxControlToolkit.dll in your ~\bin folder. Right click properties to verify the version number. Then unzip the file downloaded above and just drop the AjaxControlToolkit.dll file in your ~\bin folder. This should fix your problem.

Update: You may want to read this thread.

http://www.smith-consulting.com/forum...

 
New Post
3/16/2011 1:14 PM
 

Oh, i wouldnt know where to do this. Can you explain a bit further?

I just install modules and configure them. Does this mean that the Smith Cart is not working correctly the way it is provided?

 
New Post
3/16/2011 5:19 PM
 

I'm sorry, I made a mistake, the file should be installed by SmithCart, but depending on your hosting environment and Ajax configuration, web.config may require manual modifications to make it work properly. Different Ajax versions have always been a problem for ASP.NET. If SmithCart forced its version it could break other modules. On the other hand if another module forced its version, it could break other modules including SmithCart.

The clue here is "manifest definition does not match the assembly reference". This means your web.config is configured with a specific version that is different than the file.

You will probably need to add this to the assemblyBinding section in web.config

<dependentAssembly>

<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" />

<bindingRedirect oldVersion="1.0.20229.20821" newVersion="3.0.30930.28736" />

</dependentAssembly>

I hope this is of some help to you.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartException after testing the cart.Exception after testing the cart.