SambaPOS 3 Master Startup Issue

I downloaded the source code SambaPOS V3 Master
I opened it in Visual studio 2010 when i try to run it, it gives this error, i can not run it at all

The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: An exception occurred while initializing module ‘DepartmentModule’.
- The exception message was: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Check the InnerException property of the exception for more information. If the exception occurred 
while creating an object in a DI container, you can exception.GetRootException() to help locate the 
root cause of the problem. 

Resulting in: An exception occurred while calling the ‘OnImportsSatisfied’ method on type ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.

Resulting in: Cannot activate part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --> Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --> AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

Resulting in: Cannot get export ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”)’ from part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”) --> Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --> AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Presentation.exe’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll’
Step into: Stepping over method without symbols ‘Samba.Presentation.App.App’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Presentation.Controls.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Microsoft.Practices.ServiceLocation.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Presentation.Services.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Microsoft.Practices.Prism.MefExtensions.dll’
DEBUG: Logger was created successfully… Priority: Low. Timestamp:2014-04-10 13:48:55Z.
DEBUG: Creating module catalog… Priority: Low. Timestamp:2014-04-10 13:48:55Z.
DEBUG: Configuring module catalog… Priority: Low. Timestamp:2014-04-10 13:48:55Z.
DEBUG: Creating catalog for MEF. Priority: Low. Timestamp:2014-04-10 13:48:55Z.
DEBUG: Configuring catalog for MEF. Priority: Low. Timestamp:2014-04-10 13:48:55Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Microsoft.Practices.Prism.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Infrastructure.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Persistance.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.AccountModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.ACCOUNTMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.ACCOUNTMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.AutomationModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.AUTOMATIONMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.AUTOMATIONMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.BasicReports.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.BASICREPORTS.PDB’. Could not load file or assembly ‘SAMBA.MODULES.BASICREPORTS.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.CidMonitor.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.CIDMONITOR.PDB’. Could not load file or assembly ‘SAMBA.MODULES.CIDMONITOR.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.DepartmentModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.DEPARTMENTMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.DEPARTMENTMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.EntityModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.ENTITYMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.ENTITYMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.InventoryModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.INVENTORYMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.INVENTORYMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.LoginModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.LOGINMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.LOGINMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.ManagementModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.MANAGEMENTMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.MANAGEMENTMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.MarketModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.MARKETMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.MARKETMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.MenuModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.MENUMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.MENUMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.ModifierModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.MODIFIERMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.MODIFIERMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.NavigationModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.NAVIGATIONMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.NAVIGATIONMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.PaymentModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.PAYMENTMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.PAYMENTMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.PosModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.POSMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.POSMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.PrinterModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.PRINTERMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.PRINTERMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.SettingsModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.SETTINGSMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.SETTINGSMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.TaskModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.TASKMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.TASKMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.TicketModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.TICKETMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.TICKETMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.UserModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.USERMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.USERMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Modules.WorkperiodModule.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.MODULES.WORKPERIODMODULE.PDB’. Could not load file or assembly ‘SAMBA.MODULES.WORKPERIODMODULE.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.APPLICATION’. Could not load file or assembly ‘SAMBA.PRESENTATION.APPLICATION’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Presentation.Common.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.COMMON.PDB’. Could not load file or assembly ‘SAMBA.PRESENTATION.COMMON.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.CONTROLS.PDB’. Could not load file or assembly ‘SAMBA.PRESENTATION.CONTROLS.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.EXE.CONFIG’. Could not load file or assembly ‘SAMBA.PRESENTATION.EXE.CONFIG’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.EXE.MANIFEST’. Could not load file or assembly ‘SAMBA.PRESENTATION.EXE.MANIFEST’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.PDB’. Could not load file or assembly ‘SAMBA.PRESENTATION.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.SERVICES.PDB’. Could not load file or assembly ‘SAMBA.PRESENTATION.SERVICES.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Presentation.ViewModels.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.PRESENTATION.VIEWMODELS.PDB’. Could not load file or assembly ‘SAMBA.PRESENTATION.VIEWMODELS.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Services.dll’, Symbols loaded.
A first chance exception of type ‘System.BadImageFormatException’ occurred in mscorlib.dll
System.ComponentModel.Composition Warning: 3 : The catalog ‘DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)’ could not load assembly ‘C:…\SAMBAPOS-3-MASTER-MASTER\SAMBA.PRESENTATION\BIN\DEBUG\SAMBA.SERVICES.PDB’. Could not load file or assembly ‘SAMBA.SERVICES.PDB’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
A first chance exception of type ‘System.IO.FileNotFoundException’ occurred in mscorlib.dll
A first chance exception of type ‘System.IO.FileNotFoundException’ occurred in mscorlib.dll

‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘Microsoft.GeneratedCode’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Infrastructure.Data.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Domain.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\EntityFramework.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\FluentValidation.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\PropertyTools.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Samba.Localization.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\PropertyTools.Wpf.dll’
DEBUG: Creating Mef container. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
DEBUG: Configuring MEF container. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
DEBUG: Configuring ServiceLocator singleton. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
DEBUG: Configuring region adapters. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Fluentscript.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Stateless.dll’, Symbols loaded.
DEBUG: Configuring default region behaviors. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
DEBUG: Registering Framework Exception Types. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
DEBUG: Creating shell. Priority: Low. Timestamp:2014-04-10 13:48:56Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero.dll’
DEBUG: Setting the RegionManager… Priority: Low. Timestamp:2014-04-10 13:48:57Z.
DEBUG: Updating Regions… Priority: Low. Timestamp:2014-04-10 13:48:57Z.
DEBUG: Initializing shell. Priority: Low. Timestamp:2014-04-10 13:48:57Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Entity.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘Anonymously Hosted DynamicMethods Assembly’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data.OracleClient\v4.0_4.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\assembly\GAC_MSIL\System.Data.SqlServerCe\4.0.0.0__89845dcd8080cc91\System.Data.SqlServerCe.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\assembly\GAC_MSIL\System.Data.SqlServerCe\3.5.1.0__89845dcd8080cc91\System.Data.SqlServerCe.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.SqlServerCe.Entity\v4.0_4.0.0.0__89845dcd8080cc91\System.Data.SqlServerCe.Entity.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\FluentMigrator.Runner.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\Omu.ValueInjecter.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘EntityFrameworkDynamicProxies-Samba.Domain’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll’
A first chance exception of type ‘System.IO.FileNotFoundException’ occurred in mscorlib.dll
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘MetadataViewProxies_5839b2c4-86eb-4e85-a2cc-0e6c40f6cff0’
DEBUG: Initializing modules. Priority: Low. Timestamp:2014-04-10 13:49:00Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\FlexButton.dll’, Symbols loaded.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug\ICSharpCode.AvalonEdit.dll’
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationUI\v4.0_4.0.0.0__31bf3856ad364e35\PresentationUI.dll’
A first chance exception of type ‘System.Data.SqlServerCe.SqlCeException’ occurred in System.Data.SqlServerCe.dll
A first chance exception of type ‘System.Data.SqlServerCe.SqlCeException’ occurred in System.Data.SqlServerCe.dll
A first chance exception of type ‘System.Data.SqlServerCe.SqlCeException’ occurred in System.Data.SqlServerCe.Entity.dll
A first chance exception of type ‘System.Data.EntityCommandExecutionException’ occurred in System.Data.Entity.dll
A first chance exception of type ‘System.Data.EntityCommandExecutionException’ occurred in System.Data.Entity.dll
A first chance exception of type ‘System.Data.EntityCommandExecutionException’ occurred in System.Data.Entity.dll
A first chance exception of type ‘System.Reflection.TargetInvocationException’ occurred in mscorlib.dll
A first chance exception of type ‘System.ComponentModel.Composition.Primitives.ComposablePartException’ occurred in System.ComponentModel.Composition.dll
A first chance exception of type ‘System.ComponentModel.Composition.CompositionException’ occurred in System.ComponentModel.Composition.dll
A first chance exception of type ‘System.ComponentModel.Composition.CompositionException’ occurred in System.ComponentModel.Composition.dll
A first chance exception of type ‘System.ComponentModel.Composition.CompositionException’ occurred in mscorlib.dll
EXCEPTION: Microsoft.Practices.Prism.Modularity.ModuleInitializeException: An exception occurred while initializing module ‘DepartmentModule’.
- The exception message was: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Check the InnerException property of the exception for more information. If the exception occurred 
while creating an object in a DI container, you can exception.GetRootException() to help locate the 
root cause of the problem.  ---> System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --> Samba.Modules.DepartmentModule.DepartmentModule --> DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass42.<CreateStronglyTypedLazyOfTM>b__1() at System.Lazy1.CreateValue()
at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value()
at Microsoft.Practices.Prism.MefExtenA first chance exception of type ‘Microsoft.Practices.Prism.Modularity.ModuleInitializeException’ occurred in Microsoft.Practices.Prism.dll
A first chance exception of type ‘System.ComponentModel.Composition.Primitives.ComposablePartException’ occurred in System.ComponentModel.Composition.dll
A first chance exception of type ‘System.ComponentModel.Composition.CompositionException’ occurred in System.ComponentModel.Composition.dll
A first chance exception of type ‘System.ComponentModel.Composition.CompositionException’ occurred in System.ComponentModel.Composition.dll
System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionSamba.Presentation.exeSystem.ComponentModel.Composition.CompositionException, System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: An exception occurred while initializing module ‘DepartmentModule’.
- The exception message was: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Check the InnerException property of the exception for more information. If the exception occurred 
while creating an object in a DI container, you can exception.GetRootException() to help locate the 
root cause of the problem. 

