Re: IIS (or ASP.NET) stops sending a file after only a few hundred byt

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 02:06:50 -0700

Install Network Monitor (Add/Remove Programs, Components, Networking) and
get a network trace of the exact request that hangs (along with the
response) and post the trace.

Is this script retrievable by making a direct request to it, and if so, does
it succeed?

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"C-J Berg" <CJBerg@discussions.microsoft.com> wrote in message
news:3A408126-D6F6-4DE1-8AA8-020ADE7AF5F4@microsoft.com...
Hi,
I'm experiencing a problem with an ASP.NET application running on IIS 6 that
I think might be an IIS issue. I wouldn't bet on it, since it could just as
well be an ASP.NET issue, but since those two are closely integrated in IIS
6, I hope it's all right to post my question here.
A page - ResourceLoader.aspx - takes a parameter named Resource that holds
the name of a file embedded as a resource, e.g. a javascript file. When
called with for instance ResourceLoader.aspx?Resource=script.js, this page's
code-behind class locates the file and, provided it can be found in its
resources, reads it and writes it to the client using Response.Write(). It
always writes the whole file at once.
This works well at all times on a Windows 2000 Server machine (running IIS
5, that is). However, when I put the application on my workstation running
Windows 2003 (with all public hotfixes applied), a certain file - and it's
only a single file out of twenty - cannot be downloaded in full. The
download
always hangs until the browser timeouts (or maybe it's IIS), after exactly
214 bytes has been received (at least that is what I can see as output in a
browser)! The resource file's full length is 1967 bytes. Other resource
files
that can be successfully downloaded vary from 1k to 20k in size. This
particular file happens to be a javascript-file, so it is plain-text data.
I've debugged it and the code-behind class has no problem locating the
resource, reading itin full, and writing it back in full using
Response.Write(). The problem starts somewhere after leaving the code-behind
class.
Restarting IIS doesn't help, nor does restarting Windows. I tried creating a
new IIS site with a new host header, with a new home directory put on
another
partition, but that didn't help at all.
I've also tried reinstalling ASP.NET, its script mappings, etc., to no
avail. I have .NET Framework 2003 SP1 installed.
Got any ideas on this?
Regards,
C-J Berg


Relevant Pages

  • Re: [opensuse] fstab: umount as user
    ... Network Operating System concepts.... ... accounts and their settings exist on the ... Secondly, one single mount point for all users is just bad, it won't work. ... If A is member of group 2 they can use resource VI when they log in... ...
    (SuSE)
  • RE: What is an auto-printer?
    ... Windows XP uses Net Crawler to monitor shared resources on the ... network to make it easier to connect to a shared resource. ... or a folder that has just been shared. ... When Windows XP finds a newly-shared resource, it adds an icon for the ...
    (microsoft.public.windows.server.sbs)
  • Re: map network resource out of domain
    ... I want to map a network drive. ... But the shared resource is on a server ... But now the network resource can not be found.... ...
    (microsoft.public.windows.server.networking)
  • Re: Accessing Cluster Disks from a WEB Application
    ... Dimitris solved his problem by enabling Kerberos but I do not fully ... Windows 2000 introduced Kerberos enabling in Network names with SP3... ... > resource that the share resource is dependent on. ... > 2) This network name is different than the cluster name. ...
    (microsoft.public.windows.server.clustering)
  • Re: Failover Clustering Virtual IP Address
    ... When you install a SQL2000 instance in a cluster, the disk resource ... resource and the network name that your instance will use. ... for the SQL instance to use. ...
    (microsoft.public.sqlserver.clustering)