Caller ID Module Error message under different User account

Hi @emre, I have come across following issue.

I initially had one windows user account ‘Main’ (Administrator account) and every thing has been working fine without any issue.

Installed Module under ‘Main’ user account.

Configured Caller ID under ‘Main’ User account.

Today, I created three Standard User accounts POS1, POS2 and POS3 to configure RDP connection.

For every user accounts (POS1, POS2 and POS3) Samba Market module was displayed as ‘Install’ (meaning modules needed to be installed. i then installed the Caller ID Module under POS1 user account.

After Installing Caller ID Module and restarting SambaPOS i’m presented with below error message.

Now i can not load SambaPOS application under POS1 user account. Following error message will display every time. i have tried reinstalling SambaPOS application 4.1.32 without any luck. No Sure what to do

SambaPOS works fine under Main User account, below message is not displayed.

So basically if the Caller ID module is installed under different user accounts below error message is/will be displayed and can NOT run SambaPOS. I have also reproduced the same issue under POS2 account, after logging into POS2 account and installing Caller ID module.

[General Info]

Application: SambaPOS
Version: 4.1.32 BETA
Region: en
Machine: SERVER-PC
User: POS1
Date: 25/04/2014
Time: 21:29

User Explanation:

POS1 said “”

[Exception Info 1]

Top-level Exception
Type: System.UnauthorizedAccessException
Message: Access to the path ‘C:\ProgramData\SambaPOS\SambaPOS4\CTI Comet USB Caller ID_lGDN0sadD0S2xX_tY3UvqQSettingsJson.txt’ is denied.
Source: mscorlib
Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents)
at Samba.Services.Common.Device.AbstractDevice.SaveSettings()
at Samba.Services.Common.Device.AbstractDevice.InitializeDevice()
at Samba.Services.Implementations.DeviceService.b__5(IDevice x)
at System.Collections.Generic.List1.ForEach(Action1 action)
at Samba.Services.Implementations.DeviceService.InitializeDevices()
at Samba.Presentation.Bootstrapper.InitializeShell()
at Microsoft.Practices.Prism.MefExtensions.MefBootstrapper.Run(Boolean runWithDefaultConfiguration)
at Samba.Presentation.App.RunInReleaseMode()

[Assembly Info]

Samba.Services, Version=
mscorlib, Version=
System, Version=
Microsoft.Practices.Prism, Version=
WindowsBase, Version=
Samba.Infrastructure, Version=
Samba.Infrastructure.Data, Version=
PresentationFramework, Version=
System.Xaml, Version=
Samba.Presentation.Services, Version=
FluentValidation, Version=
Samba.Domain, Version=
DevExpress.Xpf.Grid.v13.2, Version=
PresentationCore, Version=
Stateless, Version=
System.Core, Version=
System.Drawing, Version=
System.Windows.Forms, Version=
System.ComponentModel.Composition, Version=
Samba.Localization, Version=
Microsoft.CSharp, Version=
DevExpress.Xpf.Grid.v13.2.Core, Version=
Microsoft.Practices.ServiceLocation, Version=
Samba.Persistance, Version=
Microsoft.Practices.Prism.MefExtensions, Version=
DevExpress.Xpf.Core.v13.2, Version=
PropertyTools, Version=2012.4.14.1

Yes I’ve noticed error reports. I’ll improve this on next update. Until next update you can temporarily adjust C:\ProgramData\SambaPOS\SambaPOS4\ folder permission to give write access to all users.

Thank you very much for reporting.

Thanks, temporary workaround works fine.