Object does not have a value

You are trying to get the value of an object that doesn't have a value.   You may be trying to use an object in a place where objects of that type are not allowed or you may have left off a property or control suffix.