Bonjour,
J'ai un gros soucis concernant la localisation de mes fichiers .dll .
Je m'explique:

Je travail sur une application multilingue et pour gérer les langues j'ai choisi de me servir des objets assembly et satellite assembly.
J'ai aussi choisi de ne pas incorporer mes objets dans le cache global , en conséquence je suis forcé de crée une arborescence bien précise.
de type
/monappli
/fr
/es

un dossier par langue dans lequel se trouve mon satellite en .dll.

Je sais aussi que je dois crée un assembly principal qui lui dois se trouver a la racine du site.
Cependant ce que je ne sais pas c'est de quel type il doit être : .dll ou .exe.
De plus s'il est en .exe que dois je spécifier dans l'option main de AL.

Ca fait plusieurs jours que j'écume le web a la recherche d'un exemple concret qui marche malheureusement je n'en trouve pas.Même msdn se contredit ou ne fournit que des ébauche de solutions :s

Dc j'aimerais bien savoir si qq ici a deja dev une appli similaire et savoir comment il a resolu le probleme concernant la localisation des fichiers.

mon erreur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 
Exception Details: System.IO.FileNotFoundException: File or assembly name k1kej-wr.resources, or one of its dependencies, was not found.
 
Source Error: 
 
 
Line 32: 			Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR")
Line 33: 			
Line 34: 			x = New ResourceManager("dzdb",[Assembly].GetExecutingAssembly.GetSatelliteAssembly(ci))
Line 35: 			nom.Text = x.Getstring("nom_label")
Line 36: 
 
 
Source File: c:\inetpub\wwwroot\dzdb\cl_affichage.aspx.vb    Line: 34 
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'k1kej-wr.resources' could not be loaded.
 
 
=== Pre-bind state information ===
LOG: DisplayName = k1kej-wr.resources, Version=0.0.0.0, Culture=fr-FR, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/dzdb
LOG: Initial PrivatePath = bin
Calling assembly : k1kej-wr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.
===
 
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: k1kej-wr.resources, Version=0.0.0.0, Culture=fr-FR, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dzdb/24e1b83e/1902607/fr-FR/k1kej-wr.resources.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dzdb/24e1b83e/1902607/fr-FR/k1kej-wr.resources/k1kej-wr.resources.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/dzdb/bin/fr-FR/k1kej-wr.resources.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/dzdb/bin/fr-FR/k1kej-wr.resources/k1kej-wr.resources.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dzdb/24e1b83e/1902607/fr-FR/k1kej-wr.resources.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dzdb/24e1b83e/1902607/fr-FR/k1kej-wr.resources/k1kej-wr.resources.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/dzdb/bin/fr-FR/k1kej-wr.resources.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/dzdb/bin/fr-FR/k1kej-wr.resources/k1kej-wr.resources.EXE.
 
 
 
Stack Trace: 
 
 
[FileNotFoundException: File or assembly name k1kej-wr.resources, or one of its dependencies, was not found.]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.InternalGetSatelliteAssembly(CultureInfo culture, Version version, Boolean throwOnFileNotFound) +209
   System.Reflection.Assembly.GetSatelliteAssembly(CultureInfo culture) +9
   test.langage.BindData() in c:\inetpub\wwwroot\dzdb\cl_affichage.aspx.vb:34
   ASP.affichage_ex_aspx.Page_Load(Object Src, EventArgs E) in c:\inetpub\wwwroot\dzdb\affichage_ex.aspx:6
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731
Est ce une erreur dans mon code? dans l'arborescence? dans le type de donnée???

Ne repondez pas svp si vs n'avait jamais réaliser d'appli de ce type ,merci d avance.je cherche reellement une réponse claire d'une personne ayant réussi a mettre une solution logiciel de ce type.Je n'explique pas tout car se serait trop long

Bonne journée.
ps: je sens que je vais encore n' avoir aucune réponse lol