HEXAQ : A friendly question - answer site for IT professionals

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))


1

During the development I started receiving an error message on my screen.

The message reads like this:

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I have not changed anything on my website and still I am not sure why this happened.

Â
asked
 


≡ Total 2 Answers

1

If your site is configured to run on IIS 7 or IIS 7.5 with port:80, you might be facing this issue.

Set it to run on auto selected port number and it will work.

Â
replied

In my case, replacing ajaxcontroltoolkit.dll file from bin folder was the solution  - Erick67


0

Make sure you have the 'AjaxControlToolKit.dll' file available in bin folder.

It happens sometime that if you have more than one file of same name with different versions, you will get this error.

If you dont have the file, you can download from the asp.net website and upload in your website's bin folder.

Â
replied


Enter your reply here
Answer Preview: