iis

IIS pipeline: what goes first: URL Rewrite or HttpHandler?

What happens first in the pipeline: a URL Rewrite (as defined in the URL Rewrite module of IIS), or a HttpHandler (added with the add managed handler functionality of IIS7)? ...

Hosting .NET service in IIS (No Interface)

I've written a small application that simply has a timer that polls a database on a tick. When specific entries are found, it does a bit of processing. Currently this is written in C# and hosted in a Windows Service. Many of my team's other, more "interactive" services are being moved to being centrally hosted in IIS. For consisten...

Wordpress permalink on IIS server

I have a WordPress Install on an IIS server using Helicon APE to emulate .htaccess config I have the standard wordpress .htaccess to setup the url rewriting However, as far as I can tell, wordpress then use the server variable ( echo $_SERVER['REQUEST_URI'] and/or $_SERVER['HTTP_X_REWRITE_URL'] ) to now what page to serve. As both var...

Is there an equivelent of Microsoft.Web.Administration for IIS versions prior to 7.0?

Seems this namespace is limited to IIS7 and upwards. Are there any managed libraries from Microsoft or elsewhere that enable you to survey the configuration (just looking for read only config) for a given set of IIS installations? Otherwise one would have to poke through web.configs, the metabase, and try to cobble it all together. ...

Is Log4net threadContext safe to use with WCF hosted in IIS?

I've read in a few places that the log4net threadContext isn't safe to use in an asp.net scenario. Here are a few articles: http://stackoverflow.com/questions/1066062/log4net-threadcontext-and-global-asax http://piers7.blogspot.com/2005/12/log4net-context-problems-with-aspnet.html So my scenario is I want to use the threadContex...

Run SVN repositories under IIS

How to setup IIS 7.0 to serve SVN repositories? First of all I need to make possible remote users to checkout and web-based viewing isn't really necessary. I tried to setup WebSVN but got no success: can't set parent folder for a number of repositories, can't switch off anonymous access, can't link non-anonymous access and access list....

Map a domain to an MVC area

Anybody got any experience in mapping a domain to an MVC area? Here's our situation: Old system (still active but will soon redirect to new store): www.example.com - our main site where we send traffic store.example.com - our store site which is a completely separate site that is indexed in google New system: www.example.com - sam...

IIRF reverse proxy problem

Hi everyone, We have a java application ( Atlassian Bamboo) running on port 8085 on Windows 2003. It is accessile as http: //bamboo:8085. I am trying to setup reverse proxy for IIS6 using IIRF so content is accessible via http: //bamboo. It seems that I set it ip correctly, and I can retrieve Status page. This is how my IIRF.ini ...

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...

Get name of virtual directory?

I'm using Request.ApplicationPath to learn the name of the Virtual Directory in which I'm running. Is there a more reliable way? ...

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...

IIS Host Headers using PHP

I'd like to add Host Headers to an IIS from PHP. Is there a way to access the metabase from PHP or do I have to write a .NET command line tool and then invoke it from PHP? Here's the background for the question. I have a Wordpress MU installation on Windows 2003/IIS6. The only way the setup will support subdomains (blog.mainsite.com) is...

Why is my application pool having memory usage spikes?

I hosted my application in production. Within 5 to 6 hours the application pool spikes and uses more memory? What application objects or system objects are stored in the application pool? ...

Securing Large Downloads Using C# and IIS 7

Here's the setup: 1 web server running a C# app to which my users (stored in a MySQL database on said server) authenticate. 1 file server running software TBD. In the past I've used lighttpd and mod_secdownload to secure the files on the file servers, and it's worked well(ish). I'm wondering if there is a way to do this using a com...

How do I authenticate a user to consume a web service programmatically?

I have a web service set up on an IIS server. When I navigate to the page in a web browser it asks me for my user name an password, as desired. However I want to consume the service in a .NET application (C#). What do I need to do to provide a user name and password programmatically so that I can consume the service? Or is there some oth...

Running into an SQL Error with an MVC Application deployed on IIS

Hi, So I am new to working on web projects in general. I am working on an MVC application in Visual Studio 2008. I have generated an SQL database within VS, and I have deployed my application on IIS. However when I try to do anything in the application which will spark an SQL query, I get the following error: "Failed to generate a user...

What folder in Windows everyone or IIS User has access to read and write?

Hi,folks Recently i start develop a setup program using asp.net , I want to save some global information on server machine . Registry is a way but IIS User default not write permission. So i think some folders such as "Application Data" can do it,but everyone did not write Permissions.Is there other way to solve this problem? ...

How do I share a hash key between servers for web.config etc?

Is there a way of creating a hash key that can be used by our different servers for decrypting connection strings in web.config, and how would I do that? Any pointers? Thanks for the help! // Peter ...

How do I find out what user my ASP.Net MVC application is running as?

I want to display the windows user that the application is running as on a diagnostics page on my ASP.Net MVC database check page to help the user check whether they've setup their IIS correctly. Where can I find that information? I tried System.Threading.Thread.CurrentPrincipal.Identity.Name but that appears to contain the logged in u...

Assembly resolution in Unity

I have a WCF service project hosted in IIS. The main SVC file is in the root of the web application folder, and in the bin\ folder are the actual dlls. The web.config (also in the root) contains all the unity mappings. Unfortunately, it seems that because the concrete assemblies etc. are living in the bin\ folder, Unity cannot find them....