By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,433 Members | 776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,433 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Oct 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Sarah Woodfield wrote:
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
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
Oct 18 '05 #2

P: n/a
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
"Richard Grimes" <ri******@mvps.org> wrote in message
news:eD**************@TK2MSFTNGP14.phx.gbl...
Sarah Woodfield wrote:
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
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm

Oct 20 '05 #3

P: n/a
Hi Sarah
Need signal same problem with my application c#.
Some1 has idea about?.

tanks in advance

"Sarah Woodfield" <sa***@jetasolutions.co.uk> ha scritto nel messaggio
news:%2***************@tk2msftngp13.phx.gbl...
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

Oct 28 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.