iis6

IIS 6.0 not sending Expired header though I have turned it on

My website is hosted on Windows server 2003, IIS 6.0. The website is developed on ASP.net, with Microsoft Framework 3.5 I have set the content expiry to 12 hours for the complete site using the following settings : IIS Manager->Site->Properties->HTTP Headers->Enable Content Expiration->Expire After->12 Hours(s) The Problem is that whe...

Test for default document request?

Is there a way to programmatically know when someone is using the Default Document feature of IIS to access my page (that is, the name of my .ASPX isn't in their URL anywhere)? ...

IIS 6 ServerBindings with WMI and Powershell v2

I've long had a bunch of VBS automations for IIS 6, including one that gets/sets complex server bindings on several farms of paired servers, each having dozens of apps, each app having 3-12 host headers. Each app has hostname, hostname-fullyqualified, and Disaster Recovery enabled hostname, so they can be a mess to maintain manually. I...

What are the minimum hardware requirements for IIS 6.0 and Apache 2.x?

One of the questions on my IT assignments is to provide the minimum hardware requirements for Apache 2.x and IIS 6.0. I know this should be a simple-as-pie question, but for the life of me I can't find any definitive answers after extensive googling..although I'm notorious for overlooking things. If I am to be flamed, please at least p...

Visual Studio .NET has detected that ASP.NET applications and services are locked down in IIS. You can run the IIS Security Lockdown Wizard to change lockdown status

Getting this error when try to compile a .net 1.1 website. Any ideas how I "unlockdown" it in IIS6, where is this fabled IIS Lockdown wizard. ...

EndRequest not fired on IIS when resource is missing.

I have a HttpModule that hooks on the EndRequest Event on a IIS6 with a wildcard handler registered and it works fine as long as the request ends on a .aspx page, but NOT if the url is missing (404). I guess it's because of the staticfilehandler ends the request, but is there any good solution for this problem ? I have tried the same s...

Long running HttpWebRequests

I have a ASP.NET web application running on an IIS6 server. The application is making potentially long running calls to a xml service on a remote machine. Some of the service calls on the remote machine are taking a long time to execute (sometimes up to 4 minutes). The long term solution would be to make the calls asyncronous, but as a s...

ASP MVC on IIS6

In our asp mvc application, we are using embedded views, images and css files. On deploying on IIS6, the views are being rendered but we are having problem with the images and css files. We are getting 404 not found error. The same application on UltiDev Cassini Web Server is working fine. The problem seems to be with IIS6. Any kind of ...

Create a virtual directory in iis 6 programatically using vb.net as unprivileged user

I'm trying to write an application that will allow a non-administrator user to create virtual directories in IIS6. I've tried numerous different ways of impersonating a administrative account but nothing seems to work to create the virtual directory. Here's some of what I've tried: dim sDirPath as string = "IIS://remotehost/W3svc/1/ro...

Asp.net IIS6 - application pool recycle.

Im running a asp.net website on windows 2003 ii6. Every 24-28 hours im getting the following error: When the error occurres all users are disconnected from the website. Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1013 Date: 02/02/2010 Time: 19:29:38 User: N/A A process serving applicat...

IIS 6 Virtual directory MVC not working but Subdomain is

I get the following error when using MVC as a virtual directory The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework. To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramewo...

Weird behavior regarding IIS virtual directory names

Hello, I'm new to using Microsoft IIS 6.0 and I'm encountering this weird behavior regarding virtual directory names. I once created a virtual directory with the following details: Alias: Y2YY Application name: Y2YY Execute permissions: Scripts and Executables Local path: D:\Y2YY\content With D:\Y2YY\content containing a valid html fi...

How does WF hosted as WCF in IIS 6 resume after delay?

Does a WF hosted as WCF (.NET 3.5) in IIS 6 resume after a delay activity when persisted to SqlWorkflowPersistenceService ? And if so, which kind of thread is being used (one from the ASP.NET worker threads or a background thread from IIS ?) ...

ASP.NET MVC Deployment on IIS 6.0

Hi everybody, I'm just a beginner about ASP.NET MVC. Thought it doesn't have any problems in the developing time, I don't even know what to continue when I try to deploy. After deployment, I can only browse login page. I'm using Windows Server 2003 IIS 6.0 Visual Studio 2008 Is there any step by step guide that will be suit for beg...

Redirect to webapp default document when another page is specified?

IIS6, ASP.NET 2.0, No Forms Authentication I'm calling Response.Redirect("~/foo.aspx"), but the default document ("Default.aspx") for my site is appearing. To make matters worse, it only happens intermittently. Sometimes the redirect displays the right page. I've checked session state, and I don't see any values in the web.config (th...

IIS6 performance tuning for DotNetNuke

I've been tasked with looking into performance tuning my company's intranet server. It runs DotNetNuke which suffers from poor performance. It also runs a number of other web apps (mix of asp and asp.net). Could anybody give me a brief list of common performance tweaks that can be made to IIS6? ...

ASP.Net application runs slow at first time

I have a web application written in ASP.Net 3.0 using C#, the production machine is a windows server 2003 with IIS 6.0 and sql server 2005. Application Structure The following shows the structure of my ASP.net web application: root application in IIS (//localhost/es) includes the common pages, for instance: master pages, theme, user ...

ASP.Net MVC On IIS6 default.aspx

Hi I am having an issue where when deploying an MVC site onto an IIS 6 server the url schema is broken. I have followed all the examples for getting IIS 6 to work with MVC and this seems to be ok. The problem is that on all of my IIS 6 request the /default.aspx is being appended to the url. Here is an example using the Route Tester de...

Cannot set up my ASP.NET 3.5 website on IIS

Hi, I've created several IIS websites in my life, but some days ago a friend of mine asked me to host his website, so I created a folder within inetpub/wwwroot to store it. Then, I created a virtual directory in my Default Web Site(the folder appears there as it's on wwwroot) and created the application, and allowed scripts & executable...

Getting a 404 when setting up MVC in IIS 6 and using .NET 4 beta 2

Hi all, I've completed this set up on a fair few IIS 6 boxes, but one is giving me a tough time. The problem occurs when I add the application extension mapping to: c:\windows\microsoft.net\framework\v4.0.21006\aspnet_isapi.dll When this is in place, I get a 404 error on every request. Even if I remove all files from the application...