本文介绍了IIS 6.0上的MVC 3部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Friends

我一直在使用MVC 3.0.
当我在IIS 6.0上部署代码时.

比给出错误

Hi Friends

I have been using the MVC 3.0.
when i am Deploying the code on IIS 6.0.

Than it giving the error

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The type 'System.Web.Mvc.ViewPage' is ambiguous: it could come from assembly 'D:\Inetpub\wwwroot\Rexapplication\bin\System.Web.Mvc.DLL' or from assembly 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mvc\v4.0_3.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll'. Please specify the assembly explicitly in the type name.



请帮我解决这个问题
我尝试了以下链接,但我的母版页已从
继承System.Web.Mvc.ViewMasterPage命名空间

http://www.alphapapahotel.com/system-web-mvc-viewmasterpage-parser -erro/aspnet/ [ ^ ]

谢谢



Please help me how to resolved this
I have tried the following link but my master page already inherited from the
System.Web.Mvc.ViewMasterPage name space

http://www.alphapapahotel.com/system-web-mvc-viewmasterpage-parser-erro/aspnet/[^]

Thanks

推荐答案


这篇关于IIS 6.0上的MVC 3部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 20:15