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 6970607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:43:53+00:00 2026-05-27T16:43:53+00:00

By definition I had to post this question. I received the error on this

  • 0

By definition I had to post this question. I received the error on this line using ASP.NET MVC 3 and ASPX form. Where’s my typo?

<a href="<%= Html.Action("About", "Home") %>">
<img src="<%= Url.Content("~/Content/images/newfront_04.jpg") %>" /></a>

StackOverflowException

I created a blank project to compare:

  • Web Config is identical minus connection strings (including Views web.config)
  • Global.asax.cs including routes is identical minus namespace
  • Page directive is identical
  • Home Controller code is identical minus namespace
  • Taking this line out makes everything work
  • The entire page is html with the exception of the page directive and ContentPlaceHolders
  • This is the Site.Master file
  • 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-27T16:43:54+00:00Added an answer on May 27, 2026 at 4:43 pm

    Html.Action is actually rendering that action where you are putting that code, and it’s causing reentrancy there. That is: it’s calling the whole action and outputting the resulting view… not outputting the url.

    What you probably wanted was Html.ActionLink (which renders the whole A tag for you), instead, or Url.Action, to just output the URL – rather than the action result again.

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

Sidebar

Related Questions

I've had this intermittent issue when using asp.net. My site is dynamically compiled. Sometimes
I had the following error at previous question: Fluent NHibernate? Am I doing this
I have an ASP.NET MVC 3 application where users can post suggestions along the
I had trouble coming up with a good way to word this question, so
I had a simple variable definition in my makefile: THIS := ~/edan and it
This stems from a question I had about nvarchar and varchar . According to
So, this is the final nagging inheritance question I've had for a little bit
I just had a test on java and we had to give the definition
I've had trouble finding a clear, concise laymans definition of a class. Usually, they
Like many other SharePoint users, I've had to create a custom list definition. After

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.