The HttpCompileException was raw user code. Error code: CS0433

I got the error:

d: \ Temp Works \ 31_1_2013 \ CRMEvent \ CRMEvent \ Views \ CRMDashboard \ RecentRequests.ascx (4): Error CS0433: Type "System.Web.Helpers.WebGrid" exists as in "c: \ Windows \ Microsoft" .NET \ assembly \ GAC_MSIL \ System.Web.Helpers \ v4.0_2.0.0.0__31bf3856ad364e35 \ System.Web.Helpers.dll 'and' c: \ Windows \ Microsoft.NET \ assembly \ GAC_MSIL \ System.Web.Helpers \ v4.0_1 .0.0.0__31bf3856ad364e35 \ System.Web.Helpers.dll '

What does this error mean?

+3


source to share


2 answers


In your web config, you have <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

. Try changing the version number to2.0.0.0



edit: The web.config information came from a question this user asked an hour ago about a similar issue.

+2


source


To resolve this error, remove the assembly from the reference folder.



0


source







All Articles