iis7

Development machine IIS version vs deployment IIS version

My development machine is running Windows XP SP2 (and IIS 5.1 by implication). Until recently our deployment environment was based around Windows Server 2003 (and therefore IIS 6.0). We are about to move to Windows Server 2008 (and therefore IIS 7.0) for a new project. Our projects use ASP.NET MVC and WCF Services. Are there any key ...

ASP.NET routes on IIS 7 keep reverting

I have deployed an ASP.NET MVC web application to an IIS 7 server. It's in the root directory of the www folder. There is a sub folder that is not part of the application that needs to be served up as normal. So I added some code into my MVC app routes. Basically I: routes.IgnoreRoute(name); var ignore_route = string.Concat(nam...

Difference between IIS 6.0 vs IIS 7.0

We are using Windows 2003 server with IIS 6.0 and thinking of migrating to Window Server 2008 with IIS 7.0 to host our .Net applications Is anyone aware what are the benefits or drawbacks of it? ...

system.webserver section in machine.config

Hi, I've installed Windows 2008 Web Server and enabled IIS. However, my machine.config file shows: section name = "system.webServer" type = "System.Configuration.IgnoreSection... Does it mean that the system.webServer section is ignored? Why? I tried to edit some web site's properties (e.g. directory browsing), and it works correctly....

GZIP (static compression) with IIS7 and PHP running under Fast CGI

Does anyone have gzip (static compression) working with IIS7 and PHP running under Fast CGI? The gzip works on our server with ASP.NET apps compressing JS and CSS files but doesn't seem to work with a PHP application. ...

Network Service user vanished on IIS7.5 on Windows7

I'm installing the ASP .net on Win7, and I need give permission to ASP .net to use the project folder. I have tried Network Service and didn't work; Win7 didn't find that user. I know that previously the user was ASPNET and later is Network Service, but now, something changed or I'm doing something wrong. Please help me. Edit: *I lear...

Session Time out in IIS 7

Hi, I like to host asp.net web application in IIS 7.0 (windows server 2008). I configured session state as sessionstate mode="inproc" timeout = 120. Even the session expires within 15 seconds. What could be the problem?. Thanks, P.Gopalakrishnan. ...

HOWTO transfer a request made to an Apache server to an IIS server without using a URL redirect?

My Apache 2.2.9 runs on Debian Lenny 5.0.1 with 2 network interfaces, one interface has a public IP and hostname, the other is not configured. This machine caters to services that run on the LAMP stack. There is a Windows Server 2008 SP2 machine running IIS 7 that serves our ASP.net needs. The box can be configured to be either on a loc...

Configuring IIS7 to server both a wildcard ISAPI DLL and static files

I have an ISAPI DLL that is configured in IIS for wild card mapping. When a request URL corresponds to a static file, I want IIS's StaticFileModule to serve that file. When the file doesn't exist, I want the ISAPI DLL to handle it. The handlers section of my web.config, located in the root of the static files hierarchy, looks like t...

PHP default document (index.php) displaying code as plain text in IIS7

Hi, I've recently setup PHP 5.2.9-2 on IIS 7 on Windows Server 2008 SP2. Most everything seems to be working fine -- PHP is running great, just about all PHP code runs perfectly... EXCEPT for default pages. Any default document (index.php) is not interpreted by PHP and the page merely displays the underlying PHP code in the browser. Be...

How can I overcome a slow loading application with several app pools in IIS 7 ?

Hi, How can I overcome a slow loading application with several app pools in IIS 7 ? And not have requests wait for the server to load (in case of recycling) and create a queue. But have the server loaded while hitting recycle condition before the first requests arrives. Thanks, Oshrat. ...

I frame loads always same page instead of different pages

Hi I have a problem with IIS7. I have a website that was previously under Wamp server, now I've moved it under Window server with IIS7. My problem is that now when i try to open a link that opens a page in an iFrame it always load the same page and not the correct one. Anyone can help me? Thanks ...

w3wp crashes when starting debug in VS 2005

I know there were a couple similar questions, but none solved my problem. This issue just started within the last couple of days. I don't always hit VS everyday, so I can't say for sure when it began. When I start debugging, the app loads in IE, but the w3wp process dies with the message "The program '[9252] w3wp.exe: Managed' h...

How do I redirect this url pattern in asp.net webforms or asp.net mvc?

I am trying to redirect a user when they entire a URL in this format: http://example.com/http://example2.com/ To the following: http://example.com/?m=example2.com#http%3A%2F%2Fwww.example2.com%2F I want to strip out the host of example2 and make it a query-string, then URL encode the full URL of example2 and put it as the anchor. ...

Need help with some web.config settings.

I'm trying to play with my IIS7 compression settings in my web.config file. I'm trying to enable HTTP 1.0 requests to be gzip. MSDN has all the info about it here. Is it possible to have this config info in my own website's web.config file? Or do i need to set it at an application level? Currently, I have that code in my web.config... ...

Does DefaultAppPool run with special elevated privilegs on IIS?

I'm running a piece of code within a web page that queries the IIS metabase using ADSI. The code is as simple as this: DirectoryEntry iisNode = new DirectoryEntry("/LM/W3SVC/1/ROOT/MyAspWebsite-1-128886021498831845"); foreach (DirectoryEntry de in iisNode.Parent.Children) { System.Console.Wri...

Is there a way to use SSL only during authentication?

Is there a way (on IIS 7) to use SSL during basic authentication, and then somehow go to a non-SSL session? We have an intranet app which users have requested to have visible outside the organization, so we need to SSL encrypt the basic authentication process, but there's no real need to encrypt the rest of the session and don't want to...

Custom file extensions IIS7

I need to create a custom file extension for asp.net, "home.file"... In IIS6, its pretty straight forward but I cannot find any documentation that will tell me how to do this in IIS7. I tried a Script Handler Mapping to map the ISPAPI.dll but it doesn't seem to redirect to the .net process because I cannot seem to attach to the process. ...

Can you add a folder structure to IIS7?

I am in the process of setting up a new server which I share with 2 colleagues. Is it possible to get a folder structure into IIS7 at all (in the MMC) so we can keep our sites seperate? In the IIS7 management console I would like a set of folders foreach of my colleagues so that each of our websites are within their own sub folder. ...

Simultaneous requests to a HTTP Handler not working

I have a Generic HTTP Handler (*.ashx) in my ASP.Net application which performs some basic but time consuming computations printing progress statements to the output as it goes to keep the user informed. Performing these computations involves reading some data files which are locked by the handler while using them, so it's important tha...