2.0.NET服务器与IIS6没有管理员权限上安装MVC [英] Install MVC on 2.0.NET Server with IIS6 without Admin Rights

查看:208
本文介绍了2.0.NET服务器与IIS6没有管理员权限上安装MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用IIS 5(操作系统)我的本地机器和Visual Web Developer,我已经建立了使用MVC美丽和幸福组成的网站。
现在部署到测试服务器。我发现,它并没有安装MVC - 搜索结果的错误: -

On my local machine using IIS 5 (winxp) and visual Web Developer, I've built a beautiful and well composed website using MVC. Now to deploy to the testing server. I find out that it does not have MVC installed -

Error:-


分析器错误信息:未能加载文件或程序'System.Web.Mvc,版本= 1.0.0.0,文化=中性公钥= 31bf3856ad364e35或它的一个依赖。该系统找不到指定的文件。

Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

源错误:

第39行:添加组件=System.Web.Abstractions,版本= 3.5.0.0,文化=中性公钥= 31BF3856AD364E35/结果
订单40:添加组件=System.Web.Routing,版本= 3.5.0.0,文化=中性公钥= 31BF3856AD364E35/>结果

Line 39: add assembly="System.Web.Abstractions,Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/
Line 40: add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

第41行:* *添加组件=System.Web.Mvc,版本= 1.0.0.0,文化=中性公钥= 31BF3856AD364E35/>结果

Line 41:* *add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

源文件:web.config行:41

Source File: web.config Line: 41


由于随着IT和编程不熟悉的公司,他们是不愿意让管理员权限或安装任何他们不要被他们承包大师,谁只是没有一个MVC风扇建议。所以我preFER一个解决方案,类同搬迁某些DLL或导入另一个项目。

Because of companies unfamiliarity with IT and programming they are reluctant to allow admin rights or install anything that they do not get suggested by their contracted guru, who just isn't an mvc fan. So I prefer a solution that is similiar to relocating some DLLs or importing another project.

如何使用MVC IIS6上2.0.net ???

HOW CAN I USE MVC on IIS6 2.0.net???

我读过
安装-ASP净MVC-无需管理员权利
〜这适用于IIS 7
ASP净MVC-上IIS6
〜没有解决安装或运行appliaction
我知道,一旦安装了路由问题。我将使用通配符的路由。

I've read install-asp-net-mvc-without-administrator-rights ~which applies to IIS 7 asp-net-mvc-on-iis6 ~ does not address installation or running the appliaction I am aware of the routing issues once installed. I will use wildcard routing.

推荐答案

什么贾森怀特说是正确的......你必须有.NET 3.5使用ASP.NET MVC。不过,如果你想进入的疯狂,不支持的,黑客十岁上下的领土,就可以在.NET framework 2.0运行ASP.NET MVC。我严重不推荐这样做,但如果你想看看它,斯科特Hanselman的约在这里谈

What Jason White says is right ... you have to have .NET 3.5 to use ASP.NET MVC. However, if you want to get into crazy, unsupported, hack-ish territory, it is possible to run ASP.NET MVC against .NET framework 2.0. I SERIOUSLY don't recommend it, but if you want to look into it, Scott Hanselman talks about it here.

这篇关于2.0.NET服务器与IIS6没有管理员权限上安装MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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