473,503 Members | 13,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Global resources problem on production server

Hello,
We made a project which is using global resources strings for buttons
(ASP.NET 2.0). On development workstation (Windows XP, VS 2005 with .NET 1.1
& 2.0) everything was fine, but when we deployed project to production server
(Windows 2003 RC2, .NET 1.1 & 2.0), on every button, where we used global
resource strings, we saw any text.
This means that our application did not found a global resources file? But I
see App_GlobalResources.dll file in Application Bin directory.

Have someone solution for this problem?
Oct 12 '06 #1
3 5835
Hello,
We made a project which is using global resources strings for buttons
(ASP.NET 2.0). On development workstation (Windows XP, VS 2005 with .NET
1.1
& 2.0) everything was fine, but when we deployed project to production
server
(Windows 2003 RC2, .NET 1.1 & 2.0), on every button, where we used global
resource strings, we saw any text.
This means that our application did not found a global resources file? But
I
see App_GlobalResources.dll file in Application Bin directory.
What type of deployment do you use?
If you have App_GlobalResources.dll, you should have
App_GlobalResources.compiled file, too!

Another usual problem with global resources is when file casing changes
during deployment, ie. from Glossary.resx to glossary.resx, but it's
probably not your problem.

Robert Haken [MVP ASP/ASP.NET]
HAVIT, s.r.o., www.havit.cz
http://knowledge-base.havit.cz
Oct 12 '06 #2
I'm using "Publish Web Site" in VS 2005 and publishing web site to local
directory. Then I'm copying this local directory to production server.
Yes, in Bin directory here is both App_GlobalResources.dll and
App_GlobalResources.compiled.
I found interesting attribute in .compiled file - "virtualPath". On my
workstation, project web directory is named "Company.Project.Web". On
production server only "Project". Parameter "virtualPath" has value
"/Company.Project.Web/App_GlobalResources/". I tried to change this value to
"/Project/App_GlobalResources/", but nothing happens. Maybe here is a problem?
I tried to copy project to directory "/Company.Project.Web/" but problem
remains.
Oct 12 '06 #3
I found the solution. That does'nt matter what value is of attribute
"virtualPath". The problem was resolved when I copied App_GlobalResources
directory from development computer to production server.

Thank you for help.
Oct 12 '06 #4

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

Similar topics

3
6114
by: hansiman | last post by:
I use Application_Start in global.asax to set some physical folder paths ie.: Application("pdf") = "c:\www\<site>\pdf\" global.asax uses code behind. When I move the project from the dev to...
41
10632
by: Miguel Dias Moura | last post by:
Hello, I am working on an ASP.NET / VB page and I created a variable "query": Sub Page_Load(sender As Object, e As System.EventArgs) Dim query as String = String.Empty ... query =...
19
10159
by: furiousmojo | last post by:
This is a strange problem. I have a project where the contents of global.asax application_error are not firing. It is an asp.net 2.0 application using web application projects. I have another...
8
3879
by: Sergey V | last post by:
Hi, I need to cover by custom authentication algorithm both ASP.NET and other resources within the site. FormsAuthentication covers only resources beeing handled by ASP.NET. Other generic...
2
1220
by: Gediminas | last post by:
Hello, We made a project which is using global resources strings for buttons (ASP.NET 2.0). On development workstation (Windows XP, VS 2005 with .NET 1.1 & 2.0) everything was fine, but when we...
8
13175
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
2
2317
by: arun1985 | last post by:
In the project i am using i am having the following code and when i upload it to the server.Its givig me the following error in the global.cs file. Server Error in '/' Application. ...
4
6133
by: gamesforums | last post by:
Hi! I have some code within the Application_Start event in Global.asax that runs a sqlscript against my sql server to check the databas version. My problem is that sometimes the...
0
7212
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
7098
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
7296
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,...
0
7364
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...
0
7470
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...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4696
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...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.