Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Device Error -

Device Error -

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By aeeccims@tnebnet.org , 12 October, 2021
Forums
DLMSDirector

Hi
While opening/closing and for all actions the following error is displayed.
Not able to add device and can do nothing.

Guidance in this regard is appreciated.

////////////////////////////////////

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Gurux\GXDLMSDirector\LastError.log' 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, 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.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path)
at GXDLMS.Common.Error.ShowError(IWin32Window owner, Exception Ex)
at GXDLMSDirector.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
GXDLMSDirector
Assembly Version: 8.2.2110.602
Win32 Version: 8.2.2110.0602
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/GXDLMSDirector.exe
----------------------------------------
Gurux.Common
Assembly Version: 8.1.2109.2401
Win32 Version: 8.1.2109.2401
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.Common.DLL
----------------------------------------
Gurux.MQTT
Assembly Version: 8.1.2109.2401
Win32 Version: 8.1.2109.2401
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.MQTT.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Gurux.DLMS.AMI.UI
Assembly Version: 8.1.2110.602
Win32 Version: 8.1.2110.602
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.DLMS.AMI.UI.DLL
----------------------------------------
Gurux.DLMS
Assembly Version: 9.0.2110.602
Win32 Version: 9.0.2110.602
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.DLMS.DLL
----------------------------------------
Gurux.DLMS.UI
Assembly Version: 9.0.2110.602
Win32 Version: 9.0.2110.0602
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.DLMS.UI.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Gurux.Net
Assembly Version: 8.1.2109.2401
Win32 Version: 8.1.2109.2401
CodeBase: file:///C:/Users/IMS-04.10.2021/AppData/Local/Apps/2.0/Q07QBAZC.ORC/9CEXAA9O.XXO/gxdl..tion_fac3cc4fecb816b3_0008.0002_f89d72b6c3b780d2/Gurux.Net.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Profile picture for user Kurumi

Kurumi

4 years 8 months ago

Hi,

Hi,

You don't have access rights for LastError.log. Can you remove LastError.log from C:\ProgramData\Gurux\GXDLMSDirector?

BR,
Mikko

aeeccims@tnebnet.org

4 years 8 months ago

Hi

Hi
That error has gone on logging as Administrator

But
Now I couldn't get updated the list of Manufacture online

Any settings in windows 10 to be done.
Kindly clarify

And the Error.log is

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at Gurux.DLMS.ManufacturerSettings.GXManufacturerCollection.UpdateManufactureSettings()
at GXDLMSDirector.MainForm.updateManufactureSettingsToolStripMenuItem_Click(Object sender, EventArgs e)

Image
Profile picture for user Kurumi

Kurumi

4 years 8 months ago

Hi,

Hi,

I haven't heard from this before. I believe that this is something to do with your PC security settings If you need to log as Administrator to start GXDLMSDirector.

BR,
Mikko

aeeccims@tnebnet.org

4 years 8 months ago

Hi Mikko

Hi Mikko
Thank you for the response
I am logging as Administrator only
This is happening for Windows 10 machine and not for Windows 7

Guidance is needed to proceed further

Profile picture for user Kurumi

Kurumi

4 years 8 months ago

Hi,

Hi,

There must be something on your Windows 10 because you are the first one who has this problem.
Can you try with another Windows 10?

If Windows 7 is working, you can also copy manufacture settings from:
C:\ProgramData\Gurux\GXDLMSDirector

BR,
Mikko

aeeccims@tnebnet.org

4 years 7 months ago

In reply to Hi, by Kurumi

Hi

Hi
Thanks for the reply.
But only two files are available in that directory.
Is it possible to get exact location of the manufacture list available.

Windows 10 machine is connected to meter network so I need in that machine.

Image
Profile picture for user Kurumi

Kurumi

4 years 7 months ago

Hi,

Hi,

I'm sorry. OBIS codes are in:
C:\ProgramData\Gurux\OBIS

BR,
Mikko

aeeccims@tnebnet.org

4 years 7 months ago

Hi

Hi
Thank you
Copied the folder and now manufactures are listing.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin