Re: Bug in System.Reflection.Assembly.GetManifestResourceStream(String)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Also the method does not raise an exception when a resource is not found, so
you don't know specificly why it failed.


"schneider" <abc@xxxxxxxxxxx> wrote in message
news:uhfdBM$pFHA.2072@xxxxxxxxxxxxxxxxxxxxxxx
> There seems to be a Bug in
> System.Reflection.Assembly.GetManifestResourceStream(String)
>
> If you call it from a Shared (Static in C#) user method it fails but does
> dont throw an exception, change the user method to non shared/static it
> works. I think its a security check its failing on. Would have saved me
some
> time if it just threw an exception rather than eating it.
>
> Oh: MSF Ver: 1.1
>
> Thanks,
>
> Schneider
>
>


.



Relevant Pages

  • Re: Regarding exception handling
    ... Dan Perl wrote: ... >>opening of the resource doesn't raise an exception. ...
    (comp.lang.python)
  • Bug in System.Reflection.Assembly.GetManifestResourceStream(String)
    ... If you call it from a Shared user method it fails but does ... dont throw an exception, change the user method to non shared/static it ... time if it just threw an exception rather than eating it. ...
    (microsoft.public.dotnet.framework)
  • Re: need help with long processing app that will allow user to cancel process.
    ... > lengthly tasks. ... > we'll see a synchronization point protecting managment of heap blocks. ... you state one exception to this guide - class/instance factories. ... >> posting off the resource rather than waitFor'ing it. ...
    (borland.public.delphi.language.objectpascal)
  • OutOfMemoryException: major production problems
    ... On our production servers we receive the following events (in more detail ... * System.OutOfMemoryException: Exception of type System.OutOfMemoryException ... Failed to load resources from resource file ... The local computer may not have the necessary registry information or ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Exceptions and out procedure arguments (using GNAT GPL)
    ... raise My_Exception; ... and has an exception handler ... you can count on any assignments that you've already done ... The sample is a highly condensed version of my Query procedure ...
    (comp.lang.ada)