Call Datadog methods from JavaScript using a .net COM object

0

I want to make a Datadog call from JavaScript to send some matrices. I have created .net COM visible object and calling from my JavaScript like below,

<script>
  var obj;
  obj = new ActiveXObject("DD.Wrapper.Matrices");
  obj.SendGauge(3232323);
</script>

My .net COM visible object has a method send matrices to datadog like below,

 DogStatsd.Gauge(...)

In Javascript when invoking obj.SendGauge(3232323); then I'm getting the following error.

Could not load file or assembly 'StatsdClient, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

What is the issue here? Looks like I can't use 'StatsdClient' in a COM visible object?

javascript
com
datadog
comvisible
asked on Stack Overflow May 23, 2019 by blue

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0