March 2009 Entries

Internet Explorer 8 Released

Internet Explorer 8 has been released! If you want some of the new features: Accelarators Enhanced Navigation Increased Performance Better Favorites and History Management Instant Search Web Slices Safety and Security Go ahead and install it!

posted @ Friday, March 20, 2009 4:35 PM | Feedback (0)

Reference svcmap specified argument was out of the range of valid values

WARNING: This worked for me and I’m not saying it is the right solution. Some cases may vary from mine. In my case this error occurs after deploying a WCF Service to IIS 6 which was referenced from Visual Studio 2008 with .NET Framework 3.5 SP1 and works perfectly in the local development environment. The server is a Windows Server 2003 with .NET Framework 3.5 without the SP1 installed. We solved the problem by installing 3.5 SP1. It would be nice to have all environments set up the same, but such is life :) Happy Programming!

posted @ Friday, March 20, 2009 2:57 PM | Feedback (0)

Installing IIS after the .NET Framework

I know that the .NET framework can have a lot of dependencies for certain features to work properly. For example in order to install ASP.NET correctly on a web server is to have IIS installed first, if not then a lot of scripts are not going to get executed during the install. Knowing that I always have IIS installed prior to installing any version of the Framework. For some reason I haven’t done that on a Virtual Machine and IIS was throwing a lot of weird errors such as “Failed to access IIS metabase. The process account used to run...

posted @ Thursday, March 19, 2009 2:58 PM | Feedback (0)

SqlConnection: To Close or To Dispose?

A well written program will always clean up it’s resources and with SqlConnection is no different. We should always open, use, close. Some people are paranoid about it and would do something like this: 1: conn.Close(); 2: conn.Dispose(); 3: conn = null; Now that’s one dead connection! But is all this necessary? Should we call Close and Dispose? When should we call Close and when should we call Dispose? Well, if we use the Red Gate’s free Reflector and browse to System.Data.SqlClient.SqlConnection and to the Dispose method we can see that it will in turn...

posted @ Thursday, March 12, 2009 6:05 PM | Feedback (0)

Launching The ASP.NET Web Site Administration Tool (WSAT)

According to MSDN “The Web Site Administration Tool allows you to view and manage your Web site configuration through a simple Web interface.” This website also allows you to manage your users and roles if you are using the built in Membership and Role providers of ASP.NET. I have used this Web Interface before for some book demo, but never for a real life project, so I knew it existed, but I didn’t know where. To make a long story short, to launch the WSAT in Visual Studio 2008 simply click in the ASP.NET...

posted @ Wednesday, March 11, 2009 9:18 AM | Feedback (0)