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. Valid Values Are Between 0 and 999, Inclusive. Parameter Name: Millisecond and Gurux.DLMS.GXDLMSException: Access Error : Device Reports Read-Write Denied.

Valid values are between 0 and 999, inclusive. Parameter name: millisecond and Gurux.DLMS.GXDLMSException: Access Error : Device reports Read-Write denied.

By muhammad ahmed , 7 May, 2024
Forums
DLMSDirector

I am trying to connect Holley DLMS meter with low authentication when i connect it after some time it gave me the error i think i get these while reading profiles or somting

(Gurux.DLMS.GXDLMSException: Access Error : Device reports Read-Write denied.)

After this when i try to read the data after a while on read it gave me this error.

(system.argumentoutofrangeexception: valid values are between 0 and 999, inclusive. parameter name: millisecond)

Both error logs are below :

Error 1 logs on connection :

Gurux.DLMS.GXDLMSException: Access Error : Device reports Read-Write denied.
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)
7:52:20 PM Send Keep Alive
7E A0 19 03 23 BA 9F E3 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 01 00 F9 79 7E
19:52:25 Data send failed. Try to resend 1/3
19:52:30 Data send failed. Try to resend 2/3
7:52:35 PM Failed to receive reply from the device in given time.
19:52:35 Disconnect request

Error 2 logs on reading :

7E AO 72 23 03 96 08 71 E6 E7 00 C4 01 C1 00 01 04 02 03 09 02 53 32 09 OC FF FF 03 01 FF I
Nalid values are between 0 and 999, inclusive.
Parameter name: millisecond
at GXDLMSDirector.MainForm. ReadDevice GXDLMSMeter d)
at GXDLMSDirector.MainForm. Read(Object sender, GXAsynckork work, Object[] parameters)
1:51:11 AM Send Keep Alive
7E AO 19 03 23 98 8F E1 E6 E 00 CO 01 C1 00 OF 00 00 28 00 00 FF 01 00 F9 79 7E
01:51:16 Data send failed. Try to resend 1/3
01:51:21 Data send failed. Try to resend 2/3
1:51:26 AM Failed to receive reply from the device in given time.

Image
Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Client has sent the keep…

Hi,

Client has sent the keep alive message and the meter can't handle it. If I remember correctly some of the Holley meters can't handle keep alive because authentication view is not implemented. Can you read any values from the meter? For example the clock?

BR,
Mikko

muhammad ahmed

2 years 1 month ago

This meter handle's keep…

This meter handle's keep-alive mode. When I read meter data using Holley's provided software, everything works perfectly. However, when I try to do the same using Gurux software to create HES (Home Energy System) for these meters, I'm unable to read the values.

Here are the steps I'm following:

Step 1:

I add a Holley meter device with a low authentication. Upon connecting, after receiving a long list of OBIS codes in the logs, I encountered the following error on "Get profile generic column.

Gurux.DLMS.GXDLMSException: Access Error: Device reports Read-Write denied."

ERROR LOGS :
7:31:39 PM Get profile generic columns...
7E A0 19 03 23 76 FF EF E6 E6 00 C0 01 C1 00 07 01 60 63 62 0B FF 03 00 63 48 7E
7:31:39 PM
7E A0 36 23 03 96 53 15 E6 E7 00 C4 01 C1 00 01 02 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 02 04 12 00 01 09 06 00 60 63 62 1E FF 0F 02 12 00 00 56 27 7E
7:31:39 PM Reading object 0.0.22.0.0.255, interface IecHdlcSetup
7E A0 19 03 23 98 8F E1 E6 E6 00 C0 01 C1 00 17 00 00 16 00 00 FF 08 00 CD D0 7E
7:31:39 PM
7E A0 11 23 03 B8 5D 05 E6 E7 00 C4 01 C1 01 03 73 82 7E
Gurux.DLMS.GXDLMSException: Access Error : Device reports Read-Write denied.
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)

Step 2:
After clicking ok to the "Access Error" and attempting to read again by clicking on the meter name and then clicking "read," I receive another error:

"System.ArgumentOutOfRangeException: Valid values are between 0 and 999, inclusive. Parameter name: millisecond."

Error Logs:
7E A0 17 23 03 74 A7 42 E6 E7 00 C4 01 C1 00 09 05 57 41 50 44 41 9B 60 7E
7:51:38 PM Read object type ActivityCalendar index: 3
7E A0 19 03 23 76 FF EF E6 E6 00 C0 01 C1 00 14 00 00 0D 00 00 FF 03 00 F7 8D 7E
7:51:39 PM
7E A0 72 23 03 96 08 71 E6 E7 00 C4 01 C1 00 01 04 02 03 09 02 53 32 09 0C FF FF 03 01 FF FF FF FF 80 00 00 00 09 02 57 32 02 03 09 02 53 33 09 0C FF FF 06 01 FF FF FF FF 80 00 00 00 09 02 57 33 02 03 09 02 53 34 09 0C FF FF 09 01 FF FF FF FF 80 00 00 00 09 02 57 34 02 03 09 02 53 31 09 0C FF FF 0C 01 FF FF FF FF 80 00 00 00 09 02 57 31 ED FA 7E
System.ArgumentOutOfRangeException: Valid values are between 0 and 999, inclusive.
Parameter name: millisecond
at GXDLMSDirector.MainForm.ReadDevice(GXDLMSMeter d)
at GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters)

I'm unable to retrieve any values such as clocks, etc., except for OBIS logs in the notes.

muhammad ahmed

2 years 1 month ago

This meter handle's keep…

this i how i am reading after the access denied error

Image

muhammad ahmed

2 years 1 month ago

When i clone the meter i got…

When i clone the meter i got these attributes

Image
  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin