How to Install and Enable URL Rewrite Module for IIS 7 and 7.5

URL Rewrite module is one of the important modules in IIS. It enables you to achieve critical tasks by defining rules to be executed for the incoming requests to your website. Some of the tasks you can achieve using this

Read More How to Install and Enable URL Rewrite Module for IIS 7 and 7.5

IIS and DNS Settings for Mobile Redirection

There are many posts on the internet that tell you how to do a mobile device detection and redirection. I have a post on that subject too. But here the subject is about what you should do before redirecting to

Read More IIS and DNS Settings for Mobile Redirection

It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

I was trying to apply subdomain redirection on a website, say website1(subdomain1.website1.com). For that I copied the whole code of another website (website2), pasted it in a folder under the root of website1 (website1.com/folder1). I was planning to redirect subdomain1.website1.com

Read More It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 – The handle is invalid.)

I recently got this error message when I was trying my website out. It had been working quite fine for a couple of months with no problem but suddenly there this error was… I made a quick search and many

Read More A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 – The handle is invalid.)

How to – Debug ASP.NET Applications Hosted on IIS

You have a website deployed on a remote server (VPN or dedicated server, not shared hosting). Your code works fine on your development machine, when you debug there is nothing wrong, and everything is working just fine. But when you deploy it there are some

Read More How to – Debug ASP.NET Applications Hosted on IIS

Server Response Error: ‘Access to the path … is denied.’

If you see this message and you are using IIS 6.0+ then you should do the following: 1.Open IIS Manager 2.Expand your website's folder and right click the folder that can not be accessed 3.Right-click this folder and then click

Read More Server Response Error: ‘Access to the path … is denied.’

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …

I faced this message when I was trying to enable E-Mail sending on VPS hosting using Windows Server 2008 R2. Here are the things to do to solve it: 1. Check if you have SMTP feature installed, because it is

Read More System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for …