Interested in Sitecore?

Apply for our Mentorship Program by emailing your resume to Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Thursday, April 16, 2009

Debugging a windows service

It took me a while to find this again. If you place this line of code in your onstart event then it will launch the prompt to debug and you can run your service in visual studio.


Hope this helps you as well.

If you have any tips tricks, resources you would like to share with the group please email them to Susan Fischer at

Saturday, April 11, 2009

Error when browsing to wcf service .svc

PROBLEM: You try to hit your WCF Service and get an error. When you try to browse to it you get the 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.

SOLUTION: This usually means that WCF is not registered with IIS. You can manually register it by clicking on start and run and running the following command:

C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\servicemodelreg.exe -i

If the directory does not exist then it means the proper version of the .net framework is not installed. You can install the proper version from the Microsoft site.

If you have any tips, tricks, or resources, please email them to Susan Fischer at and we will post them.

Thursday, April 9, 2009

Session keeps timing out when debugging iis7

I found out why this is happening.

In IIS7 on the Application Pool, there are ping settings that will kill a session if it gets not response. This is great for production as it keeps iis running slim but when debugging in Visual Studio and stopping on a breakpoint that is nasty.

I found an article that explains how to disable the ping or extend the timeout period.
Application Pool Ping setting in IIS

If you come across any tips, tricks or resource you think the group will find helpful please email them to Susan Fischer at and we will post them here.