Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / May 2005

Tip: Looking for answers? Try searching our database.

Satellite assemblies are not downloaded since framework 1.1 sp 1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick - 11 Apr 2005 10:02 GMT
Since I installed service pack 1 of Framework 1.1, no satellite assemblies
containing language-specific resources are downloaded when I start my
application from an URL.

I have created a WinForm application with three resx files: one neutral, one
english and one dutch.
The application works fine when I execute it locally (all languages are
displayed). When I start it from an URL, only the neutral text is displayed.

I am using the following code to load the string:

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

string s = rm.GetString("Text", new CultureInfo("nl-NL"));

I get no Exception whatsoever. When I check Fusion Log viewer I don't see
any error, the application tries only to read neutral culture.

What has changed since service pack 1 that could cause this problem, as it
is working good without the service pack?

Regards,

Patrick
Gabriel Lozano-Morán - 19 Apr 2005 21:49 GMT
And nothing changed in the directory tree on your webserver where the
satellite assemblies are located? No web.config where permission is denied
in the subdirectory or something like that?

Gabriel Lozano-Morán
Patrick - 20 Apr 2005 10:28 GMT
I have tried this on several computers (XP and Server 2003) and the
behaviour is alike everywhere.

When I don't have sp 1 installed on the client it works correctly. As soon
as I install the service pack on the client it stops working. Nothing has
changed on the web servers.

So I guess it must be a client thing. Have tried giving access to the
ASP.NET account to virtually every folder on the server but alas.

I am still interested if I am the only one with this problem.

Patrick

> And nothing changed in the directory tree on your webserver where the
> satellite assemblies are located? No web.config where permission is denied
> in the subdirectory or something like that?
>
> Gabriel Lozano-Morán
Gabriel Lozano-Morán - 20 Apr 2005 13:28 GMT
Try it without the neutral language just to try to get an exception.

Gabriel Lozano-Morán

>I have tried this on several computers (XP and Server 2003) and the
>behaviour is alike everywhere.
[quoted text clipped - 15 lines]
>>
>> Gabriel Lozano-Morán
Patrick - 21 Apr 2005 09:42 GMT
Gabriel,

When I delete the neutral language, I get the following exception.

System.IO.FileNotFoundException: File or assembly name TestResources, or one
of its dependencies, was not found.
File name: "TestResources"

Which seems logical, as it tries to load the neutral which isn't there.

Do you have it working with sp1 in combination with execution from an URL?

Patrick

> Try it without the neutral language just to try to get an exception.
>
[quoted text clipped - 19 lines]
>>>
>>> Gabriel Lozano-Morán
Garrett McGowan[MSFT] - 11 May 2005 00:40 GMT
Hi Patrick. I've just tried this scenario in my test environment, and was
able to launch a WinForm application via a IIS 6.0-hosted website. The
client machine has .NET Framework 1.1 installed, and the satellite
assemblies loaded successfully. Which authentication method is your website
using?

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Patrick" <mrnickname@nospam.nospam>
>Subject: Re: Satellite assemblies are not downloaded since framework 1.1
sp 1
>Date: Thu, 21 Apr 2005 10:42:18 +0200
>Newsgroups: microsoft.public.dotnet.internationalization
[quoted text clipped - 36 lines]
>>>>
>>>> Gabriel Lozano-Morán
Patrick - 24 May 2005 13:12 GMT
Hi Garrett,

The application worked correctly for me with framework 1.1. Only when I
installed sp1 on 1.1 I got the described behavior.

I have tried Anonymous, Windows Authentication and Basic authentication but
no success. I have tried it on multiple clients and on multiple servers
(using different Windows versions).

I am very curious if you have download of satellite assemblies working with
sp1.

Patrick

> Hi Patrick. I've just tried this scenario in my test environment, and was
> able to launch a WinForm application via a IIS 6.0-hosted website. The
[quoted text clipped - 54 lines]
>>>>>
>>>>> Gabriel Lozano-Morán
Garrett McGowan[MSFT] - 26 May 2005 20:26 GMT
Yes, this was with SP1 installed as well. I have seen behavior like that
before though. I'll ask around to see if this particular issue has been
reproduced by anyone on the team.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Patrick" <mrnickname@nospam.nospam>
>Subject: Re: Satellite assemblies are not downloaded since framework 1.1
sp 1
>Date: Tue, 24 May 2005 14:12:04 +0200
>Newsgroups: microsoft.public.dotnet.internationalization
[quoted text clipped - 71 lines]
>>>>>>
>>>>>> Gabriel Lozano-Morán

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.