Could not load type 'MSCaptcha.CaptchaImageHandler' from assembly 'MSCaptcha'.

Hi Experts,
I am trying to use the MSCaptcha control on my .NET website and have followed the instructions at the following address to the letter:

But when I try to view the page, I get the following error message:
.net error from web.config
I've been pulling my hair out - can anyone advise on how to correct? This seems like the best CAPTCHA tool, but I can't get it to work.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
There are 2 download options:

Download the latest version of the Captcha ASP.NET Component.

Download older version 2.0, suitable for .NET Framework 2.0 and up.

Which option did you use to download?  What .NET version are you using for your website?
rascalAuthor Commented:
I am using .Net Framework 4.0.30319, and using the latest download of MSCaptcha, not the 2.0 version.
Bob LearnedCommented:
Here is a reference that might help:

Parser Error Message: Could not load file or assembly 'AssemblyName' or one of its dependencies. The system cannot find the file specified.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

rascalAuthor Commented:
Sorry, didn't help - I am not using a virtual directory, but I tried it anyway and it still gave me the same error.

I looked at my global web.config for .Net 4.0 and it had a line in it that I thought might have some relevance:

<add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="True" />

I tried removing it and restarting IIS but I still got the same error.
rascalAuthor Commented:
Is it possible I need to add a MIME type for .axd and refer it to an image?
Bob LearnedCommented:
If you decompile that library, the class has a different case:

  public class captchaImageHandler : IHttpHandler, IRequiresSessionState

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rascalAuthor Commented:
Interesting - I'll give that a shot and let you know.
rascalAuthor Commented:
Wow, that did it! Good work!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.