473,322 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 1096
> 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
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...
0
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...
7
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...
5
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...
2
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...
4
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...
19
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...
2
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...
2
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.