V5 License Questions


#21

Hi JTR i do the Clear Key option suggested by Markjw and it works , now both computers are working with the license and are sharing the database, a few more checks and i think we will be ok…thanks to all you guys for your support


#22

Hi folks now when i try to use numbers to multiply the amount of lets say 2 x any coctel, the program show an error and close it.


#23

Need to show your rules and actions as you have configured something wrong, we can’t help you until you show us what you’ve done

Would prob help to post the error too


#24

Show us the detailed error.


#25
06/08/2018 22:06
-----------------------------
[General Info]
Application: SambaPOS
Version: 5.2.7
Region: es-ES
DB: SQ
Machine: BARRA
User: User
Date: 07/08/2018
Time: 3:06
User Explanation:
User said ""
-----------------------------
[Exception Info 1]
Top-level Exception
Type: System.Exception
Message: Some simulated input commands were not sent successfully.
The most common reason for this happening are the security features of
Windows including User Interface Privacy Isolation (UIPI). Your
application can only send commands to applications of the same or
lower elevation. Similarly certain commands are restricted to
Accessibility/UIAutomation applications. Refer to the project home
page and the code samples for more information.
Source: WindowsInput
Stack Trace: at
WindowsInput.WindowsInputMessageDispatcher.DispatchInput(INPUT[]
inputs)
 at WindowsInput.KeyboardSimulator.TextEntry(String text)
 at
Samba.Presentation.Controls.VirtualKeyboard.CustomKeyboardViewModel.Pr
ocessText(String text)
 at
Samba.Presentation.Controls.VirtualKeyboard.CustomKeyboardViewModel.Pr
ocessVirtualKey(VKey key)
 at
Samba.Presentation.Controls.VirtualKeyboard.CustomKeyboardViewModel.On
KeyPress(CustomKey customKey)
 at
Microsoft.Practices.Prism.Commands.DelegateCommand`1.<>c__DisplayClass
6.<.ctor>b__2(Object o)
 at
Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object
parameter)
 at 
Microsoft.Practices.Prism.Commands.DelegateCommandBase.System.Windows.
Input.ICommand.Execute(Object parameter)
 at
MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(IComm
andSource commandSource, Boolean userInitiated)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at
System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(Mous
eButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender,
MouseButtonEventArgs e)
 at
System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler,
Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object
target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source,
RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender,
RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender,
MouseButtonEventArgs e)
 at
System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler,
Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object
target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source,
RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,
RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs
input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport
inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr
hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32
x, Int32 y, Int32 wheel)
 at
System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr
hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&
handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr 
hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Int32 numArgs, Delegate
catchHandler)
-----------------------------
[Assembly Info]
mscorlib, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v16.2, Version=16.2.6.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2, Version=16.2.6.0
System, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2.Core, Version=16.2.6.0
WindowsBase, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
DevExpress.Xpf.Core.v16.2, Version=16.2.6.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Samba.Persistance, Version=1.0.0.0
Stateless, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
Microsoft.CSharp, Version=4.0.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
DevExpress.Data.v16.2, Version=16.2.6.0
WindowsInput, Version=1.0.4.0
-----------------------------
[System Info]
Operating System
-Microsoft Windows 7 Professional
--CodeSet = 1252
--CSDVersion = Service Pack 1
--CurrentTimeZone = -300
--FreePhysicalMemory = 2501624
--OSArchitecture = 32 bits
--OSLanguage = 3082
--ServicePackMajorVersion = 1
--ServicePackMinorVersion = 0
--Version = 6.1.7601
Machine
-BARRA
--Manufacturer = Hewlett-Packard
--Model = HP Compaq dc7800 Ultra-slim Desktop
--TotalPhysicalMemory = 3740585984
--UserName = BARRA\User
-----------------------------
######################### E N D #########################

#26

Service pack one? Think you need to run updates…
May likely not be related but thought service pack 2 was needed for the .net version required but might be mostaken.
Error looks Windows based, but your getting that using the keypad within samba?


#27

Its a simple pos machine, the error appears when i use the samba keypad to multiply more than one item…


#28

I don’t think that’s default behaviour for the keypad to multiply products

What are your rule and actions? But like mentioned above the error log suggests it’s a windows issue and not samba


#29

@RickH by default using keypad to enter number-pad value BEFORE adding order adds that quantity for order added.


#30

Ah I thought it only changed price🤭


#31

If price is 0 it does, if not it does qty :slight_smile:

@jzee I havn’t seen this reported before nor noticed myself at least on earlier versions, unless its a new bug in update which would seem unlikely as doubt anything related has changed I would say its more likely something specific to your install, as mentioned I would run updates either way.


#32

No it is a windows 7 machine running service pack 1 and the error specifically states its a windows security issue. This is not related to SambaPOS. Try updating to service pack 2 or upgrade to a current OS from Microsoft that may fix it.

I also edited your post its not a good practice to put direct file downloads. Its best to just copy and paste error reports here.


#33

That is from the error report and it is very specific. You can also just try running SamabaPOS as administrator.


#34

Just to check put keyboard back on my menu and test, no problem here so again suggesting its something specific to your system.


#35

Same error was posted before:

After reading about that before, it may not be specifically related to “windows input simulator” which I mentioned in response to that post, but it could be SambaPOS uses the same methods to simulate keyboard input and something in Windows is stopping it working properly. Like others suggested, make sure Windows 7 has latest service pack and all windows updates. That other post is the only time this has been mentioned on the forum, and my suggestion was marked as the solution by the original poster, so I think pretty much it is related to your issue.

SambaPOS has thousands of users globally and many using Windows 7, this will not be a problem with SambaPOS. Just because SambaPOS shows the error does not mean it is a SambaPOS issue. I have 5.2.7 running on a Windows 7 Pro system I use for demo, it works fine and I don’t get this error.


#36

Actually there is no service pack 2 for Windows 7, service pack 1 is the latest and it runs SambaPOS fine, I have a system running 5.2.9 (latest beta) and works fine. There was a “rollup” Microsoft released in 2016 for Windows 7 which was considered like a “service pack 2” but it was never named that.

@jzee


#37

Hmm I haven’t used win 7 in a while. I assumed they released 2.


#38

I said SP after googleling to check updates and it sounded like there was one but sure you know what your talking about mark.


#39

Are you running sambapos from a folder other than default installation folder?

Or did you installed Sambapos by using the installer?


#40

Yeah I did the same, there are many results about service pack 2, but when you read into them there isn’t actually a SP2, though there was the rollup which was generally considered as SP2. I checked more because the first thing I did was check my demo system running Windows 7 and saw it was SP1.