Errore system.net.sockets.socket con VB.NET 2005

sabato 10 febbraio 2007 - 20.59

ravalon Profilo | Expert

Salve a tutti.....sono nuovo per cui scusate se ho postato nella stanza sbagliata...

mi rivolgo a voi perchè su altri Forum non ho ottenuto nessun aiuto su un problema che mi fa dannare da un po di tempo...

Sviluppo su VB.NET 2005 quindi .NET framework 2,0

Il programma che sto sviluppando funziona benissimo fino a che lo lancio dall'IDE di VB, ma se lancio l'eseguibile generato nella cartella BIN/DEBUG ottengo questo errore

Errore system.net.sockets.socket

ecco uno screenshot


640x298 10Kb


Posto anche il codice di errore dei dettagli

*********************************************
System.Net.Sockets.SocketException was unhandled
Message="Argomento fornito non valido"
Source="System"
ErrorCode=10022
NativeErrorCode=10022
StackTrace:
in System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
in System.Net.Sockets.Socket.Bind(EndPoint localEP)
in System.Net.Sockets.TcpListener.Start(Int32 backlog)
in System.Net.Sockets.TcpListener.Start()
in System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
in System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
in System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
in System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
in System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)
in System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.RegisterChannel(Boolean SecureChannel)
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
in MagOrA.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:riga 81
in System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
in System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
in System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
in System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
in System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
*********************************************

Stessa cosa se sposto tutto il progetto in un'altra cartella...solo che l'errore in questo caso non mi permette nemmeno di lavorare sul progetto...quindi attualmente sono limitato ad usarlo nella directory dove si trova attualmente con la paura che alla fine il software non funzionerà

Non utilizzo espressamente quel namespace...o almeno non volontariamente...

E' un problema di Framework o di cosa ? Mi si è sgangherato ??

Ah..dimenticavo...ottengo lo stesso errore dopo avere installato un programma (YADIS!) che usa il .NET framework...

Grazie a tutti...
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5