473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Assembly resource file not found for non-admin users!

Hi,

I have create some webpart controls to use in sharepoint.
these webparts are in a DLL and I have a resource file for the french
language.

after an IISReset, if the caller is a non-administrator user, then the
language resource file is not loaded.
if an administrator load the page, then the DLL is found and loaded into the
cache and another non-admin user can see the translated texts.

the fusion log display that:
* first call by non-admin user: trying to find the "neutral" DLL. found it
in the GAC
* second call by an Admin user: trying to find the "fr-FR" DLL. found in the
GAC

why the first call try to find the neutral DLL and don't try to find the
language specific resource file?

there is a security issue or anything like this?
any guide?

thanks.

Jerome.

Nov 19 '05 #1
2 2324
if my DLLs are copied into the bin folder instead-of the GAC, then the first
user (non-admin) can see the translated texts!

but I want to use the GAC!!!

"Jéjé" <willgart_A_@hotmail_A_.com> wrote in message
news:OY**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have create some webpart controls to use in sharepoint.
these webparts are in a DLL and I have a resource file for the french
language.

after an IISReset, if the caller is a non-administrator user, then the
language resource file is not loaded.
if an administrator load the page, then the DLL is found and loaded into
the cache and another non-admin user can see the translated texts.

the fusion log display that:
* first call by non-admin user: trying to find the "neutral" DLL. found it
in the GAC
* second call by an Admin user: trying to find the "fr-FR" DLL. found in
the GAC

why the first call try to find the neutral DLL and don't try to find the
language specific resource file?

there is a security issue or anything like this?
any guide?

thanks.

Jerome.

Nov 19 '05 #2
oups... no
finally
there is no difference between GAC and BIN!
same result :-(

"Jéjé" <willgart_A_@hotmail_A_.com> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...
if my DLLs are copied into the bin folder instead-of the GAC, then the
first user (non-admin) can see the translated texts!

but I want to use the GAC!!!

"Jéjé" <willgart_A_@hotmail_A_.com> wrote in message
news:OY**************@TK2MSFTNGP14.phx.gbl...
Hi,

I have create some webpart controls to use in sharepoint.
these webparts are in a DLL and I have a resource file for the french
language.

after an IISReset, if the caller is a non-administrator user, then the
language resource file is not loaded.
if an administrator load the page, then the DLL is found and loaded into
the cache and another non-admin user can see the translated texts.

the fusion log display that:
* first call by non-admin user: trying to find the "neutral" DLL. found
it in the GAC
* second call by an Admin user: trying to find the "fr-FR" DLL. found in
the GAC

why the first call try to find the neutral DLL and don't try to find the
language specific resource file?

there is a security issue or anything like this?
any guide?

thanks.

Jerome.


Nov 19 '05 #3

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

Similar topics

3
by: Chris Becker | last post by:
The following code works. My problem is that I don't want to have to hardcode the string that I set resourceName to in the code. Is there a way for me to determine the namespace of the assembly...
0
by: Namratha Shah \(Nasha\) | last post by:
Hi All, Assembly linker is a tool which is used to create an assembly by combining one or more .netmodules and resource files. In simple words an .netmodule is an IL file that does not have ...
1
by: LidorP | last post by:
Hello All, My problem is as follows: I have an assembly which holds a number of WebForms. In order to use these WebForms in my WebApplication i have to extract them out of the assembly (using...
3
by: Jim | last post by:
Hi, I have an assembly and it's satellite in my GAC. I have referenced the DLLs in my project (from the same location where I added it to the GAC). CopyLocal is set false. When I run the...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
1
by: Steve Richter | last post by:
I am embedding an xml file in my class library assembly. In solution explorer I right click a folder, add , new item, xml file. then on the xml file I right click, properties, build action =...
7
by: =?Utf-8?B?RG9u?= | last post by:
I'm using VS2005 to build a C++ assembly. I set a Key File in the linker advanced options for the project so that the assembly would be strong named. I filled out the data in AssemblyInfo.cpp and...
4
by: Bob Altman | last post by:
Hi all, I have a C++/CLI project (VS 2005) that produces a DLL that exports C bindings. Internally, this DLL contains routines compiled with /clr. I notice that my DLL doesn't have a version...
7
by: Linda Liu[MSFT] | last post by:
Hi George, I have downloaded your sample solution and built it on my machine. I got a compilation error indicating that the type of "CustomResources" doesn't exist in the following xaml code: ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.