iis7

VS.Net 2008 Express Edition remote connect to iis 7 (FPSE not installed error)

i have a windows server 2008 setup on my vmware and my main OS is winxp. my problem is, on my winxp, im using vs.net 2008 and when i try to connect to the guest OS (IIS7), im getting "The Web server does not appear to have FrontPage Server Extensions installed." error. i tried installing FrontPage Server Extensions for IIS 7.0 (http:/...

Problem with getting custom errors to display on IIS7

We're running a site built in EPiServer (CMS5 R2, latest version) and ASP.NET 3.5 that's running on IIS7, we've built a custom error handler that utilizes the URLRewriter-functionality of EPiServer to handle 404 and 301 status codes, everything works locally (Windows 7 + IIS7.5) but we just can not get the 404 pages to work on the live s...

IIS7 + ASP.NET MVC Client Caching Headers Not Working

Hey folks I've deployed an ASP.NET MVC app on IIS7 and Windows Server 2008. I've read posts on here, and around the web, but can't get the darn client-side caching to work. I'm trying to cache everything in the /Content folder. So far I've select that folder in IIS manager, and set the appropriate HTTP Response Headers (under Common ...

'+' causing bad request in URL's

I am Server.UrlEncode on some query string parameters and locally it is fine but on my server (IIS 7) it causing a Bad Request error. I am using ASP.Net MVC. If I manually change the + to a dash - the request works fine. This breaks: http://www.example.com/Glenn+Pang/234 This works: http://www.example.com/Glenn-Pang/234 Is this...

How to prevent a IIS7 Rewrite rule from loading ASP.Net Ajax Client Framework?

I'm developing a webapplication where users will have a custom url just like in Twitter (twitter.com/holiveira). I've created a redirection rule that points to a page where I use the string after the domain name to search in the database. The problem is that this rule is preventing the Scriptresourse.axd files used by Asp.Net Ajax Clien...

SMTP, IIS7 and Windows Server 2008

Hi, I'm having trouble setting up SMTP to relay through a 3rd party server. I'm new to Server 2008 so please bear with me. I have found the SMTP server in IIS6 which is currently off, but is there one I need to use in IIS7? (IIS7 websites do have the SMTP icon so that 'role' must be installed). I have used the IIS7 icon to set the re...

IIS7 Stopped site

I heard that in IIS7 when one of the site is stopped, the request to that site's root is served from the default site. But when I stop the site, the request is not served from the default site. Is there any setting. I just want to make it behave like that when site (Say 'site1') is stopped, IIS should display iisstart.htm page (Which i...

IIS7 Simple http authentication

I've seen this question before but can't find a good answer for it. I have an ASP.NET website using formsauthentication, it has some anonymous and protected parts. Now I publish this on a development machine connected to the internet, I only want testers to have access to this website. So outsiders cannot see anything of the website, no...

PHP on IIS7 and Windows Server 2008 - Pros and cons

Hi guys, Background: I work for a small microsoft based web dev company who is slowly starting to do more PHP based work. To date we've run these sites (mostly WP) through IIS6 on Windows Server 2003 although this presents problems around mod rewrites etc. We're at a stage where we can make a decision between upgrading our existing se...

Microsoft.Web.Administration VirtualDirectory permissions

I'm able to create a Virtual Directory in IIS7 using the Microsoft.Web.Administration dll pretty easily in the code shown below but I've been pulling my hair out trying to find out how to give "Network Service" write permissions to the Virtual Directory once it's been created. Can anyone point me in the right direction? Private Sub Cre...

Register/Alter MIME associations in asp.net mvc Web Setup Project

I'm making a Web Setup Project of my Asp.net Mvc project. I'd like the installer to change some MIME associations on IIS7. How to do this? ...

Is it possible to bin deploy the IIS7 URL Rewrite Module?

Hi, Can the IIS7 URL Rewrite Module be bin deployed with an ASP.net application? Or does it need to be explicitly installed on every web server? Thanks, Jon ...

which one overrides other? httpruntime executionTimeout or Connection Time-out

As per subject which one overrides other? executionTimeout in web.config or Connection Time-out property in iis7 website properties? ...

IIS7 & 301 Redirects - Folder to File

Hi, We're using IIS7 and ASP.NET 3.5. We have updated our website with new pages. Now, there are many links on the internet pointing to our website, however many of those links are now broken due to a change in our directory structure for our new website. I need to have a number of requests, 301 redirected to the "new page." Many of...

Php not reporting any errors on IIS7

Hi, I am developing a PHP application using our XAMPP setup as a test server. Once the app is ready to deploy, I have to upload it to the client's server, The problem is the client's server is running IIS 7, and every time there is a PHP error it just displays a blank page... Now, my app has error_reporting(E_ALL) already set, and I d...

PHP Error output - Plesk 9.2 with IIS7 and FastCGI

Hi All, Where can I view PHP errors that are generated by a Plesk 9.2 website? I currently get a generic 500 error when I create a test PHP error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. I have, unsuccessfully, tried to activate error reporting in the Plesk g...

IIS7 Win2008 ... Response does not include WWW-Authenticate header?

Hey all, I've encountered a Win2008 IIS7 installation that appears to be refusing to send the WWW-Authenticate response headers automatically (the virtual dir is configured for Anonymous and Windows Authentication... and the first request is being rejected with a 401-Unauthorized response). My clean test environment does this properly ...

Asp.net 2.0 Button click method works inconsistently in a web garden

We have a asp.net 2.0 web application that is running on IIS7. It is using web gardens and asp.net state server. On the page, there are many user controls. On one of the user controls, we have added logging on the button_click event that writes a line in the log whenever that method runs. When we click the button, it only periodically ...

How do I fill in the Interner Server Certificate request form in IIS7?

I'm requesting my first SSL certificate for one of a pair of test servers (2008 R2, IIS7). Our CA is not part of AD so I've worked out that I need to do the 'request an Internet certificate'. That link isn't very helpful, though, because it doesn't tell you what to put in the boxes. I'm pretty sure I'm okay with everything except the ...

sending Http request error (Http 503) in C#

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 to develop a console application and I send request to another server (IIS 7.0 on Windows Server 2008). I find when the # of request threads are big, the IIS 7.0 will response with http 503 error. Any ideas what is wrong and how to tune to make IIS 7.0 serve more requests? Here is my...