Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

CSS
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.


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
Posted

1 solution

If it's in the GAC, perhaps you need to remove it from the deployment folder ? I would try that, delete the copy inside your site and then it won't have two copies to worry about.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900