Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to update auto-refresh reference 'ajaxcontroltoolkit.dll and commonlogging.dll

unable to update auto-refresh reference 'ajaxcontroltoolkit.dll and commonlogging.dll

I am getting this warning every time I build the project but the project is running fine without breaks in local system but I am getting error page in godaddy after uploading to server. is this the reason for 500 error in godaddy shared hosting server?

like image 809
Tajkumar Avatar asked Feb 14 '13 05:02

Tajkumar


3 Answers

I had this same problem with the AjaxControlToolkit. I've got no idea what caused it, but by simply re-installing the toolkit into my project with NuGet, that fixed it.

Install the package by following the steps below:

  1. Right-click on your project and select Manage NuGet Packages.
  2. Search the online repository for the package you want. In my case, this was 'ajaxcontroltoolkit'.
  3. Find the package in the list of results that appears and click the Install button on it.

What this does is it removes all previous references of the package (older DLLs and references in your web.config file) and replaces them with newer, correct references

It's that simple.

Hope this helps you

like image 100
Ortund Avatar answered Oct 17 '22 14:10

Ortund


Look in the bin folder of the project - for a file called - in your case:

ajaxcontroltoolkit.dll.refresh

This will have an incorrect path to the dll file. You need to update the path to wherever the dll is now.

like image 10
niico Avatar answered Oct 17 '22 16:10

niico


Had this same issue and manually creating a .refresh file for its DLL helped. Once I figured the origin of the relative path is the solution folder, and put that in the .refresh, everything worked for this and other references.

like image 1
ajeh Avatar answered Oct 17 '22 14:10

ajeh