如何使用iis7部署MVC3应用程序 [英] how can deploy the MVC3 application using iis7

查看:72
本文介绍了如何使用iis7部署MVC3应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在IIS7中托管mvc3应用程序?

解决方案



如果您将站点托管在服务器上,则只需将您的域指向主机名服务器.您可以通过与主机联系来获取名称服务器的详细信息.您不再需要修改任何本地主机文件.要将ASP.NET MVC文件部署到服务器,可以通过FTP或WebDeploy工具进行.您还需要联系您的房东以获取这些详细信息.

关于您在本地主机上遇到的问题,我怀疑您没有正确安装ASP.NET MVC 3.0框架.请从 MVC3 下载并确保正确安装.

您也可以在这里查看-如何添加IIS7中的一个新站点.您应该在DNS设置中指向您的子域设置正确的CNAME或A记录.我应该怎么做才能在asp.net mvc3中运行此报告


how can we host the mvc3 application in IIS7?

解决方案

Hi,

If you have hosted your site on a server, you just need to point your domain to your host nameserver. You can obtain the nameserver details by contacting your host. You are no longer required to modify any local hosts file. To deploy your ASP.NET MVC files to a server, you can do it either via FTP or WebDeploy facilities. You need to contact your host to obtain these details as well.

About the problem you experience on your localhost, I suspect that you have not installed your ASP.NET MVC 3.0 framework properly. Please download it from MVC3 and make sure you install it properly.

You could also check here - How to add a new site in IIS7. You should set a right CNAME or A record in your DNS settings pointin to your subdomain.


i have run the application but m get stock it doesnot generate report(report using crystal report). what should i do to run this report in asp.net mvc3


这篇关于如何使用iis7部署MVC3应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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