If you are fed up with continually having to press “Attach” to attach to the IIS w3wp.exe to enable debugging in Visual Studio for IIS as seen in this screenshot: Then never fear, this is a way around it. All you need to do is adjust the registry setting (via regedit.exe) as Visual Studio wasn’t [...]
You may receive an error: Running transformation: Microsoft.SqlServer.Management.Smo.FailedOperationException: SetParent failed for Database ‘XXXX’. —> Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server XXXX. —> Microsoft.SqlServer.Management.Common.ConnectionFailureException: This SQL Server version (10.0) is not supported. When attempting to connect to a SQL Server 2008 database when working with T4 templates or simply accessing an SQL Server directly using the [...]
Nice juicy one today, of course in my unfortunate true style, that being where I couldn’t find one darn person who is suffering the same error as me on the Interwebs. I’ve had a few of these lately, so I thought maybe I might be able to at least help others. I had wired up [...]
Hi guys, well I have some very exciting news to report today, my fiancée and I have just opened a “registrations of interest“ form for our new online start-up hitting the waves real soon — entitled Fotochimp. We’ve gone bananas, we’ve gone playful, fun, web 2.0 (we all sick of hearing that term yet?) with [...]
Get it now! This is a public release, not just for MSDN subscribers! For more information check the Official Microsoft, Scott Gu & Hanselman links: “Microsoft Visual Studio 2010 & .NET Framework Beta 2″ – http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx “Visual Studio 2010 Beta 2″ – http://hanselman.com/blog/VisualStudio2010Beta2.aspx “VS 2010 and .NET 4 Series” – http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx I’m excited because apart [...]
WCF and security gets me again! Guys, if you are attempting to connect to a WCF service from a WCF endpoint and receiving this exception: System.ServiceModel.Security.MessageSecurityException was caught Message=”The HTTP request is unauthorized with client authentication scheme ‘Anonymous’. The authentication header received from the server was ”.” Allow me to help you perhaps, so you [...]
Awesome. Very awesome. The MonoTouch Novell guys have released an update to their fantastic framework, version 1.1 which includes some great updates including iPhone 3.1 APIs, WebServices (WCF) support, 30% less disk space for generated code and halved startup time. A few of you who follow me on twitter will know I’ve posted on this [...]
Alright, a big one today peoples. I’ve recently had the opportunity of writing a commercial custom self-updating software package after more than merrily ditching ClickOnceAndHope to the kerb due to exhaustive problems and restrictions, and I would like to share with you today a version I have made for you guys componentised and ready to [...]
I have made a helper class to the TaskDialog method that is featured in the Windows API Code Pack (available for a couple of months now), which gracefully downgrades the TaskDialog to a standard System.Windows.Forms.MessageBox if the client operating system is not supported, ie. if the client is not using Windows Vista or higher. As [...]
Another gem today, when attempting to add a subclass collection to a base type list using the AddRange() method you may encounter the following error using this code: List<BaseClassA> baseList = new List<BaseClassA>(); baseList.AddRange((IEnumerable<SubClassB>) subList); // Where ‘SubClassB’ is a class deriving from ‘BaseClassA’ System.InvalidCastException was unhandled: Message=”Unable to cast object of type ‘System.Collections.Generic.List`1[MyNamespace.BaseClassA]‘ to [...]