Dear Folks,

*I Created a Satellite assembly as follows*

1. Created a resource(a.resx) file (values as String1 = Good Bye World)
2.Converted to a1.resources using resgen
3.created a strong name (snk_us.snk)
4. created a dll using Al /Embed:a1.resources /out:cls.dll /c:en-US
/keyfile: snk_us.snk
5. after that installed in Gacutil using gacutil-i (now this cls.dll is
global assembly)
6. i wrote a code to access the String1 value as this after adding the
reference of cls.dll


ResourceManager
rm = new ResourceManager("a1", Assembly.GetExecutingAssembly());

Response.Write(rm.GetString(
"String1"));
Webconfig:


*<*
*add assembly="res_Us, Version=0.0.0.0, Culture=en-US,
PublicKeyToken=7948FE8AC82C21DA"/></assemblies>*

Error:

*Could not find any resources appropriate for the specified culture or the
neutral culture.  Make sure "res_US.resources" was correctly embedded or
linked into assembly "App_Web_yv-xjx00" at compile time, or that all the
satellite assemblies required are loadable and fully signed. *
Can any one suggest me where i went wrong Please!!!!

regards and thanks in advance,
Sarvesh

Reply via email to