Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6586433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:47:25+00:00 2026-05-25T16:47:25+00:00

I deployed an MVC app in Windows Server 2008 R2 with IIS 7.5 (Integrated

  • 0

I deployed an MVC app in Windows Server 2008 R2 with IIS 7.5 (Integrated Mode). The first page that the browser should show if I enter the address (http://192.168.3.5:2011/) is a Login page. The thing is that instead I found that it executes the first ActionResult returner method found in the controller that is in the top of a allegued alphabetically ordered list ???. On the other hand if I type http://192.168.3.5:2011/Default.aspx everything goes correct; it shows the Login page. My routing table in the Global.asax is defined as:

   public class MvcApplication : System.Web.HttpApplication
   {
       public static void RegisterRoutes(RouteCollection routes)
       {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

          routes.MapRoute(
            "Default", 
            "{controller}/{action}/{id}", 
             new { controller = "Login", action = "Login", id = "" } 
          );
       }

       protected void Application_Start()
       {
           RegisterRoutes(RouteTable.Routes);
       }
   }

The outcome that I get is that it redirects to the following address: http://192.168.3.5:2011/Account/LogOn?ReturnUrl=%2f and then configuration error is thrown:

<providers>
         <clear />
         <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/" />
</providers>

There is a LogOn method, which is the first one declared in the Account Controller, which is the first controller alphabeticaly ordered.

In IIS 6.0 classic mode works fine but not in IIS 7.5 (Integrated mode). This is driving me crazy.

Thank you for your help.

Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:47:25+00:00Added an answer on May 25, 2026 at 4:47 pm

    It would appear to me that authentication is configured in the one case and not in the other. The Account/Logon has the return URL parameter which is typically provided due to a redirect when the original request isn’t authenticated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I deployed my MVC application in our IIS server. When I go to registration
I've a asp.net MVC app deployed to server it uses forms authentication and uses
I have this ASP.NET MVC app that I've deployed on IIS6/Win2003 as a virtual
I'm creating an MVC 3 app that manages business for client companies. When deployed,
I have deployed my MVC app but when I browse from IIS I find
I deployed my mvc 3 app to IIS 6 (with ntlm) and the site
I'm working on Mvc web app , I have deployed it on IIS 6
I'm building a .NET MVC application which will be deployed on a Windows 2003
I'm currently debugging an ASP.NET MVC application that was just deployed to a different
I was lead to believe that MVC apps were BIN-deployable, so could be deployed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.