Posted on: 12/13/2013 2:43:08 PM | Views : 561

Hello all, 
I have the following code below and I am experincing the following error below.  I have declared the 'AllowAnonymousAttribute' parameter but I am still expericing the following error message:
"AllowAnonymousAttribute' is an ambiguous reference between 'System.Web.Mvc.AllowAnonymousAttribute"
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using API_09Oct.Models; using API_09Oct.Attributes; namespace API_09Oct.Controllers { [Authorize] public class HomeController : Controller { [AllowAnonymous] public ActionResult Index() { // If user has already logged in, redirect to the secure area. if (Request.IsAuthenticated) { return RedirectToAction("Index", "Home"); } else ...

Go to the complete details ...