验证码在 asp.net 中不起作用
嘿伙计们, 我已经下载了 mondor 的验证码控件,并在本地主机上实现,工作正常,但是当我执行相同的步骤并上传到托管服务器时,我无法获取验证码图像,我想知道将 dll 放在 bin 中有什么区别文件夹并将其添加为参考,因为无论如何它都会进入 bin 文件夹。在本地主机上,我添加了对该 dll 的引用,在托管服务器上,我刚刚在 bin 文件夹中添加了该 dll,这就是问题所在,如果是,则该问题的解决方案是什么...
如果有人知道这一点,请提出建议..
hey guys,
i have downloaded mondor's captcha control, and implemented on localhost, thats working fine, but when i did the same steps and uploaded to the hosting server, i am unabel to get captcha image,i want to know whats the difference between placing dll's in bin folder and adding it as a reference because anyway it will go in bin folder. on localhost i added a reference to that dll and on hosting server i just added the dll in the bin folder, is that the problem, if yes than what could be the solution for this issue...
If anyone knows about it, please suggest..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请检查服务器上的 IIS 版本。
对于 IIS 7
在
下的
:web.config 文件
中更改以下行: <处理程序>Please check IIS version on server.
For IIS 7
change the following line in
web.config file
under<system.webServer> <handlers>
:检查所有已上传的与验证码控制相关的文件夹和文件
Check all folders and files had been uploaded related to captcha control