Author Topic: SambaPOS Reporter Dialog - unable to login  (Read 11828 times)

wawan

  • Newbie
  • *
  • Posts: 18
SambaPOS Reporter Dialog - unable to login
« on: May 04, 2012, 06:48:58 am »
Hello All,
I exported database from my pc to a laptop as I am planning to learn Samba POS on my laptop. But sadly, it comes up as per report below. I am using SQL database. I dont know what info I can post for help.

-----------------------------
[General Info]

Application: SambaPOS
Version:     2.95
Region:      en
DB:          SQ
Machine:     LP-ENVIRO3
User:        Administrator
Date:        4/05/2012
Time:        12:35 PM

User Explanation:

Administrator said ""
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.ComponentModel.Composition.CompositionException
Message:     The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Invalid column name 'ExcludeInReports'.

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.MenuModule.MenuModule'.

Resulting in: Cannot activate part 'Samba.Modules.MenuModule.MenuModule'.
Element: Samba.Modules.MenuModule.MenuModule -->  Samba.Modules.MenuModule.MenuModule -->  DirectoryCatalog (Path="C:\Program Files\SambaPOS2")

Resulting in: Cannot get export 'Samba.Modules.MenuModule.MenuModule (ContractName="Microsoft.Practices.Prism.Modularity.IModule")' from part 'Samba.Modules.MenuModule.MenuModule'.
Element: Samba.Modules.MenuModule.MenuModule (ContractName="Microsoft.Practices.Prism.Modularity.IModule") -->  Samba.Modules.MenuModule.MenuModule -->  DirectoryCatalog (Path="C:\Program Files\SambaPOS2")

Resulting in: An exception occurred while initializing module 'MenuModule'.
    - 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) Invalid column name 'ExcludeInReports'.

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.MenuModule.MenuModule'.

Resulting in: Cannot activate part 'Samba.Modules.MenuModule.MenuModule'.
Element: Samba.Modules.MenuModule.MenuModule -->  Samba.Modules.MenuModule.MenuModule -->  DirectoryCatalog (Path="C:\Program Files\SambaPOS2")

Resulting in: Cannot get export 'Samba.Modules.MenuModule.MenuModule (ContractName="Microsoft.Practices.Prism.Modularity.IModule")' from part 'Samba.Modules.MenuModule.MenuModule'.
Element: Samba.Modules.MenuModule.MenuModule (ContractName="Microsoft.Practices.Prism.Modularity.IModule") -->  Samba.Modules.MenuModule.MenuModule -->  DirectoryCatalog (Path="C:\Program Files\SambaPOS2")

    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")

Source:      System.ComponentModel.Composition
Stack Trace: at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(ComposablePart 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.GetExportedValueFromLazy[T](Export export)
   at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
   at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.InitializeModules()
   at Samba.Presentation.Bootstrapper.InitializeModules()
   at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
   at Samba.Presentation.App.RunInReleaseMode()

-----------------------------

[Assembly Info]

mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
System, Version=4.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
Samba.Infrastructure, Version=1.0.0.0
System.Windows.Forms, Version=4.0.0.0
System.Windows.Interactivity, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
PropertyTools.Wpf, Version=2011.3.4480.25201
Microsoft.Practices.EnterpriseLibrary.Validation, Version=5.0.414.0
Samba.Domain, Version=1.0.0.0
System.Management, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
UIControls, Version=1.0.0.0
System.Core, Version=4.0.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
Samba.Persistance.Data, Version=1.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0
mscorlib, Version=2.0.0.0
FlexButton, Version=1.0.0.0
WindowsFormsIntegration, Version=4.0.0.0

-----------------------------

[System Info]

Operating System
-Microsoft Windows XP Professional
--CodeSet = 1252
--CSDVersion = Service Pack 3
--CurrentTimeZone = 600
--FreePhysicalMemory = 376624
--OSLanguage = 1033
--ServicePackMajorVersion = 3
--ServicePackMinorVersion = 0
--Version = 5.1.2600

Machine
-LP-ENVIRO3
--Manufacturer = Hewlett-Packard
--Model = HP 550
--TotalPhysicalMemory = 1064546304
--UserName = LP-ENVIRO3\Administrator

-----------------------------


emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: SambaPOS Reporter Dialog - unable to login
« Reply #1 on: May 04, 2012, 07:46:37 am »
You are using an older database version. Re-Installing SambaPOS should update that.

wawan

  • Newbie
  • *
  • Posts: 18
Re: SambaPOS Reporter Dialog - unable to login
« Reply #2 on: May 05, 2012, 06:23:21 am »
I installed 2.96 instead of re-installing 2.95. Yes, I can login to my system, but I do not have my own screen. I have the default sample menu. I tried to export from the desktop to my laptop again all the tables in SambaData2 database but I have SQL errors when doing that. Please read the error message below. I am waiting for your advice how to get my own menu back? Worst case is I need to re-enter all products and design the screen again.

- Validating (Error)
Messages
Error 0xc0202049: Data Flow Task 5: Failure inserting into the read-only column "LastUpdateTime".
 (SQL Server Import and Export Wizard)
 
Error 0xc0202045: Data Flow Task 5: Column metadata validation failed.
 (SQL Server Import and Export Wizard)
 
Error 0xc004706b: Data Flow Task 5: "component "Destination 20 - Numerators" (31)" failed validation and returned validation status "VS_ISBROKEN".
 (SQL Server Import and Export Wizard)
 
Error 0xc004700c: Data Flow Task 5: One or more component failed validation.
 (SQL Server Import and Export Wizard)
 
Error 0xc0024107: Data Flow Task 5: There were errors during task validation.
 (SQL Server Import and Export Wizard)
 

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: SambaPOS Reporter Dialog - unable to login
« Reply #3 on: May 05, 2012, 06:37:51 am »
Instead of exporting data, copy entire database to the desktop and reinstall sambapos for starting update process.