iis6

How to restart IIS 6 's defaultAppPool using asp.net C#?

How can I restart IIS 6 's defaultAppPool when I click a button of a webform page in an asp.net web app. I tried to use HttpRuntime.UnloadAppDomain(); but it can not restart the IIS 6 's defaultAppPool. ...

Setting ResponseCode manually at CodeBehind fails with IIS7 and 2008 Server

I have developed a web app a year ago aimed to work with IIS6. Now we are moving to IIS7 and I thought, I'd do some integration tests. One of this fails: The web app is more or less a search-engine, giving a 404 or 500 (thanks to your google-advisor ...) when there weren't any results or the data-container is not loaded yet. With IIS6 t...

Slow loading of images on IIS 6, Windows Server 2003

Hi, I have a Windows Server 2003 64-Bit VPS, and I'm experiencing a problem with pages, or rather more specifically images loading slow for all of the websites that are hosted on it. I have a shared hosting account with a particular company and also the VPS, and an identical site loads slower on the VPS. Initially I thought it was a c...

Renewing a wildcard SSL certificate in IIS 6 (1024 to 2048 bit)

I currently have a wildcard SSL certificate running on IIS 6 and needs to be renewed. The new certificate bit-strength is now 2048 (the current one that needs to be renewed is 1024). Is there any easy way to get a certificate request file that is 2048 bit when renewing from a 1024? I don't see the option to change bit strength for ren...

Website Unresponsive - Overloaded w3wp.exe Process

All, I'm currently having trouble tracking down an issue we are having with a production website. The issue is that the site is becoming unresponsive during the day, requiring a recycle of the application pool to get the site back up and running again. If we don't see the issue right away, there are times when the site will come back up...

Hosting a precompiled WCF REST service in IIS6 - how?

Can anyone provide a repeatable process for hosting a precompiled website or a web application in IIS6 that can be built using aspnet_compiler? I cannot get code to build reliably (works sometimes) with aspnet_compiler without hitting the "cannot load type: global" error. Changing to a website does not help as I can't even get the precom...

How to detect session timeouts when using cookieless sessions.

I'm currently working on a ASP.Net 3.5 project and trying to implement session timeout detection. I know how to do it with enabled session cookies, but without i'm totally lost. When session timeout occurs i want to redirect the user to some custom page. Can someone explain me how to do it? My cookie based solution looks like this an...

What causes an HTTP 405 "invalid method (HTTP verb)" error when POSTing a form to PHP on IIS?

I have one form in a PHP (5.2.9-1) application that causes IIS (Microsoft-IIS/6.0) to throw the following error when POSTed: The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. It's an HTTP 405 status code. All other forms in the application work, so I believe that the ...

Enumerating Application Pools in IIS

Hello, I am wondering if there is a way to enumerate the collection of applications pools (not the applications in a given pool - but the pools themselves) on the local IIS server using ASP.net 3.5 without the use of WMI, and if so can someone provide a link or example to how this is done? (I forgot to add the IIS version is 6.0). ...

Uploading .swf content gives HTTP 502

Hi There, i have hosted my website in GoDaddy server,this is on iis 6.0 , i have an upload functionality to upload images,videos etc. when i try to upload .swf content, i recived 502 error ,but i could upload other contents like FLV ,.jpeg etc. any comments/suggestions Thanks in advance Deepak ...

Mercurial on IIS6+Win Server 2003 - path problems

I'm trying to get Mercurial going with IIS6 on Windows Server 2003 following the tutorial on this blog My setup is c:\inetpub\HG_web_interface\ and the folder containing repositories is in d:\HG_repo\ My hgweb.config looks like this [paths] test = D:\HG_rep\** [web] style = monoblue I tried pretty much every combination of forwa...

IIS 6 www redirect to non www

We have a Dot net nuke site setup to run on a domain, we would like all http://www.site.com to redirect to just http://site.com. I can find lots of info for IIS 7 but very little and certainly nothing that has worked for IIS 6. ...

Viewstate still present in page even though I'm using sqlserver to store the viewstate

I have an ASP.net web app and on my test (database) server I have enabled sqlserver to store the viewstate and when I run the app from visual studio this works fine. However when I try to host the app on the production machine (IIS 6) the viewstate is still present in each page request. If I use the exact same connection settings again...

How to know the IIS server ip for my website access

I have deployed a website in my server, how i know which what my server IP is ? if i know my server ip , i could access my website from outside ...

First request is very slow after website sits idle with Asp.net mvc IIS6

Hello, I have a project in asp.net mvc, my hosting is using IIS6, and the first request after the website sit's idle is very slow. I looked at, http://forums.asp.net/t/1418959.aspx and asked the hosting for this settings. They say that the actual settings are: "The pool is set with Idle Timeout disabled, Rapid-fail enabled and with a s...

System.Net defaultProxy section in web.config

Hello! I'm seeing a very strange issue on our live platform that consists of four webserver Windows Server 2003 boxes sitting in a cluster behind an ISA server cluster. They are all running IIS 6. We have the need for webservice requests to be made from a .Net 2.0 webapp to the outside world so we have utilised the 'defaultProxy' ...

adsutil.vbs usage on IIS6

I have an interesting request from my client and am trying to figure out the best way to handle it - with a script preferably. They want me to have 2 sites on production. The first is the actual live website, the second is the last version (in case we need to roll back) and will be the target of the next upgrade. Once the upgrade is d...

Session state and garbage collection in IIS6 for Classic ASP

This is a bit of a throwback question, and probably relatively fundamental, but I'm at a loss. How does IIS manage Classic ASP session state? We have an app that stores user information in session, and when many users are using the app, it seems to be recycling session for users, even though the "expire period" has not elapsed. We su...

Unable to use 80 as a HTTPS port in IIS6 when .NET Framework 3.5 is installed

After upgrading to .NET Framework 3.5, I can't set 80 as a HTTPS port in IIS6. Only when I uninstalled .NET Framework 3.5, IIS accepts 80 as a HTTPS port again and operate normally. The question is whether this behaviour is by design or a bug results from unexpected interaction between IIS and .NET Framework 3.5. To my understanding, D...

how to allow .com in a url path using IIS6 on Win2003 R2 x64?

it seems IIS6 on Win2003 R2 Enterprise x64 SP2 will not allow you to use .com in a url path. e.g if i create a folder foo.com in my web root, containing a default.htm, this url results in a 404: http://localhost/foo.com/default.htm however, following the exact same steps on Win2003 R2 Standard x86 SP2, and IIS6 will serve up the file ...