Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'Infragistics' could not be found (are you missing a using directive or an assembly reference?) Source Error:
Line 1: @using Infragistics.Web.Mvc; Line 2: @{ Line 3: ViewBag.Title = "Home Page";
On 32-bit Windows the path should be:C:\Program Files\Infragistics\NetAdvantage 2011.2\jQuery\MVC\MVC3\Bin
Can you please let me know what version of the Infragistics jQuery package ( release 2011.2 I assume) have you installed?
Thanks,
Borislav
search operation found no file for your mentioned location. Mine is 32 bit windows 7. I've downloaded from : http://blogs.infragistics.com/blogs/taz_abdeali/archive/2011/05/31/asp-net-mvc-3-entity-framework-infragistics-jquery-grid.aspx
Thanks a lot! :)
From the screenshot I can see that the reference to the Infragistics.Web.Mvc is not resolved (thus the yellow exclamation mark icon).
You can delete and re-add the reference to the DLL - the file is usually located under:
C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\jQuery\MVC\MVC3\Bin(on 64-bit Windows)
Once you have added it, set CopyLocal = True (from the properties of the assembly in Visual Studio) and you should be all set.Cheers,Borislav
Hi,Are you having difficulties with the same project (from Taz's blog) or with another?
What version of the Infragistics MVC library are you trying to use in the project?
If it's with the project from Taz's blog, can you please post a screenshot in your next reply of Visual Studio when you receive the error.
Please have the Solution Explorer visible and also with the References "folder" expanded - that'll help me understand where the problem might be coming from.
If you are using it in your custom project, can you please attach it to your next reply so I can take a look at it?
Generally speaking, the error is about referencing a non-system DLL in an MVC project so such issues usually have suggested solutions for such problems:
http://social.msdn.microsoft.com/Search/en-US?query=MVC%20assembly%20reference%20problem&ac=8
Hope this helps,