Getting exception while using the resourcemanager

Topics: Development Team Discussion, User Discussion
Jan 24, 2013 at 5:08 AM

I tried to use the sample code but its giving an error related to type casting.
So i did like this
ResourceManager rm = (ResourceManager)ResourceFactory.GetResourceManager();
Its builded successfully.
While running , I am getting the exception like"The type initializer for 'EntLibContrib.Resource.ResourceFactory' threw an exception."
Could you please help me to resolve the issue...