Resulting in: An exception occurred while calling the ‘OnImportsSatisfied’ method on type ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.

Resulting in: Cannot activate part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

Resulting in: Cannot get export ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”)’ from part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”) --&gt; Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)
at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueT
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.InitializeModules()
at Samba.Presentation.Bootstrapper.InitializeModules() in C:…\SambaPOS-3-master-master\Samba.Presentation\Bootstrapper.cs:line 50
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
at Microsoft.Practices.Prism.Bootstrapper.Run()
at Samba.Presentation.App.RunInDebugMode() in C:…\SambaPOS-3-master-master\Samba.Presentation\App.xaml.cs:line 36
at Samba.Presentation.App.OnStartup(StartupEventArgs e) in C:…\SambaPOS-3-master-master\Samba.Presentation\App.xaml.cs:line 20
at System.Windows.Application.&lt;.ctor&gt;b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at Samba.Presentation.App.Main() in C:…\SambaPOS-3-master-master\Samba.Presentation\obj\x86\Debug\App.g.cs:line 0System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: An exception occurred while initializing module ‘DepartmentModule’.
- The exception message was: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

  1. The column name is not valid. [ Node name (if any) = Extent1,Column name = ScreenMenuId ]

Resulting in: An error occurred while executing the command definition. See the inner exception for details.

Resulting in: An exception occurred while trying to create an instance of type ‘Samba.Modules.DepartmentModule.DepartmentModule’.

Resulting in: Cannot activate part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Resulting in: Cannot get export ‘Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”)’ from part ‘Samba.Modules.DepartmentModule.DepartmentModule’.
Element: Samba.Modules.DepartmentModule.DepartmentModule (ContractName=“Microsoft.Practices.Prism.Modularity.IModule”) --&gt; Samba.Modules.DepartmentModule.DepartmentModule --&gt; DirectoryCatalog (Path=“C:…\SambaPOS-3-master-master\Samba.Presentation\bin\Debug”)

Check the InnerException property of the exception for more information. If the exception occurred 
while creating an object in a DI container, you can exception.GetRootException() to help locate the 
root cause of the problem. 

Resulting in: An exception occurred while calling the ‘OnImportsSatisfied’ method on type ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.

Resulting in: Cannot activate part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

Resulting in: Cannot get export ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”)’ from part ‘Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager’.
Element: Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager (ContractName=“Microsoft.Practices.Prism.Modularity.IModuleManager”) --&gt; Microsoft.Practices.Prism.MefExtensions.Modularity.MefModuleManager --&gt; AssemblyCatalog (Assembly=“Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueT
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.InitializeModules()
at Samba.Presentation.Bootstrapper.InitializeModules() in C:…\SambaPOS-3-master-master\Samba.Presentation\Bootstrapper.cs:line 50
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
at Microsoft.Practices.Prism.Bootstrapper.Run()
at Samba.Presentation.App.RunInDebugMode() in C:…\SambaPOS-3-master-master\Samba.Presentation\App.xaml.cs:line 36
at Samba.Presentation.App.OnStartup(StartupEventArgs e) in C:…\SambaPOS-3-master-master\Samba.Presentation\App.xaml.cs:line 20
at System.Windows.Application.&lt;.ctor&gt;b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at Samba.Presentation.App.Main() in C:…\SambaPOS-3-master-master\Samba.Presentation\obj\x86\Debug\App.g.cs:line 0
sions.Modularity.MefModuleInitializer.CreateModule(ModuleInfo moduleInfo)
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo)
— End of inner exception stack trace —. Priority: High. Timestamp:2014-04-10 13:49:00Z.
‘Samba.Presentation.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.DebuggerVisualizers\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.DebuggerVisualizers.dll’

Reinstall latest SambaPOS V3 version to upgrade database and try again.

Thanks,
That solved this issue