When logging in to GoldMine Mobile you receive the error "You don't have license to access GoldMine"

Version 1

    Details

    When logging in to GoldMine Mobile you receive the error "You don't have license to access GoldMine" even though users are setup to access GoldMine Mobile through the GoldMine User interface.
     
    If you open the GMMobileService.log file located in C:\Program files(x86)\GoldMine Mobile\Log\ the below log entry appears
     
     2013-11-11 06:05:03,843    Thread ID[15]    ERROR  GoldMine.Models.ApplicationExceptions.LicenseException: You don't have license to access GoldMine Error code: 3

    2013-11-11 06:05:03,843    Thread ID[15]    ERROR  GoldMine.Models.ApplicationExceptions.ClientInformationException: You don't have license to access GoldMine Error code: 32
    2013-11-11 06:05:03,843    Thread ID[15]    ERROR  GoldMine.Models.ApplicationExceptions.ClientInformationException: You don't have license to access GoldMine Error code: 32
    2013-11-11 06:05:03,843    Thread ID[15]    ERROR  GoldMine.Models.ApplicationExceptions.ClientInformationException: You don't have license to access GoldMine Error code: 32
    2013-11-11 06:05:13,203    Thread ID[10]    ERROR  GoldMine.Models.ApplicationExceptions.LicenseException: You don't have license to access GoldMine Error code: 3
    2013-11-11 06:05:13,219    Thread ID[10]    ERROR  GoldMine.Models.ApplicationExceptions.ClientInformationException: You don't have license to access GoldMine Error code: 32
    2013-11-11 06:05:13,219    Thread ID[10]    ERROR  GoldMine.Models.ApplicationExceptions.ClientInformationException: You don't have license to access GoldMine Error code: 32

     
    If you open the Windows Application event logs - 
    Start > Control Panel > Administrative Tools > Event Viewer > Application Logs > Windows Logs > Application
     
     You see the below Error
     An unhandled exception occurred and the process was terminated.

    Application ID: DefaultDomain

    Process ID: 5248

    Exception: System.Runtime.Serialization.SerializationException

    Message: Type 'GoldMine.Models.ApplicationExceptions.ClientInformationException' in Assembly 'GoldMine.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

    StackTrace:    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
       at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
       at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
       at System.AppDomain.Serialize(Object o)
       at System.AppDomain.MarshalObject(Object o)

     


    Resolution

    1. Open the GM.ini from the GoldMine root directory and verify 

    • There is a SYSDIR= line 
    • This SYSDIR= entry is pointing to a local or UNC path to the GoldMine root directory (not a mapped drive) 
      eg SYSDIR=\\Servername\GoldMine\ 
     2. The user that is running the GMMobileAppPool does not have access to the GoldMine LicenseGM.bin file or location 
    • Open IIS
    • Open Application Pool
    • Right click the GMMobileAppPool > Advanced Settings
    • Under Process Model > Identity
    • Verify that the user has Access to the GoldMine share and the LicenseGM.bin file

    If this does not work, please proceed to Knowledge Article 16699 as there are other potential causes to this problem that need to be checked.