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.

Friday, December 14, 2007

Could not load file or assembly Access is denied

Microsoft in its wisdom does some silly things. Sometimes some machines will have this set
and other machines not by default. In any case, if you do not have this set it will not allow you
to include projects inside another tfs project.

This may also cause this to occur in other circumstances. If you get this error here is the solution.

  • Use windows explorer to go to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  • Right click on the Temporary ASP.NET Files and click properties
  • On the securities tab give User full control

See article below:

Could not load file or assembly Access is denied

Hope this article is helpful. If you run across any issue that you fixed or found a link to a useful solution or tip email me at or

Saturday, November 17, 2007

Subsonic - All your Databases Belong To Us

Recently a colleague of mine introduced me to an amazing technology. Subsonic is a tool that integrates closely with Visual Studio 2005 and will generate an object model for your database at compile time based on the database connection in your web.config.

This greatly simplifies your code as all the connection logic, proc calls with types etc all disappear into a couple lines of code. Its amazing. You should really look into it. I have provided a couple links here to get you started.\\

Here is the main site for the project:
You will also want the tools that integrate with Visual Studio 2005 available at:

If you have any cool links about subsonic post comments here with them or email them to me at or

Thursday, September 20, 2007

Enumerating SQL Servers from .NET 2.0

I ran into a situation where I was not sure of the name of the SQL Server I would be using on a hosted site. I found this code that helped to find a list of them all.

Hope this helps you too.

Thursday, August 9, 2007

Name/Value Collections

I noticed a few people are looking for information on name/value collections so I did a search and have posted a few links I have found here:

Name Value Collection Example:

How to convert NameValue Collection when using ViewState

name value collection in a web service:

How this changes in Orca:

Friday, June 22, 2007

Issue Downloading Orcas

I tried downloading Orcas from but part 5 seems to be corrupt.

I tried the Microsoft online Chat but was told to call tech support that told me to go to still no luck.

If anyone actually has a working version of this part or an alternate download for the alpha please email me at

For now, I am trying out the express edition at:

I am actually trying to play with SilverLight so I am hoping that the Web Developer version works with it.

Please pass this on to all the C# developers you know. For more information or if you have any tips, tricks, events that you think other C# Guild members would benefit from, please email me at

Wednesday, April 18, 2007

Top 7 reasons C# is better than VB.NET

I know this is preaching to the converted but in case your boss or some other developers you know are still stuck on VB.NET. Here is a list of reasons why C# is better than VB.NET.

  1. In C# the line ends when I type the semicolon. Allowing you to write all your code on one line of the need is required
  2. Features for VB.NET such as MVC are written and available in C# first then VB.
  3. Most third party control libraries that supply source code are in C# so any bug fixes you need to make will require C# coding
  4. Comments in C# are just better. Its easier to read them when not using Visual Studio
  5. Microsoft codes a majority of their stuff in C#
  6. You can more easily access the API from C#. No need for Declare statements
  7. Most C# developers can code VB but less VB developers can code C#.

Tuesday, April 17, 2007

Calgary Code Camp Announcement!

I went to the Toronto Code Camp and it was really good. I recommend if you are a serious .NET developer that you go and take part and possibly present. Its free so the price could not be better. You can connect with other developers, and learn what others are doing in the field. Below is the actual event posting:

Announcing the second annual Calgary Code Camp! In case you weren't there last year, you might be wondering, "What is a Code Camp?" Simply put, a Code Camp is a developer event by and for the developer community. You get a full day of developer-focused content created by fellow developers. You'll see code, code, and more code. The sessions will cover a wide variety of topics, including .NET, ASP.NET, Windows Forms, MonoRail, TDD, NHibernate, Castle Windsor, WCF, Mono, Software Factories, XNA, CAB, mock objects, continuous integration, and much more.

The price for the event is the same as last year - COMPLETELY FREE! A full day of code and fun with cool door prizes for absolutely nothing.

Date/Time: Saturday, April 28, 2007 from 8:00am - 5:30pm

Location: MacEwan Conference Centre (University of Calgary)


If you are interested in attending this event, sign-up now at

I am here in Toronto so I will not see you there so I hope you will email the Guild and tell us what you thought.

Please pass this on to all the C# developers you know. For more information please email me at

Wednesday, April 11, 2007

The C# (csharp) Guild is born like a pheonix from the ashes of C++

In the beginning was the Commodore 64 and the creator thought it was good.They formed the "MLX Guild" where they could share their series of numbers thatthey typed religiously from their Compute Gazette magazines.

Soon came bigger and better creations like the Commodore Amega and people startedplaying with sound and visuals. Thus the cult reformed as the "Amega Guild".

As time went on other cults burned and reformed like a pheonix, refining itself on its journey. The "Pascal Guild", the "C Guild", the "C++ Guild".

Finally it reaches its perfection, "C# (csharp) Guild" is born.

Please pass this on to all the C# (csharp) developers you know. For more information please email me at