System.Exception' occurred in Microsoft.SPOT.Net.dll

“An unhandled exception of type ‘System.Exception’ occurred in Microsoft.SPOT.Net.dll” error occured while debuging

break point is “NI.EnableStaticIP(“192.168.1.112”, “255.255.255.0”, “192.168.1.1”);”

any one help

thanks