Tuesday, June 7, 2011

WCF - The page you are requesting cannot be served because of the extension configuration

The page you are requesting cannot be served because of the extension configuration.
Today I was getting bored. So just for time pass I was uninstalling and installing IIS repeatedly. Just for fun. Sounds crazy right? But I was doing it.
Finally at the second half my team lead asked me to create a sample WCF service and host in IIS with some useless functionality. J


Well, I created WCF, hosted in IIS. When I browsed .svc page, I received following error –
HTTP Error 404.3 – Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.


This was the point when I was happy!! J
Cause of the Problem – If you have Visual studio installed, then uninstall and install IIS again, then you will get above error. Due to uninstall of IIS, extension mappings for WCF SVC file were removed.

Wednesday, June 1, 2011

Windows Azure Connect – Enabling local machine or domain controller for windows azure connect

Enabling local machine or domain controller for windows Azure Connect.
After post of Enabling Azure Connect for VM Role, today, I will discuss about enabling local machine or domain controller for windows Azure Connect.
To enable local machines to connect to your Windows Azure roles, you need to install the connect endpoint software (connect agent). Login to local machine which you want to use for Azure Connect and follow al the steps mentioned below –