Jump to content

Error when running on mono and restart NodeLink


RaginBajin

Recommended Posts

Posted

I'm running on mono and when I click the Restart NodeLink button to have my settings take effect, I see the following error. 

Running: 

- ISY NodeLink Server v0.2.3

- Mono 4.2.1.102

 

 

 

Unhandled Exception:

System.TypeInitializationException: The type initializer for 'f' threw an exception. ---> System.ArgumentException: UNC paths should be of the form \\server\share.
  at System.IO.Path.InsecureGetFullPath (System.String path) <0x7f37ac563360 + 0x005c1> in <filename unknown>:0
  at System.IO.Path.GetFullPath (System.String path) <0x7f37ac562f60 + 0x0000f> in <filename unknown>:0
  at System.AppDomainSetup.GetAppBase (System.String appBase) <0x7f37ac651d70 + 0x000ea> in <filename unknown>:0
  at System.AppDomainSetup.get_ApplicationBase () <0x7f37ac651e70 + 0x00013> in <filename unknown>:0
  at System.AppDomain.get_BaseDirectory () <0x7f37ac52c460 + 0x0001a> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.AppDomain:get_BaseDirectory ()
  at f..cctor () <0x40ee2d50 + 0x0009c> in <filename unknown>:0
  --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'f' threw an exception. ---> System.ArgumentException: UNC paths should be of the form \\server\share.
  at System.IO.Path.InsecureGetFullPath (System.String path) <0x7f37ac563360 + 0x005c1> in <filename unknown>:0
  at System.IO.Path.GetFullPath (System.String path) <0x7f37ac562f60 + 0x0000f> in <filename unknown>:0
  at System.AppDomainSetup.GetAppBase (System.String appBase) <0x7f37ac651d70 + 0x000ea> in <filename unknown>:0
  at System.AppDomainSetup.get_ApplicationBase () <0x7f37ac651e70 + 0x00013> in <filename unknown>:0
  at System.AppDomain.get_BaseDirectory () <0x7f37ac52c460 + 0x0001a> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.AppDomain:get_BaseDirectory ()
  at f..cctor () <0x40ee2d50 + 0x0009c> in <filename unknown>:0
  --- End of inner exception stack trace --
Posted

Thanks for the quick reply!

 

I literally just figured it out.  I was running it in the root directory and that seemed to be the problem.  So I created a /node directory, changed permissions to 755 and then ran the process and everything was good to go. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...