Probleme VB

From Mesdoc


==

on programme ne peut ni lire ni écrire sur ton disque puisqu'il s'exécture à distance. Il faut que tu exécutes le wizard et que tu "trustes" l'assembly

J'ai donné les droits maximum pour cette assembly en faisant "trust an assembly" et les droits maximum pour le poste local et l'intranet dans "adjust .net security". Le problème n'a pas changé.

Alors j'ai résolu en partie le problème : Quand j'exécute l'exe, je l'exécute en fait en local, car il est dans un répertoire partagé sur le réseau. Et moi, quand j'ai trusté l'assembly, je l'ai trusté sur le serveur. Or, il fallait la truster en local (à partir du panneau de config de mon poste de travail), car l'exe est en réalité exécuté sur mon poste de travail et non sur le serveur. Voila.

==




http://support.microsoft.com/?kbid=836989

http://www.webserviceshelp.org/wsh/Discussions/dotnet/postings/SystemSecuritySecurityException+occurred+in+mscorlibdll+1142020236917903218080p10g2000cwpgooglegroup.htm


there is a very easy way to fix this problem go to control panels then go to admin tools click on Microsoft .Net framework 1.1 wizard then click on trust an accembley then click next till u get to the browes part find the .exe file click on that and then next then change the trust to full then finish this will allow you to use this on a network drive

hope it fixes the problem

http://www.editthis.info/mesdoc/Main_Page?title=Probleme_VB&action=edit

Personal tools