English 中文(简体)
我如何利用“礼仪”小组主办我的Mvc网站。
原标题:How do I host my Mvc web app using plesk panel?

我已经把自己的域名和网络托管空间登记在<代码>第上。

日间有<条码>仪表控制小组

我知道,在html网页上,我需要把我的所有网页复制到http://doc。 夹

But what about by MVC WEBSITE?

HOW DO I HOST IT?

CAN ANYONE HELP ME? enter image description here

最佳回答

您必须把整个小型项目复制到http://docs ,以便在线查阅。

您正在获得500——内部服务器错误。 可能是因为<代码>mvc 文本在服务器上有所不同(i 系指你正在使用mvc v4,服务器有mvc v2)。

因此,仅与你的主办方联系,我确信你会找到一个好的解决方案。

问题回答

1. 扩大以前的答复;

You need to ensure you are copying your websites bin folder. You may also need to ensure that the MVC assemblies are in it.

When you installed MVC on your local machine several assemblies are registered with the GAC. It may be that your host does not have all the required ASP.NET MVC assemblies installed; if not then you will see a configuration error.

由于这些集会在东南非共同市场登记,因此双倍制的复印机不会违约。

确保你的项目明确提及以下DLLs,并确保Copy Local 财产真实。

  • System.Web.Helpers
  • System.Web.Mvc
  • System.Web.Razor
  • System.Web.WebPages
  • System.Web.WebPages.Deployment
  • System.Web.WebPages.Razor
  • Microsoft.Web.Infrastructure

Rebuild your project and check the bin folder. These files should now be present. Upload the contents of this folder to your host.

我对使用ASP .NET 4.5的MVC5仪器也存在同样的问题。 为解决这一问题,我使用视频演播室出版工具(Image1)在解决方案探索者中点击:

然后成功出版了《网络应用》。

您将整个项目复制到httpdoc ,然后,u必须使野心伙伴关系得以实施。 该网站的网络制图,请您的托管系统管理,通常他们可以这样做。

d 我建议(从视力演播室)利用 Publish效用实际上载网站。 Plesk 东道方为网络探索提供支持,这或许是你的最佳选择,或者说你可以选择自动交换所。 当你使用视频演播室出版时,should (我想) 包括你所依赖的属地(如果你在GAC中有任何东西的话)

选择下列议会:

  • System.Web.Mvc
  • System.Web.Routing
  • System.Web.Abstractions

在房地产窗口,向当地人提供制版。

之后,将双倍双倍的电荷上载到服务器。 这可确定问题





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签