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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:13:30+00:00 2026-05-13T00:13:30+00:00

i have a MVC application that works fine; but now i need to put

  • 0

i have a MVC application that works fine; but now i need to put on one of the views, an IFRAME whose source is an ASPX page (classic aspx page, programmed in c#) the reason of doing that is that the page is located outside of our company, i just need to consume it passing a querystring. I’m doing the following on the iframe:

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIC.Master" Inherits="System.Web.Mvc.ViewPage" %>

<table height="20%" cellSpacing="0" cellPadding="0" width="100%" border="0">
    <tr>
        <td height="400" valign="top">
            <iframe name="myiframe" scrolling="no" id="myiframe" width="100%" height="100%" frameborder="0" src="folder/somePage.aspx?id=123"></iframe>
        </td>
    </tr>
</table>

For testing prouposes i’m pointing the iframe to a simple empty apsx page, i put that page on the same folder as the actuall view that contains the iframe.

But when i execute the application, the iframe returns error 404: the resource cannot be found showing me the right path for the dummy aspx page i created. Do i need to grant some permissions over IIS? or what else am i missing.

Thanks.

  • 1 1 Answer
  • 1 View
  • 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-13T00:13:31+00:00Added an answer on May 13, 2026 at 12:13 am

    To get your .aspx page to work you need to turn on routing for existing global.asax files. In your global.asax where you register your routes add:

    RouteTable.Routes.RouteExistingFiles = true;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASPNET MVC application that works fine locally but when I deployed
I have an asp.net mvc application that works fine under visual studio but when
I have an Asp.Net MVC application that works in the vs.net development web server.
We have an internal ASP.NET MVC application that requires a logon. Log on works
I have a very basic site that works fine on its own but when
I have this ASP.NET MVC application that I now want to separate out the
I have an MVC application which uses Windsor everywhere and it works fine everywhere
I have an mvc application that I allow businesses to log in using https://storea.mydomain.com
I have an MVC application that is using MEF for the controllers, all working
I have an MVC application that needs to login and verify a user against

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.