473,387 Members | 3,810 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,387 software developers and data experts.

IIS7 Serialzing Requests From ALL Browsers

I have an ASP page the has session state disabled. This page creates an instance of a COM component written in C++ (threading model is BOTH, using ATL-FREE_THREADED macro in stdafx.h, supports free threaded marshaller). The COM component streams files to the ASP response buffer.
This component was created to support downloads of multi-gigabyte files. (Yes.. I know not the best answer but what the client requested.) I added a throttle in the COM component so as not to cause the ASP DLL to use up too much memory.
SO.... when testing, I've discovered that while this page is executing, ALL requests from ALL browsers are blocked. It appears the entire thread pool is blocked. After response.end, queued requests are serviced.
No other page uses this download component. However, I do have another free threaded component that every other page uses. I haven't test this possibility yet, but I'm wondering if IIS is trying to marshall all COM interface requests for both my components through the free threaded "apartment" (basically queuing them to a single thread used to execute free threaded components). That would explain how all requests would be blocked. However having the threading model set to BOTH and support for the free threaded marshaller should prevent this... right? Any suggestions?
Sep 7 '07 #1
2 1765
I've traced the freeze out of all requests to be a limitation of IIS7 on Vista. On 2003 Server now IIS is multithreading requests from different users for the same web site.

HOWEVER, I'm now working on enabling the user that is doing the file download, to be able to continue working while the file is being transferred. I am using the ASP directive ENABLESESSIONSTATE=FALSE at the top of the download asp page. This page instantiates my C++ file streamer. I've also eliminated the use of the OBJECT tag to instantiate a persistent session object. Unfortunately, IIS is still serializing requests so the user is locked until the Reponse.End is issued for the download page (which is done from inside the C++ component). I'm thinking there is something else that I'm unaware of that's causing IIS to serialize requests for this user (session), even though I have included the ENABLESESSIONSTATE=FALSE directive at the top of the ASP page. Any suggestions?
Sep 7 '07 #2
jhardman
3,406 Expert 2GB
moved to .NET forum, although I admit it might be an IIS issue.

Jared
Sep 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Vlad Hrybok | last post by:
Hi all, I recently installed 64 bit version of Vista hoping to make it my primary development setup. I was able to do work with IIS7 and ASP.NET 2.0/Visua Studio 2005 combo, but hit a roadblock...
3
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal...
5
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi, I wonder if someone could shed some light on this one for me. I have developed a web app in VS2005 with the built in server. It uses an sql database, everytihng works. I need to test it...
0
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
6
by: ma | last post by:
Hello, I am new to IIS and ASP.NET. I wrote my first ASP.NET and I want to deploy in to a system which has Vista Business and IIS7. I copied my files to the target computer and created a virtual...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
6
by: =?Utf-8?B?SmFzb24gSGFydHNvZQ==?= | last post by:
I'm running IIS7(2008 Server) and SQL both 64 bit. There's a simple client side code...that just doesn't make any sense. Is there something in IIS7 that could possibly have some effect on...
10
by: Kal | last post by:
I recently installed Windows 2008 Server to replace a crashed hard drive on a web server with a variety of web pages including several classic ASP applications. One of these makes extensive use of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.