Tips and Tricks in a world of Mix

When first published on server the MVC  has been Anonymous. then changed to windows Authentication caused

The resource cannot be found.

The url has been the standart need one but – /login.aspx?ReturnUrl=%2fEgged.Tnua.TimeTable%2fHome

The solution is :

adding the following lines to the AppSettings section of my web.config file in appSettings:

<add key="autoFormsAuthentication" value="false" />
<add key="enableSimpleMembership" value="false"/>

Weirdly enough – solved the problem!

Found it here


Comments on: "Mvc with Windows Authentication results – /login.aspx?ReturnUrl=%2f – solution" (2)

  1. Dino said:

    Thanks bro. That worked for me.


  2. Tfreez said:

    Thanks bro…u saved me pulling out my hair.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Tag Cloud

%d bloggers like this: