iis6

Allowing IIS6 IUSR account to write to the event log

Hey all, I have an ASP.NET app that has a class that writes to the event log. Now it has been working fine when called from a WF Work Flow , as the WF runs under the app pool account (Network Service). Now I want to use this event log class in an aspx page, which is where I am running into trouble becuase the aspx page is running un...

Visual Studio 2008 Scans Web Project When Closing - Why?

At first, I though my VS2008 Pro SP1 (on XP Pro + SP3) was hanging when I would close a web project on a remote server, but after checking it out with netmon, I can see it is accessing the site a bunch of times (it's a Classic ASP site with a couple hundred ASP pages). I then checked out the IIS 6 logs on the site and it's POSTing to ...

Url Routing is not working on IIS 6

Url Routing is not working on IIS 6. (using System.Web.Routing Namespace) If i am running through VS 2008 then its working fine. if i made virtual directory on IIS 6 then its not working. its giving error 404 - file not found... Thanks ...

Django + IIS + ?

I need to run a django app on windows under either IIS6 or IIS7 (yes, I don't know the exact requirements right now). What I did: I've tried to set up a working environment on my windows 7 (so its IIS7 for now) machine. I've followed the instructions at django trac using PyISAPIe. What came out of it: Apparently, either I am doing some...

IIS6: set up different websites under http://mydomain/ and http://mydomain/website2

I have a default website set up at the root in IIS6 so that when I go to http://mydomain.com, I hit that site. I would like to set up a different site under http://mydomain.com/othersite. Is this feasible at all? And if so, how? I tried different combinations but could not get that to work. Also, I would like to have a different appli...

IIS6 Forms Auth and reverse proxies

I've got a small problem. I have an apache reverse proxy serving to a backend IIS6 server. All sites work fine bar one. If I by-pass the reverse proxy the site works fine. If I go through the reverse proxy ( this is all in the same network and the site works fine directly from the proxy server ) I get back an http status : 400 Bad Reques...

IIS 6.0 Testing Environment in Windows 7

Trying to develop and test an ASP.NET MVC 2 as well as a hosted WCF app where the client is limited to IIS 6.0 (OS Windows 2003). I am developing and testing in Windows 7 which has IIS 7. I do not have access to a Windows 2003 disk, so creating a VM doesn't appear to be a viable option for me... Any suggestions or tips would be greatly...

Strange performance of web services on IIS

Hi all. we have a .net 2.0 web service written C#. It is deployed on an IIS 6.0 running on Windows Server 2003. The web service offers two methods: 1. retrieve a file of a given size, which can be controlled by a parameter 2. log a time span to a csv file residing on the server We consume these methods on a site in Asia, whereas the ser...

Is it possible to publish TFS 2010 Builds to IIS 6?

Before I spend too much time trying to make this work, I would like to know if it's even possible. I can build the projects fine using TFS. I can also publish directly from Visual Studio without issue. But when trying to publish via TFS, it is trying to use the following url: https://dev.server.com:8172/msdeploy.axd?site=dev.server.c...

Clear Cache of a Compiled ASP.NET website?

Hi, I have various caches on my compiled website. However, I need to clear all these caches. Is there a way of doing this (without having to restart the server!)? Thanks! Curt ...

Redirect filter IIS7

In iis 6 i could do something like this ;.aspx;http://www.blah.com/index.html to redirect all aspx pages to a html page. Is there a way to do this in IIS7 ...

How do I force a relative URI to use https?

I have a relative URI: Uri U = new Uri("../Services/Authenticated/VariationsService.svc", UriKind.Relative); The problem is that depending on whether the user has typed https:// or http:// into their web browser to get to the silverlight application, it may use either http or https when trying to contac...

Help with folder access in IIS 6

I really need help with my ASP.NET MVC 2 site... Simply put, I have a a folder Content/Photos in the root of my app. It has many pictures. For some very strange reason some pictures load just fine on my browser but other pictures give me a 403 error: You do not have permission to view this directory or page due to the access contro...

VBScript for registering custom extensions in IIS 6

MSDN provides GUI steps for doing this. But am interested to know if this can be scripted ? (like using adsutil.vbs) msdn link : http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/4c840252-fab7-427e-a197-7facb6649106.mspx?mfr=true ...

Can I install IIS 6 & IIS 7.5 on the same Windows 7 machine?

I'm having trouble with an app that runs on IIS 6, but not IIS 7.5 (as outlined in this question: IIS 7.5 Can't open Handler Mappings?) I think it might solve the problem if I could run IIS 6 on my machine as well as 7.5. Can this be done? Will it cause any problems if I do this? ...

Receive HTTP 500 error or blank page on IIS6 ASP.NET website

Hi All, I have three web servers running a number of different websites. All 3 servers are running Win2003 with IIS6. I have one troublesome website however that is an ASP.NET website. Many users at random times through the day receive a blank page when trying to load the site. Looking through the IIS logs for the site I can see that us...

Custom header in iis 6.0

How to add custom header by the msi. I wanna add custom header in IIS6.0 at the time of deployment. How to add custom header automatically? Thanx in advance ...

Install webapplication in a new web site?

How do I install a web application as a web site in IIS6 using the regular Web Setup Project? I do not want to install the application as a virtual directory in "Default Web Site", but a new web site (and if possible create the site during the installation). Also, is it possible to select the ASP.Net 4 Application pool as default in the...

create Ftp Site programatically using C# IIS6

Hi, is there a way to create FTP site as a sibling (not as a child) of the default FTP Site??? I can't find it in google, so for now I'm using scripting: iisftp /create C:\MyFolder "MySiteName" thanks in advance. ...

Service Routing Table works in IIS7 but not IIS6?

I've got a WCF service that uses a Global.asax file to activate my services. So, my deployed virtual directory on my deployment box looks like web.config global.asax - which contains Services.dll and Services.pdb the Services.dll is the compiled bits of my Service.svc and Service.svc.cs files. How do I get this setup to work in IIS6?...