I have bellow link when the user click on it ,it should be load Article view that is in current area.
picture
[![enter image description here](https://i.stack.imgur.com/UGXgZ.png)](https://i.stack.imgur.com/UGXgZ.png)

But when I click on this link I get this error
[![enter image description here](https://i.stack.imgur.com/7Owmf.png)](https://i.stack.imgur.com/7Owmf.png)

but I've checked my routeconfig and my admin area and I have used namespases as well.
In my routeconfig
[![enter image description here](https://i.stack.imgur.com/3gGF9.png)](https://i.stack.imgur.com/3gGF9.png)
In my Admin area
[![enter image description here](https://i.stack.imgur.com/1bgod.png)](https://i.stack.imgur.com/1bgod.png)

I can not figure out what problem is ,I've used namespaces but it doesn't work.

when I click on this link `<a href="/Article/Details/2">`
I get the Error but my route config like these
In my routeconfig:

```
        routes.MapRoute(
                name: "Default",
                url: "{controller}/{action}/{id}",
                defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                    namespaces: new[] { "IdentitySample.Controllers" }
            );

```

And in Admin area config:

```
       public override void RegisterArea(AreaRegistrationContext context) 
        {
            context.MapRoute(
                "Administrator_default",
                "Administrator/{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                 new[] { "tadvinhesab.Areas.Administrator.Controllers" }

            );

        }

```

and I ended up with this link

```
   <a  href="@Url.Action("Details", "Article", new {  Area = "IdentitySample",id = @article.id }, "https")">

```

but `Area = "IdentitySample"` cause the link dose not work when i put in new array.
And in another shot I changed it this way
 `<a href="@Url.Action("Details", "Article", new { Area = "", id = @article.id})" class="myCssClass">link text</a>`
but my problem in still the same