Re: loading html pages in frames
From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 01/20/05
- Next message: grandultimate: "Re: IIS running JSP pages"
- Previous message: Thomas Buchberger: "IIS 6 / MDB (ADO/ODBC) / ..."
- In reply to: Doug Stichler: "Re: loading html pages in frames"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 07:23:49 -0800
Hello,
Can you please use WFetch from the IIS 6.0 Resource Kit Tools, request the
very same page, and then tell us what the Content-Type field is.
Something makes me belive that it is something else but text/html.
IIS 6.0 Resource Kit Tools is available here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en
-- Regards, Kristofer Gafvert www.gafvert.info - My articles and help www.ilopia.com Doug Stichler wrote: > When my developers first came to me with the problem thats what I thought > too. But when I copy the shortcut into the browser...short cut is > http://server/temp/data/report.html it still wants to download the file. It > shouldn't do that. I think if we get that behavior fixed the link should > work correctly. > > > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message > news:OawD3ov$EHA.2180@TK2MSFTNGP12.phx.gbl... > > "Doug Stichler" <dstichler@prosolv.com> wrote in message > > news:e07sd#o$EHA.3708@TK2MSFTNGP14.phx.gbl... > > > 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. > > > > Check the browser HTML source for the URL's you're using, sounds like it > > might be a local file ref like C:\folder\... instead of an > > http://server/folder/ ... > > > >
- Next message: grandultimate: "Re: IIS running JSP pages"
- Previous message: Thomas Buchberger: "IIS 6 / MDB (ADO/ODBC) / ..."
- In reply to: Doug Stichler: "Re: loading html pages in frames"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|