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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:06:19+00:00 2026-05-11T17:06:19+00:00

I know they are bad practice but I have a real need on an

  • 0

I know they are bad practice but I have a real need on an internal website for an iframe. I achieved this using the following code behind code on the go button and the iframe html code below.

frame1.Visible = true;
frame1.Attributes["src"] = "http://freckles/bksb_ict/frmDiagnostic.aspx?" + args;

<iframe id="frame1" scrolling="auto" style="position:absolute; top:0; left:0;   height:100%; width:100%;" runat="server" visible="False">
 </iframe> 

This worked in visual studio and showed the iframe covering the whole screen as expected but when deployed on iis failed with Server Application Unavailable shown in the iframe.

The reason I set the src dynamically is the initial page is a search, pressing one of the displayed buttons obtains the correct args to send to the iframe.

Any ideas if this can be worked around. I have seen a possible alternative involving an object tag but am unsure if it will end up with the same error.

  • 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-11T17:06:20+00:00Added an answer on May 11, 2026 at 5:06 pm

    I solved this in the end, my code actually worked. Turned out when it was deployed there was a mismatch of asp.net versions in the same application pool. It didn’t cause a problem until the attempt to display both pages at the same time. Separating them into different application pools fixed it.

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

Sidebar

Related Questions

I know this is really bad practice, but it's already been put in place
I know they are dialects of the same family of language called lisp, but
I know they do not hold across pattern matches (i.e. you need to rewrite
I'm thinking about frameworks. I know they make life a lot easier, but as
Why does C++ need and use pointers? I know they add power to the
First: where are std::move and std::forward defined? I know what they do, but I
I know that such type of questions exist in SF but they are very
this problem is not really uncommon, but i don't really have an idea how
Theoretically, the end user should never see internal errors. But in practice, theory and
I know SO isn't traditionally used this way (or maybe it is), but I've

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.