Moving My Blog

Posted on August 2, 2008

I changed my web hoster over the weekend, and when ran into a few snags migrating dasBlog to the new Windows Server 2008 / IIS7 environment.  While shoveling and wiring and taping, I found BlogEngine.NET.  Super cool.  It's a very simple and extensible .NET blogging platform. To make a long story short, my blog is now running on BlogEngine.  I also changed the address to be a little easier on the eyes.  It's now www.teamjohnston.net/b...

Read More


SQLCE Error 26100: The table name is not valid

Posted on April 16, 2008

If you're using LINQ to SQL with SQLCE and use the DataContext.CreateDatabase() method, you may encounter this error.  If you used the LINQ to SQL class designer to generate the classes from a different database provider (such as SQL Server 2005 or SQL Server Express), the table source names may be prefixed with "dbo." Just remove the prefix, and CreateDatabase() will succeed.

Read More


FatalExecutionEngineError returning from WPF PageFunction

Posted on November 30, 2007

I'm posting this for future reference.  If you invoke a PageFunction and add an event handler to the PageFunction's Return event, the event handler must be an instance method of the calling page.  No other method will do.  If the event handler doesn't meet this criteria, you'll see the FatalExecutionEngineError thrown when you return from the PageFunction.  Sorry, no separation of concerns allowed.

Read More


ClickOnce Error after upgrading to VS 2008

Posted on November 29, 2007

We recently upgraded to VS 2008 RTM at work, and shortly after discovered that a new build of our ClickOnce-deployed WinForms application failed to install correctly!  During the download process, a message box would display, and the log details revealed an InvalidDeploymentException (RefDefValidation) in System.Deployment.Application.DownloadManager.ProcessDownloadedFile(). Let me just say that days of fruitless investigation followed. ...

Read More


Service Locator in Code?

Posted on November 28, 2007

Phil Haack posed a question today about dependency injection frameworks: Normally, I would just specify a type to instantiate as another PluginFamily entry. But what I really want to happen in this case is for StructureMap to call a method or delegate and use the value returned as the constructor argument. ... Does anyone know if something like this is possible with any of the Dependency Injection frameworks out there? Whether via code or ...

Read More