在服务器中托管文件时出错 [英] Getting error while hosting file in server

查看:111
本文介绍了在服务器中托管文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取错误为


无法加载文件或程序集"MSCaptcha"或其依赖项之一.系统找不到指定的文件."


供参考,请参见网站

www.letrouters.in

.........


我该如何解决呢?

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

推荐答案

您是否尝试过将文件复制到服务器BIN目录中?
Have you tried copying the file to the server BIN directory?


< add verb = " GET"path =" CaptchaImage.axd"type =" MSCaptcha.CaptchaImageHandler,MSCaptcha"value =" Storage = file; Timeout = 20; Url =〜/reports/tempImages/;"/>


您需要在r目录和tempImages中创建子目录的子文件夹,并且必须并且应该在控制面板中对这些选件赋予写权限



您需要托管完整的已发布文件,而不是单个bin文件夹或单个文件之类的部分."


删除所有现有的dll和
重新从您想要的位置完美地添加所有这些引用.

我认为此dll在您的目录中创建了映像.因此用户无权在您的虚拟目录中创建文件.(在ftp).


您需要托管完整的已发布文件,而不是单个bin文件夹或单个文件之类的文件".
<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"


上传时可能会出现问题.您可以要求托管公司删除所有文件,然后需要重新上传应用程序.
This can be the problem when uploading. You can ask the hosting company to delete all files and you need to reupload application.


这篇关于在服务器中托管文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