Symptoms:
When you run your CruiseControl.NET application, you may get the following error message:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {9DB232DC-50D6-4AAF-BA35-E510E16B2056} failed due to the following error: 80040154.
Cause:
"SAWHSDK.dll" is not registered properly.
Resolution:
Please make sure that SourceAnywhere Hosted COM SDK is installed properly on your machine. SourceAnywhere Hosted COM SDK can be downloaded at:
http://www.dynamsoft.com/Downloads/SAWHosted_Download.aspx
If you are using 64-bit Windows OS, please follow the steps below to solve the problem:
1. Install Microsoft .NET Framework SDK v2.0 (64bit). Here is the download link:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1aef6fce-6e06-4b66-afe4-9aad3c835d3d&displaylang=en
2. Locate to the installation directory of Microsoft .NET Framework SDK v2.0 and run the following commands:
C:\Program Files\Microsoft.NET\SDK\v2.0 64bit> corflags /32bit+ "C:\CruiseControl.NET-1.4.1.3795\server\ccnet.exe"
C:\Program Files\Microsoft.NET\SDK\v2.0 64bit> corflags /32bit+ "C:\CruiseControl.NET-1.4.1.3795\server\ccservice.exe"
3. Run ccnet.exe.
