Click here to Skip to main content
13,146,402 members (45,136 online)
Rate this:
Please Sign up or sign in to vote.
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

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[^]

Posted 23-Aug-12 5:02am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 23 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100