473,396 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
3 13466
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Greg | last post by:
Set Up Error - Failed to load resources from resource file Please check your set up. This plesently cordal and verbose error is greeting me in a very random and unpredictable way in a current VB...
0
by: Kevin P | last post by:
Hi News Group, In an application written in C# and VS.Net using Dotnet Framework 1.1.4322 on XP and Win 2000 machines, we randomly get the error "Failed to load resources from resource file....
0
by: Paul | last post by:
I have an existing application that has been installed and running for several months. I recently made a minor change to this application. When the application is installed on the user machine and...
3
by: Preference | last post by:
Hello, I am developing a .NET application in managed C++. Until now we have executed without problems in a lot of different computers. But a few days ago we detect a problem in some laptops. In...
0
by: bruce | last post by:
ASP.NET app running for about a year with no problem and suddenly this week it's giving error message. The same as the one decribed by another user. Even stranger is that we only have this problem...
0
by: bruce | last post by:
ASP.NET app running for about a year with no problem and suddenly this week it's giving error message. The same as the one decribed by another user. Even stranger is that we only have this problem...
1
by: Markus hildebold | last post by:
hi NG! im haunting a problem which seems to be a better than me. i hope you can help me, Thanks. in funny time distances i get in my vb.net application using webservices and sql2000 (Framework...
5
by: Vijaya P Krishna | last post by:
Hi, I have a .NET Windows Forms application, written in VB.NET and C#. I am opening a URL from the application using Process.Start(). The URL points to a java servlet running on apache-tomcat....
0
by: Achim Domma | last post by:
Hi, I try to develop a localized Asp.Net 1.1 application. I have added two resource files to my app, which are called 'Labels.resx' and 'Labels.de.resx'. If I compile the app, I see a 'de'...
4
by: Adam Benson | last post by:
Hi, I have seen a lot of different threads about this error in the new groups, but never came across anything that pointed to an obvious solution. 6(!) instances of our app on a customer site...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.