Tuesday, July 24, 2012

ClickOnce: The directory name is invalid

Just had this issue after deleting the local application files from a ClickOnce-deployed application. The application would not update or start.

Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of resulted in exception. Following failure messages were detected:
+ The directory name is invalid. (Exception from HRESULT: 0x8007010B)
Fortunately, the solution is simple. Delete all the files and directories from the Apps directory, where ClickOnce applications are stored.

Reference: Missing Local Files (link)

RIOT - Free Image Optimizer

RIOT - Radical Image Optimization Tool - is a free image optimization tool that can run standalone or as a plugin in other image viewers and editors.


Friday, July 13, 2012

Installing Business Intelligence Studio - Reporting Services

Here is a brief on how to work (develop) Reporting Services based reports in an environment with Team Foundation Server 2010 used for source control and SQL Server 2008 R2 used as a database server / Reporting Services server.

Instructions on installing components are here.


  • Visual Studio 2008 Team Explorer, 
  • Visual Studio 2008 Service Pack 1,
  • Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010

and connect to TFS server.

Friday, July 06, 2012

Period in the MVC application URL results in Error 404

We've just had a case where a parameter to an MVC method was resulting in 404 Error because it contained a period (.) in the name. The application was running in IIS 6, .Net Framework 4, MVC 4. 

The solution was to create a wildcard application map for aspnet_isapi.dll that does not verify that the file exists, as described in the following link.

LLBLGen Visualizers in VS 2010

To install LLBLGen Visualizers in Visual Studio 2010, simply copy
  • SD.LLBLGen.Pro.DebugVisualizers2010.dll, 
  • SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll, and 
  • SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll 
into c:\Users\<your username>\Documents\Visual Studio 2010\Visualizers\
This enables previewing the Predicate Expressions, Relations collections, Entity collections, Sort Expressions, Prefetch Paths and what not.
More details (link).