Trimble Business Center

 View Only

TBC 5.90.1 Application Error when logged in as non-admin user

  • 1.  TBC 5.90.1 Application Error when logged in as non-admin user

    Posted 11-06-2023 19:21

    I have installed TBC 5.90.1 using the defaults. When a non-admin (general user) logs in, every 10 seconds a blue spinning circle appears next to the cursor. This does not happen when an admin is logged in. This occurs when TBC is both running and not running.

    In the Windows Event Viewer the following 2 errors are present, which is also every 10 seconds.
     
    -------------------------------------------------------------------------------------------
    Log Name:      Application
    Source:        Application Error
    Date:          10/23/2023 11:17:45 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      <redacted>
    Description:
    Faulting application name: Trimble.ExternalService.API.exe, version: 1.0.2.0, time stamp: 0x6387cc7a
    Faulting module name: KERNELBASE.dll, version: 10.0.19041.3570, time stamp: 0xda674bb7
    Exception code: 0xe0434352
    Fault offset: 0x000000000002cf19
    Faulting process id: 0x29ec
    Faulting application start time: 0x01da05dd386d25d9
    Faulting application path: C:\Program Files\Trimble\ExternalServiceApi\Trimble.ExternalService.API.exe
    Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
    Report Id: a5488930-6e0d-41af-9f16-098efe1bc980
    Faulting package full name: 
    Faulting package-relative application ID: 
    Event Xml:
    <Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event>
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>100</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2023-10-23T18:17:45.7858696Z" />
        <EventRecordID>70053</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>Application</Channel>
        <Computer><redacted></Computer>
        <Security />
      </System>
      <EventData>
        <Data>Trimble.ExternalService.API.exe</Data>
        <Data>1.0.2.0</Data>
        <Data>6387cc7a</Data>
        <Data>KERNELBASE.dll</Data>
        <Data>10.0.19041.3570</Data>
        <Data>da674bb7</Data>
        <Data>e0434352</Data>
        <Data>000000000002cf19</Data>
        <Data>29ec</Data>
        <Data>01da05dd386d25d9</Data>
        <Data>C:\Program Files\Trimble\ExternalServiceApi\Trimble.ExternalService.API.exe</Data>
        <Data>C:\WINDOWS\System32\KERNELBASE.dll</Data>
        <Data>a5488930-6e0d-41af-9f16-098efe1bc980</Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>
    -------------------------------------------------------------------------------------------
     
     
    -------------------------------------------------------------------------------------------
    Log Name:      Application
    Source:        .NET Runtime
    Date:          10/23/2023 11:17:45 AM
    Event ID:      1026
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      <redacted>
    Description:
    Application: Trimble.ExternalService.API.exe
    CoreCLR Version: 6.0.1322.58009
    .NET Version: 6.0.13
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Trimble\Trimble.ExternalService.API\config.json' is denied.
       at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
       at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
       at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
       at System.IO.File.WriteAllText(String path, String contents)
       at Trimble.ExternalService.API.Helpers.GetApplicationUrl(String filePath)
       at Program.<Main>$(String[] args)
     
    Event Xml:
    <Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event>
      <System>
        <Provider Name=".NET Runtime" />
        <EventID Qualifiers="0">1026</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2023-10-23T18:17:45.6402531Z" />
        <EventRecordID>70052</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>Application</Channel>
        <Computer><redacted></Computer>
        <Security />
      </System>
      <EventData>
        <Data>Application: Trimble.ExternalService.API.exe
    CoreCLR Version: 6.0.1322.58009
    .NET Version: 6.0.13
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Trimble\Trimble.ExternalService.API\config.json' is denied.
       at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
       at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
       at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
       at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
       at System.IO.File.WriteAllText(String path, String contents)
       at Trimble.ExternalService.API.Helpers.GetApplicationUrl(String filePath)
       at Program.&lt;Main&gt;$(String[] args)
    </Data>
      </EventData>
    </Event>
    -------------------------------------------------------------------------------------------



    ------------------------------
    James Cesari
    ------------------------------