473,726 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

resx files : ressources not found after moving to beta 2005

Hello,
I've just moved to visual developper 2005
to do so, I also had to use the convert assistant.

what it did;
moving my file resx files that i had in a diresctory called resx
to a new directory called:
App_GlobalResou rces

in my code i had :

m_rm = new ResourceManager ("MES.resx.basi c",
System.Reflecti on.Assembly.Get ExecutingAssemb ly());

it worked perfectly before moving but now it throws this exception
saying that it the ressource doesn't exist???

I tried several different name
e.g.:"MES.App_G lobalResources. basic","App_Glo balResources.ba sic"
but none worked

any helps please?
Franck


exception
[System.Resource s.MissingManife stResourceExcep tion]

{"Could not find any resources appropriate for the specified culture or
the neutral culture. Make sure \"resx.basic.re sources\" was correctly
embedded or linked into assembly \"App_Web_g11ng 7or\" at compile time,
or that all the satellite assemblies required are loadable and fully
signed."}

System.Resource s.MissingManife stResourceExcep tion
Nov 19 '05 #1
5 3830
Check the online Beta 2 documentation on resource files :

Resources Overview :
http://msdn2.microsoft.com/en-us/library/ms133858

Retrieve Resource Values Programmaticall y :
http://msdn2.microsoft.com/en-us/library/ms133918

The syntax for retrieving the resources has changed a bit.

From the last URL :

Call the GetLocalResourc eObject or GetGlobalResour ceObject method
to read specific resources from a global or local resource file, respectively.

These overloaded methods are available in
the HttpContext and TemplateControl classes.

The GetGlobalResour ceObject method takes the name of a resource class
and the resource ID. The class name is based on the .resx file name.

For example, the file WebResources.re sx, and all associated localized files,
are referenced by the class name WebResources.

There's sample code at both links.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Franck" <fh@fh.com> wrote in message news:dg******** **@s1.news.olea ne.net...
Hello,
I've just moved to visual developper 2005
to do so, I also had to use the convert assistant.

what it did;
moving my file resx files that i had in a diresctory called resx
to a new directory called:
App_GlobalResou rces

in my code i had :

m_rm = new ResourceManager ("MES.resx.basi c",
System.Reflecti on.Assembly.Get ExecutingAssemb ly());

it worked perfectly before moving but now it throws this exception saying that it the
ressource doesn't exist???

I tried several different name
e.g.:"MES.App_G lobalResources. basic","App_Glo balResources.ba sic"
but none worked

any helps please?
Franck


exception
[System.Resource s.MissingManife stResourceExcep tion]
{"Could not find any resources appropriate for the specified culture or the neutral
culture. Make sure \"resx.basic.re sources\" was correctly embedded or linked into
assembly \"App_Web_g11ng 7or\" at compile time, or that all the satellite assemblies
required are loadable and fully signed."}
System.Resource s.MissingManife stResourceExcep tion

Nov 19 '05 #2
Muchas gracias! ;)
Juan T. Llibre wrote:
Check the online Beta 2 documentation on resource files :

Resources Overview :
http://msdn2.microsoft.com/en-us/library/ms133858

Retrieve Resource Values Programmaticall y :
http://msdn2.microsoft.com/en-us/library/ms133918

The syntax for retrieving the resources has changed a bit.

From the last URL :

Call the GetLocalResourc eObject or GetGlobalResour ceObject method
to read specific resources from a global or local resource file, respectively.

These overloaded methods are available in
the HttpContext and TemplateControl classes.

The GetGlobalResour ceObject method takes the name of a resource class
and the resource ID. The class name is based on the .resx file name.

For example, the file WebResources.re sx, and all associated localized files,
are referenced by the class name WebResources.

There's sample code at both links.


Nov 19 '05 #3
The links are not pointing to information about resources! Can you update
them?

"Juan T. Llibre" wrote:
Check the online Beta 2 documentation on resource files :

Resources Overview :
http://msdn2.microsoft.com/en-us/library/ms133858

Retrieve Resource Values Programmaticall y :
http://msdn2.microsoft.com/en-us/library/ms133918

The syntax for retrieving the resources has changed a bit.

From the last URL :

Call the GetLocalResourc eObject or GetGlobalResour ceObject method
to read specific resources from a global or local resource file, respectively.

These overloaded methods are available in
the HttpContext and TemplateControl classes.

The GetGlobalResour ceObject method takes the name of a resource class
and the resource ID. The class name is based on the .resx file name.

For example, the file WebResources.re sx, and all associated localized files,
are referenced by the class name WebResources.

There's sample code at both links.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Franck" <fh@fh.com> wrote in message news:dg******** **@s1.news.olea ne.net...
Hello,
I've just moved to visual developper 2005
to do so, I also had to use the convert assistant.

what it did;
moving my file resx files that i had in a diresctory called resx
to a new directory called:
App_GlobalResou rces

in my code i had :

m_rm = new ResourceManager ("MES.resx.basi c",
System.Reflecti on.Assembly.Get ExecutingAssemb ly());

it worked perfectly before moving but now it throws this exception saying that it the
ressource doesn't exist???

I tried several different name
e.g.:"MES.App_G lobalResources. basic","App_Glo balResources.ba sic"
but none worked

any helps please?
Franck


exception
[System.Resource s.MissingManife stResourceExcep tion]
{"Could not find any resources appropriate for the specified culture or the neutral
culture. Make sure \"resx.basic.re sources\" was correctly embedded or linked into
assembly \"App_Web_g11ng 7or\" at compile time, or that all the satellite assemblies
required are loadable and fully signed."}
System.Resource s.MissingManife stResourceExcep tion


Nov 19 '05 #4
I don't know what the h*ll happened there.

;-)

Here's the correct links :

http://msdn2.microsoft.com/en-us/library/ms227427

http://msdn2.microsoft.com/en-us/library/ms227982

You'll find additional info at :

http://msdn2.microsoft.com/en-us/library/ms228002

and, for web server controls, at :

http://msdn2.microsoft.com/en-us/library/ms228093

Sorry for the confusion. I really can't explain why the links changed.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"tparks69" <tp******@discu ssions.microsof t.com> wrote in message
news:44******** *************** ***********@mic rosoft.com...
The links are not pointing to information about resources! Can you update
them?

"Juan T. Llibre" wrote:
Check the online Beta 2 documentation on resource files :

Resources Overview :
http://msdn2.microsoft.com/en-us/library/ms133858

Retrieve Resource Values Programmaticall y :
http://msdn2.microsoft.com/en-us/library/ms133918

The syntax for retrieving the resources has changed a bit.

From the last URL :

Call the GetLocalResourc eObject or GetGlobalResour ceObject method
to read specific resources from a global or local resource file, respectively.

These overloaded methods are available in
the HttpContext and TemplateControl classes.

The GetGlobalResour ceObject method takes the name of a resource class
and the resource ID. The class name is based on the .resx file name.

For example, the file WebResources.re sx, and all associated localized files,
are referenced by the class name WebResources.

There's sample code at both links.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Franck" <fh@fh.com> wrote in message news:dg******** **@s1.news.olea ne.net...
> Hello,
> I've just moved to visual developper 2005
> to do so, I also had to use the convert assistant.
>
> what it did;
> moving my file resx files that i had in a diresctory called resx
> to a new directory called:
> App_GlobalResou rces
>
> in my code i had :
>
> m_rm = new ResourceManager ("MES.resx.basi c",
> System.Reflecti on.Assembly.Get ExecutingAssemb ly());
>
> it worked perfectly before moving but now it throws this exception saying that it the
> ressource doesn't exist???
>
> I tried several different name
> e.g.:"MES.App_G lobalResources. basic","App_Glo balResources.ba sic"
> but none worked
>
> any helps please?
> Franck
>
>
>
>
> exception
> [System.Resource s.MissingManife stResourceExcep tion]
> {"Could not find any resources appropriate for the specified culture or the neutral
> culture. Make sure \"resx.basic.re sources\" was correctly embedded or linked into
> assembly \"App_Web_g11ng 7or\" at compile time, or that all the satellite assemblies
> required are loadable and fully signed."}
> System.Resource s.MissingManife stResourceExcep tion


Nov 19 '05 #5
I also had this problem. This is what I had to do... where I previously had
defined a resourcemanager , for example:
----------------------------------------------------------------------
Protected pgRM As New ResourceManager ("vehicles.stri ngs",
[Assembly].GetExecutingAs sembly())
----------------------------------------------------------------------
I didn't need the code above anymore, you can comment it out.

Then where I had assigned various strings, for example:
--------------------------------------------
Label1.Text = pgRM.GetString( "pnl3")
--------------------------------------------
I substituted in the following code:
Label1.Text = Resources.strin gs.pnl3

Believe it or not, that was all it took.


"Franck" wrote:
Hello,
I've just moved to visual developper 2005
to do so, I also had to use the convert assistant.

what it did;
moving my file resx files that i had in a diresctory called resx
to a new directory called:
App_GlobalResou rces

in my code i had :

m_rm = new ResourceManager ("MES.resx.basi c",
System.Reflecti on.Assembly.Get ExecutingAssemb ly());

it worked perfectly before moving but now it throws this exception
saying that it the ressource doesn't exist???

I tried several different name
e.g.:"MES.App_G lobalResources. basic","App_Glo balResources.ba sic"
but none worked

any helps please?
Franck


exception
[System.Resource s.MissingManife stResourceExcep tion]

{"Could not find any resources appropriate for the specified culture or
the neutral culture. Make sure \"resx.basic.re sources\" was correctly
embedded or linked into assembly \"App_Web_g11ng 7or\" at compile time,
or that all the satellite assemblies required are loadable and fully
signed."}

System.Resource s.MissingManife stResourceExcep tion

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4531
by: qh0st | last post by:
Hi all. I have an windows form application that will have multiple language ..resx files per form. Is there anyway I can bundle these .resx files into ONE .dll per form? If not, do you have any suggestions as to how these .resx files should be packaged with the application? Thanks in advance. - Lay
2
1406
by: Jerry | last post by:
Do I need to deploy resx files with their respective aspx files? e.g., when moving MyPage.aspx to production, do I also need to include MyPage.aspx.resx ?? Thanks
3
2275
by: Servé La | last post by:
We have an aspnet project where 2 people are working on and we have put the source files into subversion. Thinking that they were not crucial for a project, we did not put in the resx files. But after we both ran into strange problems and we added the resx files to the project it all seemed to work again. Therefore I'd like to know how crucial resx files are to a VS.net solution. I can't find anything important in there.
3
2504
by: M Schnell | last post by:
All, I've run into a problem and I'm hoping someone here can help me. I've got a ASP.NET solution with six projects within. The main web project has several resource files (.resx) to support foreign languages. However, I need to be able to pull translated text messages out of the resource files from a supporting project. The problem is I can't reference the main web app from the supporting project because that would set up a circular...
6
2743
by: FBS | last post by:
Hello I'm currently working on a winform project that must be in 3 languages (French, English et Polish). I know that I have to work with *.resx files, (1 for each language, 1 for the default) but also 1 for each Form. The problem I have is that I must change the form and modify the objects on
3
3592
by: Shimon Sim | last post by:
I just started trying localization for my web application. I have class library as part of solution so I need to globalize / localize this component too. I created resource file in the assembly itself - Account.resx - the one that VS offers. And wrote code like this. static ResourceManager stringManager=
2
10748
by: WT | last post by:
Hello, Could we use 'Embedded resources' with resx files that contain text resources used in aspx pages with the syntaxe: Text="<%$ Resources:ResourcesMy,KEY1 %>" I tryed removing the App_GlobalResources folder, and after verifying thta my resources were correctly embedded in my dll, I get errors as if asp.net was
7
12284
by: nws_reader | last post by:
I have a web service that needs to return a particular string for one of its web methods. I would like to manage the strings in a resource file. I went through a lot of the help provided on the net and can't seem to get it to work. Can someone with expertise assure me this is possible as a Web Service (using C#)? If so, can someone provide the steps on how to get this working?
0
2733
by: JustyAI | last post by:
Hi, I am trying to implement a multi language GUI. I went on several websites and found documentation on resx files. I found it interesting but i must forgot one step. I declared a resx file by default "Resources.resx" (english) and another for the french language "Resources.fr-CA.resx". On my application i have a menu that allows the user to choose the language English or French. I am using WPF, and I tried some data binding like...
0
8889
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9116
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.