473,769 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Iframes, .NET 2, and why I may need a vacation

CGW
We're migrating to a new server (I hate lease expirations!), and our Net
Admin set up the new one before leaving for Colorado on Spring Break.

My assignment was to bring the website over. On our website, we use IFrames
to host legacy ASP pages. That feature no longer works on the new system, and
I have noticed that, unlike on the old system, intellisence is now drawing a
squiggle under the IFrame tag on the aspx page. When I hover, it tells me
that the element is not supported under the current schema.

I've painstakingly duplicated everything on the new system, and have set up
IIS exactly the same. The only difference is that the Net Admin installed
..NET v2 on the new one as opposed to 1.4 on the old. Can that be my problem?
Is there something I need to change to support IFrames under the newer
version of .NET?

Everything else is the same. If you guys can't help me out, why I think I
may just need to head for Colorado as well. (Before my boss sends me on a
more permanent one.)
--
Thanks,

CGW

Mar 13 '06 #1
9 1117
> My assignment was to bring the website over. On our website, we use
IFrames
to host legacy ASP pages. That feature no longer works on the new system,
and
I have noticed that, unlike on the old system, intellisence is now drawing
a
squiggle under the IFrame tag on the aspx page. When I hover, it tells me
that the element is not supported under the current schema.


Have you tried it anyways?

iFrames are part of HTML. It really shouldn't have anything to do with .net

-Darrel
Mar 13 '06 #2
CGW
Oh sure. I did try. I'm simply running out of places to look for differences.
Where would you look?
--
Thanks,

CGW
"darrel" wrote:
My assignment was to bring the website over. On our website, we use
IFrames
to host legacy ASP pages. That feature no longer works on the new system,
and
I have noticed that, unlike on the old system, intellisence is now drawing
a
squiggle under the IFrame tag on the aspx page. When I hover, it tells me
that the element is not supported under the current schema.


Have you tried it anyways?

iFrames are part of HTML. It really shouldn't have anything to do with .net

-Darrel

Mar 13 '06 #3
> Oh sure. I did try. I'm simply running out of places to look for
differences.
Where would you look?


I'm confused. Where would I look for what?

iFrame is just an HTML tag. VS.net might be flagging it, but VS.net often
flags a lot of things incorrectly it seems that I usually just ignore. An
iFrame isn't compiled or anything, so you shouldn't be getting any
compilation errors either. The only thing that would happen is that you'd
get an error in the browser due to malformed HTML perhaps.

-Darrel
Mar 13 '06 #4
CGW
You obviously aren't as confused as I am. By places to look, I mean for
solutions to the original problem.

Everything on the new site seems to run identically to the old, except for
the page with the IFrame. When I run that page, everything looks fine in
debug until the IFrame tries to execute. Then I get a page cannot be found
error.

I've checked to make that all the folders and files are in the correct
locations. I've checked webconfig to make sure our keys are right. I've been
over IIS thoroughly, making sure that it is configured the same. After doing
all that, I began to suspect the squiggly line under IFrame actually meant
something.

I haven't taken a hammer to it... yet. But I'm running out of places to look
for the problem.

Thanks for your help. I'll proceed as you suggest; assuming that it is not a
problem with IFrame per se.

--
Thanks,

CGW
"darrel" wrote:
Oh sure. I did try. I'm simply running out of places to look for
differences.
Where would you look?


I'm confused. Where would I look for what?

iFrame is just an HTML tag. VS.net might be flagging it, but VS.net often
flags a lot of things incorrectly it seems that I usually just ignore. An
iFrame isn't compiled or anything, so you shouldn't be getting any
compilation errors either. The only thing that would happen is that you'd
get an error in the browser due to malformed HTML perhaps.

-Darrel

Mar 13 '06 #5
> Everything on the new site seems to run identically to the old, except for
the page with the IFrame. When I run that page, everything looks fine in
debug until the IFrame tries to execute. Then I get a page cannot be found
error.


iFrames don't execute. It's just an HTML tag. That error simply sounds like
whatever page the iFrames's SRC attribute is pointing to isn't there. In
your browser, VIEW SOURCE and see what the iFrame is pointing at.

-Darrel
Mar 13 '06 #6
CGW
Viewing the source on an error page doesn't really help. From the navagation
bar and from within debug, I can see the path it is trying to use. The path
looks valid. I can give another URL, for example Microsoft.com, and it works
fine. So it is something in how it's parsing the path. I'll just keep working
on it.
--
Thanks,

CGW
"darrel" wrote:
Everything on the new site seems to run identically to the old, except for
the page with the IFrame. When I run that page, everything looks fine in
debug until the IFrame tries to execute. Then I get a page cannot be found
error.


iFrames don't execute. It's just an HTML tag. That error simply sounds like
whatever page the iFrames's SRC attribute is pointing to isn't there. In
your browser, VIEW SOURCE and see what the iFrame is pointing at.

-Darrel

Mar 13 '06 #7
> Viewing the source on an error page doesn't really help.

So, the page that has the iFrame doesn't even load? What's the specific
error?
From the navagation
bar and from within debug, I can see the path it is trying to use. The
path
looks valid. I can give another URL, for example Microsoft.com, and it
works
fine. So it is something in how it's parsing the path. I'll just keep
working
on it.


