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

  • SEARCH
  • Home
  • 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 94029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:26:15+00:00 2026-05-10T23:26:15+00:00

I upgraded a large ASP.NET MVC application I’ve been working on to the latest

  • 0

I upgraded a large ASP.NET MVC application I’ve been working on to the latest beta today, and after some initial problems, I’ve got it mostly working again. The big problem is that I have things like this:

<%= Html.ActionLink('LOGIN', 'Index', 'Authorization', new { redirect=Request.Url })%> 

and

<%= Html.ActionLink('Edit this page', 'Edit', 'Webpages', new { id = wp.Id })%> 

That render the links as:

http://localhost:60321/calendar/edit?Length=8 

Albeit with different ‘Lengths.’ I have no idea why this is happening; it’s as though my route tables have gone completely insane. ‘calendar/edit/{id}’ is a valid route, but it’s about the fourth down on the list. These were working perfectly before.

I’m sort of at my wits end here trying to figure out what is going on… The link text renders perfectly; it’s just the url of some of the ActionLink calls I have are not working. Some of them work fine. Here is an example of one that works fine:

<%= Html.ActionLink('ADMIN', 'Index', 'ControlPanel') %> 

Any help would be greatly appreciated!

  • 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. 2026-05-10T23:26:15+00:00Added an answer on May 10, 2026 at 11:26 pm

    From looking at the method signatures on ActionLink it looks like they have changed and it is matching the following:

    ActionLink( string linkText, string action,             object values, object htmlAttributes ); 

    I would try adding a null htmlAttributes to the end of the ones that are not working so that it uses this one:

    ActionLink( string linkText, string action, string controller,             object values, object htmlAttributes ); 

    This would look like:

    <%= Html.ActionLink('LOGIN',                     'Index',                     'Authorization',                     new { redirect=Request.Url },                     null )%> 

    Source code for MVC Beta 1 is located at http://www.codeplex.com/aspnet (SCC server appears to be down at this moment 12/18/2008 1:16Pm CST). I found the signatures via intellisense.

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

Sidebar

Related Questions

I had a working solution using ASP.NET MVC Preview 3 (was upgraded from a
I have recently upgraded some of my web applications to ASP.NET 3.5 by installing
Currently I'm working with a big, old and extremely poorly written ASP.NET 1.1 application
EDIT: upgraded this question to MVC 2.0 With asp.net MVC 2.0 is there an
I have an large application developed in .Net Compact Framework 1.0 that has been
I'm working on an exceedingly large codebase, and recently upgraded to GCC 4.3, which
I upgraded a website I've been working on ( http://barsannapolis.com ) to a CSS
We upgraded our application to .NET 4.0 a while ago, and now need to
I upgraded from SQl server 05 to 08 and had a few issues. After
I upgraded to Ubuntu Intrepid Ibex yesterday and suddenly some of the Perl modules

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.