Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
getting error as


"Could not load file or assembly 'MSCaptcha' or one of its dependencies. The system cannot find the file specified. "


for reference look at the website

www.letrouters.in

.........


how can i solve it
Posted
Updated 29-Aug-11 23:43pm
v2

Have you tried copying the file to the server BIN directory?
 
Share this answer
 
Comments
gowthammanju 30-Aug-11 5:49am    
Ya i copied that it in bin folder of my project....it well execute in the local system but while uploading as a website it throws me an error
OriginalGriff 30-Aug-11 5:56am    
Did you include the XML file?
gowthammanju 30-Aug-11 5:57am    
Ya i too copied xml file also and place it in bin folder of my application
OriginalGriff 30-Aug-11 5:57am    
Oh, and a quick look on google says you need to modify web.config:
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"></add>
gowthammanju 30-Aug-11 6:01am    
Ya i too added that files in web config
u just visit this site www.letrouters.in for further details
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" value="Storage=file;Timeout=20;Url=~/reports/tempImages/;" />


u need to create reports folder in u r directory and tempImages as a subfolder and must and shoudly give write permissions to these floders in controlpanel



u need to host the complete published files not a part like single bin folder or a single file"


delete all the existing dlls and
re add all those references perfectly from the location where u want.

i think this dll creates image in u r directory.so the users have no permissions to creates files in u r virtual directory.(at ftp).


"u need to host the complete published files not a part like single bin folder or a single file"
 
Share this answer
 
v6
Comments
gowthammanju 30-Aug-11 5:53am    
Can i able to know how to upload the bin folder to server.....
gowthammanju 30-Aug-11 6:02am    
Soo wats the solution to solve this problem
hitech_s 30-Aug-11 6:04am    
just debug the page where u r actually using this dll.and observe is it creating any image files or txt files in u r solution..

give me reply after this..i will give u the solution
gowthammanju 30-Aug-11 6:08am    
Ya its generating the image files..
gowthammanju 30-Aug-11 6:09am    
Hey i took the Source code from these url only.. refer it
http://www.dotnetspark.com/kb/4159-captcha-generation.aspx
This can be the problem when uploading. You can ask the hosting company to delete all files and you need to reupload application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900