UUID error on .NET

Hi @Teodor

I just followed your guide and I get an error.

{
“message”: “Unable to cast object of type ‘System.Guid’ to type ‘Newtonsoft.Json.Linq.JToken’.”,
“lastAction”: {
“name”: “struuid”,
“module”: “core”,
“action”: “setvalue”,
“options”: {
“value”: “{{UUID}}”
},
“meta”: ,
“outputType”: “text”,
“output”: true
},
“orgException”: {
“ClassName”: “System.InvalidCastException”,
“Message”: “Unable to cast object of type ‘System.Guid’ to type ‘Newtonsoft.Json.Linq.JToken’.”,
“Data”: null,
“InnerException”: null,
“HelpURL”: null,
“StackTraceString”: " at DMXzone.ServerConnect.Parser.ParseExpression(String expression, Scope scope) in C:\Develop\Server Connect\ASPNET_Source\DMXzone Server Connect\Parser.cs:line 107\r\n at DMXzone.ServerConnect.Parser.Parse(JToken data, Scope scope) in C:\Develop\Server Connect\ASPNET_Source\DMXzone Server Connect\Parser.cs:line 79\r\n at DMXzone.ServerConnect.App.Execute(JToken action) in C:\Develop\Server Connect\ASPNET_Source\DMXzone Server Connect\App.cs:line 394\r\n at DMXzone.ServerConnect.ServerConnect.ExecuteAction(JToken action) in C:\Develop\Server Connect\ASPNET_Source\DMXzone Server Connect\ServerConnect.cs:line 235",
“RemoteStackTraceString”: null,
“RemoteStackIndex”: 0,
“ExceptionMethod”: “8\nParseExpression\nDMXzone.ServerConnect, Version=1.1.1.8, Culture=neutral, PublicKeyToken=null\nDMXzone.ServerConnect.Parser\nNewtonsoft.Json.Linq.JToken ParseExpression(System.String, DMXzone.ServerConnect.Scope)”,
“HResult”: -2147467262,
“Source”: “DMXzone.ServerConnect”,
“WatsonBuckets”: null
}
}

I’m using Wappler 4.1.3 with ASP.net server model. Is this supported in this environment?

Thanks,
Ray.

Here an update to fix the problem. Unzip to your Bin folder.

DMXzone.ServerConnect.zip (52.4 KB)

Hi @patrick,

This fixed the issue.

image

Thanks,
Ray.

Fixed in Wappler 4.2.0

This topic was automatically closed after 46 hours. New replies are no longer allowed.