RE: Global resources not localized on IIS



Hello Dave,

As for the localization application, how did you apply those localized
resource item on page item? Through code or static resource expressions?
Also, when you precompiled and published the site, are you using the web
deployment projectin GUI or use the aspnet_compiler and aspnet_merge
utility in commandline?

I've just performed some simple test (on XP/IIS5 ASP.NET 2), the
localiation(global and local resource) work as expected. I have tested
through both the VS 2005's built-in publish Website and the web deployment
project. Have you tried the publish website approach to see whether it
works? Also, you can test them without precompile to see whether the
problem here is specific to the compilation.

As for the output assembly of web deployment project, I've reviewed the
document and found that for the "single assembly" output mode, it contains
all the web page UI content(aspx and ascx...), top level folders(App_Theme,
App_Code , App_GlobalResources....). For App_LocalResource, since it is not
top level and may occured per diretory, it is not included in the
precompilation assembly. That result to the exceptional one here.


#Managing ASP.NET Precompiled Output for Deployment Using the
aspnet_merge.exe Command
http://msdn2.microsoft.com/en-us/library/aa479044.aspx


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • RE: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
    ... application compilation model of ASP.NET 2.0/VS 2005 web application ... means we do not need to precompile any codebehind into assembly at ... Microsoft MSDN Online Support Lead ... response from the community or a Microsoft Support Engineer within 1 ...
    (microsoft.public.vsnet.general)
  • Re: Deploy VS 2005 / asp.net 2.0 application by hand copy / past over ftp
    ... I have also downloaded the Web Deployment Projects. ... means we do not need to precompile any codebehind into assembly at ... Microsoft MSDN Online Support Lead ... response from the community or a Microsoft Support Engineer within 1 ...
    (microsoft.public.vsnet.general)
  • RE: Updating a Web-Site
    ... The "updatable" means after you precompile and deploy the ASP.NET ... you can still modify the aspx or ascx template and the ASP.NET ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Performance questions
    ... "merge all pages and control outputs to a single assembly", ... For partial precompile, the ASP.NET runtime still ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to embed resource in ASP.Net 2.0 web application?
    ... do you mean the default "Web Site" project ... However, for localization resource, it ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)

Loading