Rlp.loadELF shown error


An unhandled exception of type 'System.InvalidOperationException' occurred in GHIElectronics.NETMF.Native.dll

i will try to load rlp file but it shown this type error how to solve this?

Hi Biren,

A few questions so that we can help you better

  1. What board do you have?
  2. What firmware version are you using?
  3. Have you unlocked your RLP?

3 is required depending on the version of Firmware and the board that you have so it might not apply.

@ taylorza -
i am using Fez Spider


HalSystemInfo.halVersion:               4.1.2821.0
HalSystemInfo.halVendorInfo:            Microsoft Copyright (C) Microsoft Corporation.  All rig
HalSystemInfo.oemCode:                  255
HalSystemInfo.modelCode:                0
HalSystemInfo.skuCode:                  65535
HalSystemInfo.moduleSerialNumber:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
HalSystemInfo.systemSerialNumber:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
ClrInfo.clrVersion:                     4.1.2821.0
ClrInfo.clrVendorInfo:                  Microsoft Copyright (C) Microsoft Corporation.  All rig
ClrInfo.targetFrameworkVersion:         4.1.2821.0
SolutionReleaseInfo.solutionVersion:    4.1.8.0
SolutionReleaseInfo.solutionVendorInfo: GHI Electronics, LLC
SoftwareVersion.BuildDate:              Dec 22 2011
SoftwareVersion.CompilerVersion:        410561
FloatingPoint:                          True
SourceLevelDebugging:                   True
ThreadCreateEx:                         True
LCD.Width:                              320
LCD.Height:                             240
LCD.BitsPerPixel:                       16
AppDomains:                             True
ExceptionFilters:                       True
IncrementalDeployment:                  True
SoftReboot:                             True
Profiling:                              False
ProfilingAllocations:                   False
ProfilingCalls:                         False
IsUnknown:                              False


i dont know how to check firmware version i send yoy dtail which show in mf deploy

@ biren - You are using the 4.1 Firmware. Have you got your RLP unlock code and passed that to the call to RLP.Unlock?

@ taylorza - no how to unlock rlp

First you need to get your RLP Access Code. You need to go to the GHIElectronics.com site, log-in to your account, create one if you do not already have one. Once you are logged in you should access ‘My Account’ see the first attached image, not that it will be your name in the menu.

On the next page you will see ‘RLP Access Code’, select that and then you should get an email with your access code. From there you should follow the rest of the instructions from the tutorials etc.

NB: Do not share your access code with others.

@ taylorza - thank you so much. it works

@ biren - It is a pleasure, glad I could help.