WBS Project and Car Rental examples do not execute
Details
Date:6/12/2013 10:55:15 PM
Product:ActiveGanttCSN Gantt Chart / Scheduler Component
Framework:.Net Framework 4.0 / Visual Studio 2010
Version:3.0.0
User's Development Environment:C# Visual Studio 2010
Subject:WBS Project and Car Rental examples show a blank ActiveGantt control
Question

When executing the WBS Project or Car Rental examples I get a blank ActiveGantt control.

Answer

Answer:

This solution applies to all products: ActiveGanttVBN, ActiveGanttCSN, ActiveGanttVBW, ActiveGanttCSW, ActiveGanttVBA, ActiveGanttCSA, ActiveGanttVBE and ActiveGanttCSE.

In Visual Studio 2010 SQL Server Compact 4 has to be installed in order for the examples to work.

The easiest way to install SQL Server Compact 4 in Visual Studio 2010 is by using the Microsoft Web Platform Installer:

http://www.microsoft.com/web/gallery/install.aspx

Once you have installed the Web Platform Installer, go to Products > Database and locate Microsoft Visual Studio 2010 SP1 Tools for SQL Server Compact 4.0:

Click on the Add Button. The good thing about using the Web Platform installer is that it automatically checks and installs pre-requisites and dependencies automatically.

When the Web Platform Installer finishes doing its job you should open Visual Studio 2010:

Right click on data connections in the Server Explorer, and click on add connection:

The SQL Server Compact 4.0 data source should now be available. Click on Cancel to exit the dialog. The examples should now work.

If you are still having problems then you might have permissions problems, click here.

 

All trademarks are property of their respective holders, and are only used to directly describe the products and services being provided. Their use in no way indicates any relationship or endorsement between The Source Code Store LLC and the holders of said trademarks.