iis7

ASP.NET Web Garden - How Many Worker Processes Do I Need?

What is the best practice for deciding how many worker processes to allow for an ASP.NET web application? On one server I manage, creating a new AppPool defaults to 10 (maximum) worker processes. Other people suggest that the normal setting is one. What problem does multiple worker processes solve and what are the techniques for decidi...

mp4 in IIS 7 not playing good

I embed a MP4 movie in a page. The problem is that the video doesn't play good. There are snowy effect when you play the video. The embeded MP4 is playing good in IIS 6 but not in IIS 7. The MIME is set to .mp4/video/mp4 Server: IIS 7 OS: Windows 32 bit What settings are needed to stream it smoothly? Thanks. ...

After installing IIS7.5 on windows 7, all static content files get redirected

Hi, I just installed IIS7.5 on my brand new windows 7 box. I created a new site using .NEt 2.0 DefaultAppPool, and set up permissions on the database and on the disk for that DefaultAppPool user. All seemed good, until I deployed and visited my site http://localhost:9000 The page itself worked and returned html, but all static conten...

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

IIS 7 URL Rewrite doesn't work if the url has a question mark in it

Hi, im using the url rewrite feature of iis7 Im trying redirect a url like this xxx.com/?parameter=abc to a url like this xxx.com/somedirectory the url redirect works well if the source url doesn't contain a question mark in it. pls help -Vivek ...

IIS7: disabling HttpModule in subapplication - sites, application and virtual directories

I have a few aspx files in a "Cache" folder in my application and I do not want HttpModules to run for those files in that folder. I tried having a web.config in subdirectory but learned that HttpModules take the root web.config and not that of the subdirectory. Reference 1, Reference2. So I decided to have this directory as a sub appli...

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

Is it possible to use Powershell to make changes to Application Request Routing (ARR) in IIS7?

I'm working on some scripts to automate deployments. I use IIS7 ARR to load balance between two servers. When doing a deployment I take one of the two out of load balancing and my powershell script deploys code to that server so I can test it before making it live. It would be awesome if the script could also do the work of taking t...

IIS 7 and ASP.Net MVC issue

Hi - This is a bit complex - so here we go. I am developing a mobile web application using asp.net mvc and I need to test it locally on my iPhone. So far I have the first iteritaion of the site running on my local dev laptop. I created a virtual dir for the site under IIS 7 on the same machine. I deployed the site to that folder from V...

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

Set image expire date in asp.net

Using asp.net in visual studios and IIS7 when i get a host. I have a folder full of icons that will rarely change and is used on every page. Is there a way i can set a certain directory to expire something like once every 2 or so hours so i can decrease the amount of incoming request to the server? ...

httplistener doesn't work on port 80?

The setting: Windows 7, IIS installed and running. The following piece of code: HttpListener listener = new HttpListener(); listener.Prefixes.Add("http://server.com:8080/path"); listener.Start(); Works like charm - any request made against the server is received in my code. However, when I make the following change (moving to port 8...

Regex question - asp.net iis url rewrite

Could anyone help me with this regex issue? ^(Songs|Albums)$ becomes {R:1}.aspx This gives you songs.aspx, albums.aspx wondering if I can do this in Regex: ^(Songs|Albums|Songs/List)$ and how do I get SongsList.aspx from Songs/List? Thanks! Edit This worked: ^(Songs|Albums)/(List)?$ {R:1}{R:2}.aspx ...

PHP timeout during simple connection to MySQL - on win2k8 64bit IIS 7 / FastCGI php - new install

I installed PHP/FastCGI and Mysql on w2k8 64bit IIS7. PHPinfo() loads fine, and MySQL extension is properly installed. PHP displays echo commands. MySQL also works fine through the MySQL Command Line Client. I can create DBs, tables and users. However MySQL does not respond and the PHP script times out when simply connecting with mysq...

Classic ASP Impersonation problem on IIS7 Windows 2008 server

Hi, I am trying to write to a file on a server (web05) from a classic asp site running on Windows 2008 serer on IIS7 (webadmin). This fails and web05 logs an anonymous logon attempt during the course of the save operation. Webadmin's site is running on an app pool in classic mode with a domain user as the process account. The process ...

Programmatically retrieve requested protocol with c# from web farm load balanced with ISA

Scenario: The infrastructure that a website is built on consists of a web farm fronted with ISA servers, these ISA servers terminate the SSL of any given website and the requests between the ISA server and the IIS7 servers are always over port 80 (http). Therefore: Customer > [https] > ISA > [http] > WebFarm(IIS) Question: Is it possib...

Having jpg and gif handled by IsapiModule in IIS7

I'm struggling to get my HttpHandler to process requests for jpg and gifs. I've gone to the website's Handler Mappings and added the following line: Path: *.jpg,*.gif State: Enabled Path Type: Unspecified (I've also tried setting this to File) Handler: IsapiModule Entry Type: Local Running through Visual Studio works, so I know its n...

SDC Tasks Library: CreateVirtualDirectory with AppCreate="False" Ignored...

With the following: <Web.WebSite.Create Condition="'$(Flag)'=='false'" Description="XXX" Path="$(SolutionPath)\Blah" Port="8100"/> <!-- Add Resources VirtualDirectory --> <Web.WebSite.CreateVirtualDirectory Condition="'$(Flag)'=='false'" VirtualDirectoryName="Profile" Path="$(RootFolderPath)\Resources" Ap...

How to configure static content cache per folder and extension in IIS7?

I would like to set up rules in IIS7 for static content caching in my ASP.NET website. I have seen these articles, which details how to do it using the <clientCache /> element in web.config: Client Cache <clientCache> (IIS.NET) Add Expires or Cache Control Header to static content in IIS (Stack Overflow) However, this setting ap...

Web Platform installer and sql express database setup

I tried to install Amplifeeder today with the Web Platform Installer. When I arrived at the database setup I had to fill out some informations like "db admin user/password" and user username/password. Using SQL Express I do not have any username/password (neither admin or user). How should I be able to install applications with the WPI...