Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS6 MVC3
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
 
http://www.alphapapahotel.com/system-web-mvc-viewmasterpage-parser-erro/aspnet/[^]
 
Thanks
Posted 23-Aug-12 6:02am

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 120
4 DamithSL 105
0 OriginalGriff 6,045
1 DamithSL 4,611
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 23 Aug 2012
Copyright © CodeProject, 1999-2014
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