无法在FTP服务器上托管asp.net网站. [英] Can not host asp.net website on ftp server.

查看:76
本文介绍了无法在FTP服务器上托管asp.net网站.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海先生,

我已经创建了一个网站(Vs2008& c#).现在我要在ftp服务器上托管此网站.已经在ftp服务器上拥有一个帐户.发布网站后,我已使用FileZilla FTP Client将所有文件复制到ftp服务器.它复制了所有文件.但是,当我在浏览器中打开该网站时,它显示错误.即

Hai Sir,

I have created one website(Vs2008 & c#).Now i want to host this website on ftp server.Already we have one account in ftp server.After publishing website,i have copied all files to ftp server by using FileZilla FTP Client.Its copied all files. But when i open that website in browser,it is showing error. i.e

Could not load file or assembly ''MySql.Data, Version=5.2.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'' or one of its dependencies. The system cannot find the file specified.

add assembly="MySql.Data, Version=5.2.7.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"



我是在我的网站上添加了mysql dll.它在本地计算机上运行.这里mysql正在用作后端.所以请帮助我,先生.

谢谢
Sujith



How to solve this problem?.I have added mysql dll in my website.Its running in local machine.Here mysql is using as backend.So please hel me sir.

Thank you
Sujith

推荐答案

在FTP上?你是认真的吗?您知道FTP是什么吗?不!

您可以存储一些文件并通过FTP URL访问它们,但是ASP.NET是基于服务器端编程的技术,应将其托管在能够提供ASP.NET的HTTP服务器上.

—SA
On FTP? Are you serious? Do you know what FTP is? No!

You can store some of files and access them via FTP URLs though, but ASP.NET is a technology based on server-side programming, it should be hosted on HTTP server which is capable of serving ASP.NET.

—SA


这篇关于无法在FTP服务器上托管asp.net网站.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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