Voilà mon application passe sur 2 pc mais ne passe pas sur 2 autres, les 4 pc ont le framework et 3 des 4 pc ont visual studio et j'aimerai savoir si quelqun saurait d'ou peut provenir cette erreur, merci d'avance.
System.Security.SecurityException was unhandled
Message="Échec de la demande d'autorisation de type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
Source="mscorlib"
StackTrace:
à System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
à System.Security.CodeAccessPermission.Demand()
à System.Net.Sockets.Socket.Bind(EndPoint localEP)
à System.Net.Sockets.TcpListener.Start(Int32 backlog)
à System.Net.Sockets.TcpListener.Start()
à WindowsApplication1.Sockets.ConnexionClient()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.runTryCode(Object userData)
à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()

 

 
		
		 
        

 
			
			

 
   


 [C#]SecurityException
 [C#]SecurityException
				 Répondre avec citation
  Répondre avec citation

 
  
  
 
 
			 
   
 


 
						 
  .
.
						


 
   
			
Partager