views:

437

answers:

1

I'm using some captcha control implementation which I took from here and it's working fine in my localhost but the problem rises when publishing it on the server. The captcha image itself is not displayed. Of course I'm using master page and the captcha itself is under some usercontrol. Is there any known issue for this when publishing. What I'm I missing something here here ? Anything to be changed in my web.config file??

Thank you guys! Any answer would be appreciated

+1  A: 

I found the solution guys. In fact although using IIS 6 in my pc, I was publishing the website on a server using IIS 7. And for IIS 7 if you want to use custom handlers you have to register them from Handler Mappings and Add Managed Handler you can find a good article here Configuring Custom Http Handler in IIS 7 otherwise you custom handler is not recognized and captcha image not handled properly.

then you have to make your managed handler enabled and then everything works great.

So it was an IIS issue, apparently it was not enough adding the handler in web.config file.

Izabela