iis7

Possibly really stupid Web Farm Framework question

Hi all My apologies if this is a really stupid question, but I have installed and set up the new Microsoft Web Farm Framework in a UAT environment with a controller machine, a primary, and a secondary server. I have installed one of our in-house applications on to the primary server and it has been successfully provisioned across to th...

Can I programmatically manage (add/edit/delete) IIS 7 Sites from Coldfusion?

Using Coldfusion 8/9, how would I go about managing IIS7. For example: I am building a website generator, when someone fills out a form, a website will be generated. A step in this process will be to create an IIS site with specific host headers/ip bindings. Another step may be to allow the user to upload a SSL certificate. That may...

Using IIS's URL-Rewrite on GoDaddy - why won't it work?

I have a Deluxe Windows Hosting account with Godaddy, and I'm trying to set up URL rewriting with Web.Config. I read that GoDaddy has the IIS URL Rewrite plugin installed, but they have no support for it whatsoever (see here: http://help.godaddy.com/article/5443) I tried a simple rewrite rule in my web.config, but nothing happened: <...

ASP.NET VS2010 Sub application resource cost

Hello, I was considering having a sub "web application" in my asp.net (4.0 C#) web application (using the same application pool). E.g. for a blog application so I may keep things separate. How much additional resources of the server does a sub-application take? Or rather how much resources (excluding the app pool) does a web applic...

ASP.NET MVC and Web Farm Framework for IIS 7 Problem

I am trying to set up small web farm using "Microsoft Web Farm Framework 2.0 Beta for IIS 7" Everything works fine, except for one problem - My web application is written using ASP.NET MVC 2 and there is no references to ".aspx" files used. A typical url looks like: http://192.168.2.35/Billing/Account/Create Howver when this url ...

How to prevent other users from downloading/opening others files?

I am making a small file hosting website, and each user can upload multiple files, and will have access to just his files and can't access others files, for example by guessing the URL. Is there a way to secure files to have access by just the owner and no body else "may be website administrator also will have access" Update if you can ...

Create a WCF service hosted in IIS7 alive between request?

How can I keep a WCF service alive between requests? The service is creating a simple cache in memory on initialisation and I dont want the service to have to re-initialise between requests. The cache is built up using data extracted from a database and so for efficiency i only need this to be done rarely. The database is not going to ...

Is it possible to disable the browserCaps functionality in ASP.NET?

Is it possible to disable the browserCaps functionality in ASP.NET? I wish my site to be served reliably and exactly as I have it defined to all browsers regardless of their capabilities. If their browser can't support the site, that's their problem. My site should not be some how attempting to degrade itself to accommodate the defun...

Why do I need 'Classic Mode' in ASP.NET MVC in IIS7?

Why do I need 'Classic Mode' in ASP.NET MVC in IIS7? Integrated Mode provides more features and better performance, so why do I need Classic Mode? Perhaps I dont understand the differences, please can someone explain? ...

How to get Custom Error Pages working for Classic ASP with IIS 7 Integrated Pipeline

I'm working on a website with legacy Classic ASP pages (being converted to ASP.NET on an as needed basis) and new ASP.NET pages. Use of IIS 7 Integrated Pipeline has been very helpful with our configuration. For example, we were able to get forms authentication working auto-magically with the classic ASP pages simply by configuring the a...

w3wp crashing out

Hi, One of our web servers is suffering from random w3wp.exe crashing and after a couple of weeks of debugging i simply cannot figure out why. The only thing that has helped so far is reducing the max worker processes from 15 to 5 however this isn't ideal as we are using a multi-cpu machine in the hopes of reducing the total number of s...

IIS URL Rewrite Module : Rewrite Query String Value using Map

I would like to rewrite a query string value using a map in the IIS Url Rewrite Module. Example Map: one -> eleven two -> fifty three -> ninety So the following URL: http://www.mydomain.com/page.aspx?id=one turns in to: http://www.mydomain.com/page.aspx?id=eleven Note: there may be other query parameters passed in ...

Why does HttpContext.Current.Request.Url.AbsolutePath return an empty string?

When user requests http://localhost/WebApp1/Default.aspx, txtApplicationPath.Text should be assigned “/WebApp1”, while txtAbsolutePath.Text should be assigned “http://localhost/WebApp1/Default.aspx”, but instead both textboxes display empty strings. Why? Default.aspx: <asp:TextBox ID="txtApplicationPath" runat="server" Text='<%...

WCAT returns 400 bad request for all requests??

Hi. I posted this in the IIS forums but there has been no replies. So I thought I would try here. I was using WCAT 5.2 before and that worked ok. I'm trying to run both the client and server and IIS 7 on my local machine. For some reason for every url I request the status is always 400 (bad request) When I look in the htterr logs the re...

ASP.NET MVC 2. Javascript Error when deployed to IIS7.

Hello guys and girls Been working on a ASP.NET MVC 2 solution for some time now and today I decided to test in in the IIS7 so I could put in on a company server for my colleagues to play with. However I got quite a surprise when I hosted it. I started to get Javascript errors in code that worked while running it locally in my VS2010. ...

HTTP Error 400.13: Still getting just the structure of my files, even after enabling Directory Browsing on IIS7.0!!!

Hello, Each time I deploy my application either on my laptop (Vista) or on my desktop(XP), I'm getting the following error: "HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory". After doing some researches, I'm advised to enable "Directory Browsing". But, instead of getting the applicat...

Why do I get a timeout when uploading files larger than 100KB?

I have a web site on IIS7. I can upload a maximum of 100KB, but if I try any files larger than 100K then I get a timeout error. I have added following setting to my web.config file but I am getting the same error: <security> <requestFiltering> <requestLimits maxAllowedContentLength="2000000000"></requestLimits> </requestFilter...

Why does IIS7 take a long time

It looks likes if I don't visit my low traffic site for a day, it takes a long time for the first page to load. I believe it's probably because IIS7 shuts down the application when it receives no requests for a certain length of time. How can I stop this from happening? I have a dedicated server so I have all the access required to c...

Redirect Status Code 302 between Tomcat and IIS 7.0 is not properly handled by the isapi redirector

We recently installed a web application under Tomcat 6 which is connected over the isapi redirector interface (see http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html) to an IIS 7 server. The connector works properly in every case, except for some pages in the web application that return a status 302, with a new location to ...

Hosting Student Projects on IIS7 in cloud

I am planning to teach an ASP.NET MVC course some time. I would like to host the students project's on a web server accessible via internet. To this effect I am planning to rent a Windows machine on Amazon ec2. The students will be uploading their ASP.NET Websites so that they can see their projects online and allow other students to acc...