Blog @ gafvert.info

» IIS: Two questions from the newsgroups - Week 39

Each week I take two questions from the IIS newsgroups (or IIS forums) that I think is of public interest, and I answer them here as well. Questions and answers may be modified to be more general and more useful for everyone. The two questions this week are:

Where do I get help with my IIS questions?
I have a question about IIS. Where can I ask this question?

Cannot access the website from the Internet
I cannot access the website from outside our local network. I can access it from the server itself, and I can also access it from another machine on the LAN. But when I try to access it from the Internet, it always returns with "Internet Explorer cannot display the webpage".

| Read full article | Permalink | 2007-09-23, 16:00 GMT +0100 |

» IIS: Two questions from the newsgroups - Week 38

Each week I take two questions from the IIS newsgroups (or IIS forums) that I think is of public interest, and I answer them here as well. Questions and answers may be modified to be more general and more useful for everyone. The two questions this week are:

Application state lost
I have a web application that is deployed on Windows Server 2003 Web Edition. We are using .NET 2.0 and the application works flawless on this server. But on another server, running Windows Server 2003 Enterprise Edition, it crashes and we have traced it down to be caused by loss of application state. Why does application state get lost and why does it work on one server and not the other?

"500 Internal Error" returned instead of "404 File not found" when ASP files is missing
I am running IIS 6.0, and whenever a client tries to access an ASP file that does not exist, they get a "500 Internal Error" instead of the usual 404. This is happening on ASP files only, not .html, .aspx, .php or any other extension.

| Read full article | Permalink | 2007-09-17, 20:00 GMT +0100 |

» IIS: Two questions from the newsgroups - Week 37

Each week I take two questions from the IIS newsgroups (or IIS forums) that I think is of public interest, and I answer them here as well. Questions and answers may be modified to be more general and more useful for everyone. The two questions this week are:

Redirecting specific files only
I know I can redirect entire sites or virtual directories to another location. But what about certain individual files? A large site is being updated and I need all the old files to remain accessible. I want the site to continue serving pages from the local directory, which will contain all the new files and the old files, but it should redirect when a request is for an old file.

Redirect from the old domain name to the new domain name
We currently have two domain names for our website - the old domain name and the new domain name. We only want to use the new domain name and we want all requests sent to the old domain name to be redirected to the new domain name. This should be fairly easy to do using "A redirection to a URL" on the Home Directory tab of the old website. But we want the path to be included in the redirection, so if the user types www.olddomain.com/folder/file.htm, they should be redirected to www.newdomain.com/folder/file.htm. Or if they type www.olddomain.com/file.asp?id=56 we want them to be redirected to www.newdomain.com/file.asp?id=56. How do we accomplish this?

| Read full article | Permalink | 2007-09-09, 20:00 GMT +0100 |

» IIS: Two questions from the newsgroups - Week 36

Each week I take two questions from the IIS newsgroups (or IIS forums) that I think is of public interest, and I answer them here as well. Questions and answers may be modified to be more general and more useful for everyone. The two questions this week are:

Metabase setting reverts back
From IIS Manager, I right click the server and click Properties and go to change the MIME type for .msg. I change it from application/x-message to plain/text. Then I restart IIS for the changes to take place and once IIS has restarted, the MIME type is back to application/x-message and the new setting is lost. Why?

The performance counter "Current Anonymous Users" is changed from Windows 2000 to Windows Server 2003
Are there any differences between Windows 2000 and Windows Server 2003 "Current Anonymous Users" performance counter? I have a website which is hosted from two servers with DNS round robin; one of the servers is Windows 2000 with IIS 5.0 and the other is Windows Server 2003 with IIS 6.0. When we look at the performance monitor, the Windows 2000 machine serves more users at any given time.

| Read full article | Permalink | 2007-09-05, 23:00 GMT +0100 |