loading html pages in frames

From: Doug Stichler (dstichler_at_prosolv.com)
Date: 01/20/05


Date: Wed, 19 Jan 2005 20:29:06 -0500

We have a fairly simply web app that for some reason is having problems on
2003 IIS 6

Basically if the htm file exists in this directory we show a link on the web
page for the user to click on. It then loads that htm in the second frame.
We have this working at several sites. We have named the frame and when we
create the link we set the target to the name of the frame.

Now then that link is in a virtual directory that is a subdirectory of
another virtual directory . I added the first virtual directory to the
default web site.( ie. To the default web a virtual directory call temp and
then added a virtual directory called data in temp.) When setting up the
virutal directories I used the defaults Read and Execute Scripts and made no
other changes. On the actual file folders I have given Everyone and IUSR
account full access. In WebServices extensions I have allowed Active Server
Pages.

On the server when we click on the link we get a momentary downloading
window like you get when the browser is downloading a file it can't handle
itself and then it loads it in a new browser window. The address bar doesn't
show the actual url but shows the actual path in the temp directory(ie.
c:\documents and settings\user\local settings\temp....)

So it does download the file. I have found that even if I copy the shortcut
and paste it in the address bar I get the same behaviour. It momentarily
shows the file download and then launches it from the temp cache. So I get
the same the same kind of behaviour so I don't think it has anything to do
with the link.

On any other computer when I click on the link nothing happens. I've even
checked the web server logging files. No request is ever sent to the server
if its not initiated on the server. If I copy the shortcut to the address
bar, the html file loads correctly in the same window.

Now I've also just tried putting an html file in the temp folder and trying
to load it but I get the same behaviour as trying to load from the
temp->data virtual folder. The html file does load if put in wwwroot.

Now for the weirdest part of this. Say I decide to create a new virtual
directory off the default web and will just say I call it dummy and then I
add a data virtual folder to it. These virtual folders point to the same
folders the others did. Sometimes the html page will load correctly on the
server with the link. It won't work on any other computers though only the
server. Now another catch if I try to load a different htm file out of the
folder it displays the momentary download and displays the html file in a
new browser window. Now I thought this might be a problem with the temp
cache so I closed out of IE. the opened it back up and deleted all the temp
inet files. I can still load the original html file in the browser like it
should but the second file still has to download and launch a second
browser.

I'm not sure if this is some sort of user rights problem or setup of the
webserver.

I've removed the default website, restarted IIS, rebooted the machine,
reentered everything. I am doing the same thing on another 2003 server and
it works like it should.

I'm at a loss as to what to do next...hopefully this is something that
someone has fixed before.

Doug



Relevant Pages

  • Re: loading html pages in frames
    ... > another virtual directory. ... > default web site.(ie. To the default web a virtual directory call temp ... > checked the web server logging files. ... > to load it but I get the same behaviour as trying to load from the ...
    (microsoft.public.inetserver.iis)
  • Re: loading html pages in frames
    ... >>> On the server when we click on the link we get a momentary ... the html file loads correctly in the same window. ... >>> to load it but I get the same behaviour as trying to load from the ... >>> temp->data virtual folder. ...
    (microsoft.public.inetserver.iis)
  • Re: Cant Delete Folders in FTP Root
    ... you do a backup of the server first before trying the article/steps below.. ... The Virtual Directory Wizard appears. ... folder containing the files you wish to delete. ... SBS v4.x: microsoft.public.backoffice.smallbiz SBS 2000: microsoft.public.backoffice.smallbiz2000 SBS 2003: microsoft.public.windows.server.sbs ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows 2003 Server / IIS / ASP.NET
    ... Applications can only run on a Web Site, or a Virtual Directory. ... Start Internet Information Services Manager on your server. ... Expand the Web Site that you are using ... A quick way to verify the type of folder in IIS, ...
    (microsoft.public.windows.server.general)
  • Re: OWA-is not working
    ... you can't map the MBX folders to another IIS server as a virtual directory, ... > IP- Address for web site to that Domain Controller of the second domain. ... i can see the second domain and access the shared folder. ...
    (microsoft.public.exchange.admin)

Loading