error when starting simulator

Jun 12, 2012 at 10:16 AM

Please note that i get the below error when starting the simulator GUI.

Kindly assist how I can resolve this issue.

 

Reading XML configuration...
No LMK storage file specified, creating new keys
Error loading the configuration file
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\NTG\Thales Simulator\LMKSTORAGE.TXT' is denied.
   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at ThalesSim.Core.Cryptography.LMK.LMKStorage.WriteLMKs(String fileName, String[] LMKAr)
   at ThalesSim.Core.Cryptography.LMK.LMKStorage.WriteLMKs()
   at ThalesSim.Core.Cryptography.LMK.LMKStorage.GenerateTestLMKs()
   at ThalesSim.Core.ThalesMain.StartUpCore(String firmwareNumber, String dspFirmwareNumber, Boolean startInAuthorizedState, Int32 clearPINLength)
   at ThalesSim.Core.ThalesMain.ReadXMLFile(String fileName)
Trying to load key/value file for Mono...
Error loading key/value file
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ThalesSim.Core.ThalesMain.TryToReadValuePairFile(String fileName)
Using default configuration...
Using default configuration...
Shutdown complete

Coordinator
Jun 12, 2012 at 1:01 PM

Windows 7?

Jun 12, 2012 at 2:56 PM

yes, Windows 7

Coordinator
Jun 12, 2012 at 7:14 PM

Under Windows 7, you need to run the simulator as administrator. That's because the simulator tries to read files from the program files directory.

Jun 15, 2012 at 1:15 AM

Hi, I enabled run as admin and the program is now working fine.

Thank you for the help.

Coordinator
Jun 15, 2012 at 9:16 AM

You're welcome.