Oh, yep...you've found the error. The path just isn't pointing to the right
place on the server and/or whatever file it's pointing at is no longer
there.

-Darrel

Mar 14 '06 #8
> We're migrating to a new server (I hate lease expirations!), and our Net
Admin set up the new one before leaving for Colorado on Spring Break.

I've painstakingly duplicated everything on the new system, and have set up
IIS exactly the same. The only difference is that the Net Admin installed
.NET v2 on the new one as opposed to 1.4 on the old. Can that be my problem?
Is there something I need to change to support IFrames under the newer
version of .NET?


There is not "1.4" version of the .Net framework, just 1.0, 1.1 and now
2.0. If your old site is compiled against 1.1, I don't think it will
work right away under 2.0. It *is* possible to have 1.1 and 2.0 side by
side, so you might try installing 1.1 as well.

Hans Kesting
Mar 14 '06 #9
CGW
Actually, we did have both. And I know that in the past we had problems with
the newer .NET, but I may have jumped to the wrong conclusion this time. I'm
still puzzled as to why the path is failing in IFrame. We did change our
Inetpub to a d drive for the first time, but I really thought I had
redirected IIS correctly. Maybe it's there. There are just a lot of little
things that can go screwy on a larger web application like this, that also
supports legacy code, when migrated to a new server configuration. And I'm a
little green at that sort of thing.
--
Thanks,

CGW
"Hans Kesting" wrote:
We're migrating to a new server (I hate lease expirations!), and our Net
Admin set up the new one before leaving for Colorado on Spring Break.


I've painstakingly duplicated everything on the new system, and have set up
IIS exactly the same. The only difference is that the Net Admin installed
.NET v2 on the new one as opposed to 1.4 on the old. Can that be my problem?
Is there something I need to change to support IFrames under the newer
version of .NET?


There is not "1.4" version of the .Net framework, just 1.0, 1.1 and now
2.0. If your old site is compiled against 1.1, I don't think it will
work right away under 2.0. It *is* possible to have 1.1 and 2.0 side by
side, so you might try installing 1.1 as well.

Hans Kesting

Mar 14 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3938
by: maxim vexler | last post by:
I'm reading a lot of talks lately about the term iFrame and with your permission would like to ask a few question about that : - what is iFrame, i mean what is it good for ? - does all the popular browsers support it (mostly mozilla & the much hated IE, google says the do but nothing is better that experienced answer) - iFrames replaces the old frames once used in html to show a number of pages in a single windows, right ? - what are...
0
2100
by: Dan Popa | last post by:
Check out the following 2 links: http://www.batisdev.com/admin/test_1images.asp http://www.batisdev.com/admin/test_2images.asp First page contain 4 IFRAMES and 1 IMG tags. Second page contain 4 IFRAMES and 2 IMGs tags. The problem is that the second IFRAME from the second page generates fires a new session.
7
1606
by: bscofield | last post by:
What would be the danger in having a lot of hidden iframes? i.e. potentialy 30-40. I need to store a bunch of data and thought about using hidden iframes to do it but wasn't sure if this would bog down my page or not. Opinions? I know this is not an IDEAL way to store data but I'm at my whitts end and it sounds like a nice workaround right about now!
5
2234
by: Frances | last post by:
I need to replace iframes acc. to what option user chooses in a sel obj.. but figured have to load a blank iframe when pg loads so I can replace it.. (iframe gets put in a pre-existing div..) this is approach.. I'm having some problems and would appreciate some help.. thank you very much... var selItem; var ifrCurr; var div = document.getElementById("divPricing"); // this var not being read inside functions..
2
2095
by: Guadala Harry | last post by:
1. Are IFrames supported only in uplevel versions of IE? If not IE exclusively, what browsers support IFrames? 2. Are IFrames going to be supported in the future - as far as anyone knows - or have they been deprecated and will no longer be supported in the future? Please note that I'm *not* asking for opinions on the merits of using IFrames or IFrames vs regular framesets or any other such...
4
2268
by: Alex D. | last post by:
Hi guys. I have two nestes IFRAMES in one of my pages. The main page has an Iframe that points to an aspx page, this page has another Iframe that points to a regular html file. My problem is when resizing the IE window I loose the inner Iframe, it disappears for some reason. Any ideas?? Thanks a lot, Alex.
19
5942
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up the page but I find that the iframes interfere with the getting the mouse coords from the screen which is essential in moving the scroll bar around. My test html is given below. With the iframe hidden the mouse coords are obtainable. With the...
2
12916
by: ericisjusteric | last post by:
I have a page with multiple iframes and need to have the user (ie6) be able to click a button to refresh any one of the iframes - but also to click another button at the top of the page to refresh all of them - from the server (this could be on page refresh also) as the purpose is to reset the iframe to the original content in case the user clicked on a link in that iframe and changed it, but also in case there were updates to the original page...
2
1690
by: Vohaul | last post by:
Hi there, I'm new to this site, but have been doing webpages with flash, html, css for a few years. I'm a convert from graphic designer to web Anyway, I have a client site that i designed a year or more ago using Iframes (yes, i know, I should of known better).. the link is here: www.mdltd.ca
0
10035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7403
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2811
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.