Hi guys,
I'm having problem with a site. It's basically the same site for 4 different
clients.
I use a resource file for internationalization.
3 of the sites work great.
1 is giving me a headache. It always gives me the error:
Server Error in '/saws' Application.
--------------------------------------------------------------------------------
Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure "sawshpd.lang.resources" was
correctly embedded or linked into assembly "sawshpd". baseName: sawshpd.lang
locationInfo: <null> resource file name: sawshpd.lang.resources assembly:
sawshpd, Version=1.0.2054.28532, Culture=neutral, PublicKeyToken=null
My other sites are: sawshpd, sawshdh, sawssfx and give me no problem.
My resource file name is lang.pt.resx.
I call it buy using in my code-behind:
Protected gStrings As New ResourceManager("sawshpd.lang",
GetType(login).Assembly)
btnLogin.Text = gStrings.GetString("Login.btnLogin")
btnReset.Text = gStrings.GetString("Login.btnReset")
lblUsername.Text = gStrings.GetString("Login.lblUsername")
lblPassword.Text = gStrings.GetString("Login.lblPassword")
Can anybody help me on this?
Thankx in advanced.
Mário
Mário Ramos
SADTEAM - Siemens Archibus Development Team
Serviços IntegradosTM
Siemens Medical Solutions
Edifício Minho
Telf.: +351 22 999 22 84
Fax.: +351 22 999 22 88
Email: [EMAIL PROTECTED]
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hce0an0/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124217913/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/