iis6

Deploy asp.net mvc beta to iis 6 causing 404's

I'm struggling to get around the 404 errors from asp.net mvc beta when deploying on IIS 6. I had this working in one of the previews by mapping .mvc in IIS but this no longer works. I've read Omar's post and several others on the web and tried their solutions but no luck so far. The home page opens without a problem on IIS 6 but others ...

IIS 6, tool to copy all site host headers?

I have a Server 2003 box with about 6 sites that each have about 15-20 host headers. Is there a tool out there that will copy all the host header records and automatically move them to the new server so I don't have to manually enter each host header again in the new server? Thanks. ...

Will the GAC fix an ASP.NET/IIS6.0 System.OutOfMemoryException?

I have many instances of an application installed on an IIS 6.0, Windows Server 2003 box under the same application pool. They share many of the same assemblies and can not be joined in to a single application. I recently added a new instance of the application and obtained a System.OutOfMemoryException when I tried to load the ASP.NET...

I'm getting blank pages instead of error messages using classic ASP, IIS6 and WinServer 2003 R2

We have an old system running on a WinServer2003 R2 - IIS6 and it was written using classic ASP. We need to trap all errors and for that, I configured IIS to redirect 404s and 500s to a custom page (custom errors config) that writes the info to a log file (this page creates and manages the logs). Here is the weird thing: The first time...

ASP.NET Session Scope: where can it be accessed from?

This seems trivial, but I've never had to worry about it before and my Google skills are failing me. How far-reaching is the in-process session bucket for ASP.NET/IIS6, in the sense that you can call Session["whatever"] and get the same value back? Obviously it can't stretch across different servers or application pools (I think). What a...

Sorting web sites in IIS

Currently I'm running several websites that have several (branded) duplicates each, in the same IIS. I wanted to have an easy overview of all the website groups so I used a naming convention like [siteName].[brandCode]. But lo and behold, IIS has its very own (seemingly random) way of ordering the entries in the "Web Sites" folder. Any ...

Creating an IIS 6.0 Application Pool using Powershell

How do I create an Application Pool on IIS 6.0 using a Powershell script? This is what I have come up with so far: $appPool = [wmiclass] "root\MicrosoftIISv2:IIsApplicationPool" Thanks ...

start specific iis 6.0 website via script

Hi, I've googled around and can't find a clear answer. I simply want to start some of my iis 6.0 websites via a script that will be run on start up. anyone got any tips for that? ...

IIS 6/.Net 2:How can user A get the user cookie for unrelated user B who is in a different session and on another box?

1) user A goes to the site, creates an account, and logs in 2) user b goes to the site. Rather than having to log in, user b enters as though user b is user a. User b gets access to all of user a's data and can brows the site as user a. Note: user b does not log in. User b just hits the site, and the site returns as if user b is alre...

How do I programatically disable Etags in iis 6

I'm trying to turn Etags off on iis 6 since I'm load ballancing multiple servers, I don't want the etag to become a problem. ...

Can you enable HTTP compression in IIS 6 without restarting IIS?

Hello - I'm currently optimizing the performance on my company's site; when it was taking 6-10 seconds to download 2MB+ of our homepage and assets (the site is mostly Flash with a lot of media, so it's not 2MB of HTML and viewstate). There are a lot of things that will need to be done to get this download size down; but one thing I defi...

.NET Forms Authentication: How to limit access to resources like pdf files to authenticated users only

I am using .net2.0 and IIS6. When using .net Forms Authentication: How to limit access to resources like pdf files to authenticated users only; so in order to access a file say mysite.com/mydoc.pdf they would have to be authenticated first (go through the login page) It seems that by default only the .aspx pages are protected. E.g. to...

ASP.NET MVC on IIS 6 - wildcard mapping - the incoming request does not match any route

Hi, I have been trying to set up my Beta 1 MVC app on IIS 6 and cannot get it to run correctly. I have added a Wildcard mapping to the .net isapi DLL as suggested in other blog posts but get the following error when I access the root of the website: The incoming request does not match any route. .. [HttpException (0x80004005): The inco...

What are the server requirements for Silverlight 2?

Can a Silverlight 2 enabled web page be managed from an Apache server? (I'm not actually interested in doing this but trying to understand Silverlight 2 a bit more.) Assuming that I have IIS6 and Server 2003 what are the .NET version requirements to host a web site with Silverlight 2? Are .NET 3.0 and 3.5 required on the server? My thin...

ASP.NET MVC - .mvc Routing just fails in II6

Hi, I have been banging my head against a brick wall trying to deploy my MVC app on IIS6 (linked question) I have scrapped wildcard mapping for the time being and am trying to get the .mvc extension working. Everything is configured correctly in IIS and the .mvc extension is pointing to the .NET dll for all verb types (unchecked verify...

Why migrate from IIS6 to IIS7?

I have a number of web apps running on several IIS6/Server 2003 boxes. They run well and are happy. They are all asp.net web apps and use .NET 3.5. What, if any, would be valid reasons for contemplating moving the web apps to IIS7/Server 2008? ...

How do I set the cachability of static files in IIS?

I have some static images in a folder on my IIS 6-based website that I want to be downloaded as little as possible (to preserve bandwidth). I've set the Content Expiration to expire after 30 days. Is there anything else I can do in IIS to try to maximize the caching by browsers, proxy, and gateway caches? Such as adding a Cache-Control ...

C# casts differing between VS2008 and IIS6

I have a piece of C# code that add the values of an enum to a drop down list by type. It requires that it be called with T1 being an enum type, although I cannot specify this as a type constraint because enums are special case in which this isn't possible. This is not a major concern as this is only used internally and is documented. De...

Loading xml into flash movie hosted on IIS6 server, not working

Hi, I have a flash file that loads an xml file at runtime. When the .swf file is run locally or on an Apache server it works fine but when hosted on an IIS6 based server the file won't load. can anyone help with this? Thanks ...

How to get a pdf to display in a web browser before it's fully downloaded.

I have a client that's been struggling with slow loading pdf files on the web. My client has some very large pdf files that are almost 10 Mb. They take upwards of 3-4 minutes to download. The files will not display until the whole file is loaded. We and they have seen other's sites where the pdfs load one page at a time, so the end use...