Fixed a resource Error

Error  Fixed: Exception has been thrown by the target of an invocation.