Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Default document always called

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Microsoft JET Database Engine error '80004005'  
Author Message
ian_cox2000

External


Since: Feb 19, 2004
Posts: 2



(Msg. 1) Posted: Thu Feb 19, 2004 4:05 pm
Post subject: Default document always called
Archived from groups: microsoft>public>inetserver>iis (more info?)

We have just noticed a behaviour in IIS5 which no-one here was aware of, and
which seems to be contrary to what most people expected. This is that the
default document gets called regardless of whether a full url is specified
or not. We stumbled across this whilst running a sql profiler trace whilst
calling various pages in our application and noticed that stored procedures
were gettnig called that were only called from our default page. Obviously
this was affecting performance across the whole application.
So for instance if our default document is set to default.aspx and our url
is
http://test.com/app/dosomething.aspx then default.aspx is called before
dosomething.aspx
Is it supposed to behave like this? Seems wrong to me.
I can only find one other post mentioning this and it had no reply.

Thanks in advance
Ian

 >> Stay informed about: Default document always called 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Thu Feb 19, 2004 4:05 pm
Post subject: Re: Default document always called [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ian Cox" <ian_cox2000.TakeThisOut@hotmail.com> wrote in message
news:ug%238Nku9DHA.1648@tk2msftngp13.phx.gbl...
 > We have just noticed a behaviour in IIS5 which no-one here was aware of,
and
 > which seems to be contrary to what most people expected. This is that the
 > default document gets called regardless of whether a full url is specified
 > or not. We stumbled across this whilst running a sql profiler trace whilst
 > calling various pages in our application and noticed that stored
procedures
 > were gettnig called that were only called from our default page. Obviously
 > this was affecting performance across the whole application.
 > So for instance if our default document is set to default.aspx and our url
 > is
 > <a style='text-decoration: underline;' href="http://test.com/app/dosomething.aspx" target="_blank">http://test.com/app/dosomething.aspx</a> then default.aspx is called before
 > dosomething.aspx
 > Is it supposed to behave like this? Seems wrong to me.
 > I can only find one other post mentioning this and it had no reply.

I've never heard of that happening. Does the web server log show
default.aspx getting called?

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Default document always called 
Back to top
Login to vote
ian_cox2000

External


Since: Feb 19, 2004
Posts: 2



(Msg. 3) Posted: Thu Feb 19, 2004 9:21 pm
Post subject: Re: Default document always called [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > I've never heard of that happening. Does the web server log show
 > default.aspx getting called?
It does indeed...
I spent more time trying to track this one down by building a blank test
page and realised it isn't IIS. Clearly something in the application or on
the web pages was doing this. I eventually tracked it down to an image tag
being used as a sizer had no source specified. Clearly this would mean a
request to the root of the application and therefore the default document
would get requested. So after giving our designer a slap everything is
sorted.

Cheers
Ian<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Default document always called 
Back to top
Login to vote
dszepesi

External


Since: Jan 28, 2004
Posts: 23



(Msg. 4) Posted: Thu Feb 19, 2004 9:21 pm
Post subject: Re: Default document always called [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wow - I am jealous, can I start slapping developers?

Thanks for the chuckle.......


"Ian Cox" <ian_cox2000 DeleteThis @hotmail.com> wrote in message
news:uDG23Ux9DHA.1816@TK2MSFTNGP12.phx.gbl...
  > > I've never heard of that happening. Does the web server log show
  > > default.aspx getting called?
 > It does indeed...
 > I spent more time trying to track this one down by building a blank test
 > page and realised it isn't IIS. Clearly something in the application or on
 > the web pages was doing this. I eventually tracked it down to an image tag
 > being used as a sizer had no source specified. Clearly this would mean a
 > request to the root of the application and therefore the default document
 > would get requested. So after giving our designer a slap everything is
 > sorted.
 >
 > Cheers
 > Ian
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Default document always called 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 5) Posted: Fri Feb 20, 2004 11:29 am
Post subject: Re: Default document always called [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dan Szepesi" <dszepesi DeleteThis @hotmail.com> wrote in message
news:eXxKcpz9DHA.2324@tk2msftngp13.phx.gbl...
 > Wow - I am jealous, can I start slapping developers?

What - you don't slap developers in your shop ??? : )<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Default document always called 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS 6 Default Document - Has anyone noticed that in IIS 6 you can no longer specify a path to a default document? In IIS4 and IIS5 an administrator was able to specify a path such as "directory1/default.htm" IIS6 no long allows this. Does anyone know of a Registry h...

IIS Default Document problem - This is a very strange issue I am using IIS 5.0 on Windows 2000 Server SP3. I have an ActiveX control for an intranet application which uses the PUT verb to write a file to the server. It is called from an ASP page. It is contained in a virtual..

Default document shows dir listing instead - I have the IIS 5.0 default document set to view the correct document (index.htm) and the box is checked. But when you enter just the directory for the intranet site \\server\dir it used to bring up the default document and now it doesn't. We have been..

Setting an ISAPI DLL as default document in IIS 5.X - I have written an ISAPI DLL which works okay if I put it in the /scripts subfolder (/inetpub/scripts) and call it with http://url/scripts/dllname. I currently call this from a link in a simple HTML page. What I would like to do is make the DLL the..

Thousands of default document calls. What is it.? - I run IIS-4.0 on an NT 4.0 Server (SP6a) and analyse access logs using HitList 3.0. Been a great solution so far. But in the past two or three months there have been thousands of root page visits (typically about an extra 4000 to 5000 hits a month)..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]