» IIS: Two questions from the newsgroups - Week 41
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:
ISAPI filter does not load
I have installed an ISAPI filter (URLScan), but it does not seem to be installed correctly. From the properties of the web site, I clicked on the ISAPI Filters tab, clicked Add and entered all necessary information. But once I have done that, the status does not change, which it used to do in IIS 5.0
Added MIME type, but still gets 404
I have added .java to the list of MIME types because I want people to be able to download these files. Despite this, IIS will not serve the .java-file, and I get a 404 status code returned. Why?
| Read full article | Permalink | 2007-10-10, 19:30 GMT +0100 |
» IIS: Two questions from the newsgroups - Week 40
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:
Exclude certain IP addresses from log file
I have a website monitor application that requests certain pages to ensure that the website is up and running. This does however affect the statistics, and I do not want the requests from this application to be logged. Can I setup logging so that requests from a specified IP address are not logged?
The difference between IIsWebDirectory and IIsWebVirtualDir
I am writing an installation package for an ASP.NET web application. Should I be creating the application root as a IIsWebDirectory or IIsWebVirtualDir? What is the difference between them?
| Read full article | Permalink | 2007-10-05, 19:00 GMT +0100 |
» 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 |
» Archiving emails in Outlook 2003
Over the years, Outlook (2003) has been slower and slower to start up for me, and even to work with. I have for long been thinking that the problem may be the size of the message database (the .pst file), since I never delete my emails (I realized today I have emails from 2001). But I have never done anything to it - until today...
| Read full article | Permalink | 2007-08-18, 20:00 GMT +0100 |
» Search engine for your website
When starting a website, you can focus on the authoring. The number of pages building up the website is small, can easily be categorized and links to the articles can be on one single page. But as time passes by, your website grows and the visitors needs a way to find older articles. Or in other words, you need to implement a search functionality for your website. But how...
| Read full article | Permalink | 2007-01-31, 00:00 GMT +0100 |
» You cannot have a customized "Server Busy" error page
In IIS you can limit the number of connections allowed to a specific website. This is done from the Performance tab in the website properties. When the number of allowed connections is reached, IIS returns a 503 status code (Service Unavailable). The text logged in HTTP.sys error log is ConnLimit...
| Read full article | Permalink | 2007-01-02, 21:00 GMT +0100 |
» How to generate random dates in Oracle
I currently work as a software tester, and to fully test the application I had a need to insert random dates between 2006-12-01 and 2006-12-20 into an Oracle database. DBMS_RANDOM can be used to generate random numbers, and it can also be used to generate random dates with a few tricks...
| Read full article | Permalink | 2007-01-01, 21:00 GMT +0100 |
» The domain name is not important!
Contradictory to what many other websites say, I am going to be radical and say that the domain name is not important. As many others (probably), when I was looking for a domain name, I searched on google.com for information how to select a "good domain name". The search result was overwhelming, I got some useful (or were they really useful?) tips on what a domain name should look like, and many websites said something along...
| Read full article | Permalink | 2006-12-31, 17:00 GMT +0100 |
» About this blog
As you have probably noticed, this blog does not look like any of the popular blogging software or hosted blogs (Community Server, WordPress, Blogger). Instead I decided to create my own blog, something that fits nicely into this website.
When I decided to start a blog, one requirement was that it should look like as if it is part of my website. It should not be a separate application, and it should not be hosted somewhere else. So my options were to either...
| Read full article | Permalink | 2006-12-30, 15:50 GMT +0100 |
» I have started a blog
I have now also joined the blogging sphere!
I have been thinking about it for a long time should I start a blog or not? Previously, I never saw a really good reason for having a blog, because I could just publish whatever I wanted on my website. But I have changed my mind, and I have also decided that this blog will be somewhat different to many other blogs (but every blog is unique that makes blogging so wonderful)...
| Read full article | Permalink | 2006-12-29, 15:39 GMT +0100 |