c# - System.InvalidOperationException: Loading of the ImageList did not succeed -


stacktrace:

system.reflection.targetinvocationexception: exception has been thrown target of invocation. ---> system.invalidoperationexception: loading of imagelist did not succeed. @ system.windows.forms.imageliststreamer..ctor(serializationinfo info, streamingcontext context) --- end of inner exception stack trace --- @ system.runtimemethodhandle._serializationinvoke(object target, signaturestruct& declaringtypesig, serializationinfo info, streamingcontext context) @ system.reflection.runtimeconstructorinfo.serializationinvoke(object target, serializationinfo info, streamingcontext context) @ system.runtime.serialization.objectmanager.completeiserializableobject(object obj, serializationinfo info, streamingcontext context) @ system.runtime.serialization.objectmanager.fixupspecialobject(objectholder holder) @ system.runtime.serialization.objectmanager.dofixups() @ system.runtime.serialization.formatters.binary.objectreader.deserialize(headerhandler handler, __binaryparser serparser, boolean fcheck, boolean iscrossappdomain, imethodcallmessage methodcallmessage) @ system.runtime.serialization.formatters.binary.binaryformatter.deserialize(stream serializationstream, headerhandler handler, boolean fcheck, boolean iscrossappdomain, imethodcallmessage methodcallmessage) @ system.resources.resourcereader.deserializeobject(int32 typeindex) @ system.resources.resourcereader.loadobjectv2(int32 pos, resourcetypecode& typecode) @ system.resources.resourcereader.loadobject(int32 pos, resourcetypecode& typecode) @ system.resources.runtimeresourceset.getobject(string key, boolean ignorecase, boolean isstring) @ system.resources.runtimeresourceset.getobject(string key, boolean ignorecase) @ system.resources.resourcemanager.getobject(string name, cultureinfo culture, boolean wrapunmanagedmemstream) @ system.resources.resourcemanager.getobject(string name) @ myclass.initializecomponent() @ myclass..ctor() 

this exception thrown designer generated code, when opening new tab, contains custom usercontrol of type myclass somewhere down control hiearchy. if exception occured once, occur everytime tab opened again. other tabs, contain usercontrols imagelists, load without throwing exception, after 1 usercontrol throws exception on opening. error occurs after time using program , opening , closing , other tabs.

no limits on windows resources hit: user objects @ 1095, gdi objects @ 593, handles @ 831 , process memory @ 162.704 k. system windows 7 , application targeting .net framework 2.0.

i couldn't find anything, matches problem. found cases .net framework version below 2.0, memory or resource leaks, problems on windows xp, threading issues , manifest files. how find cause problem?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -