Failed to load resources from resource file, please check your setup

S

Sarah Woodfield

Hi,
I have written an application in VB.Net which runs well on my development
PC. However on a few clients machines, at apparently random intervals, they
get the above message and the programme crashes out. The error isn't
occurring during set-up, but during use of the programme.
I am having trouble trapping for this as I don't know what it means and
therefore what might be causing it.
As far as I know, I am not using any resource files (though that may be my
lack of knowledge!!)

I have searched the web and found a few examples of this but none of them
seem to fit my issue.

The programme displays stock charts and analyses the data within them.

I am running VS2003 with Windows XP service pack 2 with 1gb Ram
The clients are a similar spec.

Any help would be much appreciated


Simon
 
R

Richard Grimes

Sarah said:
I have written an application in VB.Net which runs well on my
development PC. However on a few clients machines, at apparently
random intervals, they get the above message and the programme
crashes out. The error isn't occurring during set-up, but during use
of the programme. I am having trouble trapping for this as I don't
know what it means
and therefore what might be causing it.
As far as I know, I am not using any resource files (though that may
be my lack of knowledge!!)

Do you have a stack trace, that is an idea of what class is throwing the
exception? Is ResourceManager in the stack?

You'll find the details of how resources are loaded in my Fusion
workshop, so I won't go into too many details here. Basically, if you
have localised resources then these will be stored in 'satellite
assemblies', however, they are not loaded like normal assemblies.
Instead, at runtime, the ResourceManager object tests the thread locale
and checks for a satellite assembly that has the culture of that locale.
It will look for the satellite in a subfolder with the name of the
culture. (For example en for English, en-GB for UK English, en-US for US
English). Note that satellite assemblies do not use the same versioning
mechanism as normal assemblies.

If ResourceManager cannot find the right satellite it will look for the
resource in the current assembly (the 'neutral' culture).

I suspect that you are using satellites, and have them installed, but
they are old versions that do not have the specific resource that is
being looked for.

Anyway, the stack trace will be useful.

Richard
 
S

Sarah Woodfield

Richard,
Many thanks for the response, not sure I understand all of it but will take
a look at the web pages. I don't have a stack trace as it isn't happening on
the development machine, only on customers PCs.

Thanks again

Simon
 
M

Mauro Giuliano

Hi Sarah
Need signal same problem with my application c#.
Some1 has idea about?.

tanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top