Salut,

Je suis confronté à un problème qui est nouveau pour moi et j'ai besoin d'aide.

Je bosse sur un site ASP.net C# qui est composé de deux parties. La première est le site à proprement parler qui contient les les pages. La seconde est le Runtime qui contient l'ensemble de l'architecture objet C#.

J'ai déployé le site sur mon serveur de test, il démarre en mode pré compilé.
Mon souci est que lorsque j'ajoute le projet Runtime à la solution et que j'essaye de compiler, j'ai un message d'erreur qui me dit que le répertoire n'est pas approuvé.

En Googlant sur le net n'ai trouvé :

http://forums.asp.net/p/992339/1291460.aspx

On the local machine, open Administrative Tools, and then double-click Microsoft .NET Framework Configuration.
Expand Runtime Security Policy, expand Machine, and then expand Code Groups.
Right-click All_Code, and then click New.
Select Create a new code group. Give your code group a relevant name, such as the name of the applications share. Click Next.
In the Choose the condition type for this code group list, select URL.
In the URL box, type the path of the share in the following format: file:////\\computername\sharename\* Note Replace computername with the name of the computer that is hosting the remote share. Replace sharename with the name of the share.
Click Next. On the next page, select Use an existing permission set, and then select FullTrust.
Click Next, and then click Finish.
Restart the ASP.NET worker process. (Shutdown and reopen your development environment.)
J'ai suivi les instructions à la lettre... Rien n'y a fait.

Je suis sous Visual Studio 2005 sur un poste XPSP2 et le site et l'assembly sont sur un poste 2003 R2.

Je me demandais si l'approbation doit être faite sur le serveur, sur le client ou sur les deux ???

Auriez-vous un expérience dans ce domaine ?

D'avance merci

Laurent