Dear Dave The error I am Exsperiancing now is No Connection could be made becase the target machine actively refused it Is this type of setup possible for WorkGroup And if so what needs to be changed on the configuration for this to work. Thanks in advance :confused:
PJ_12345
Posts
-
Dot Net Remoting -
Dot Net RemotingHi Dave The system I am working on doesn't use a configuration file But here is the code ================================================================ Server : This code is run onstart of the service ================================================================ Protected Overrides Sub OnStart(ByVal args() As String) ' Add code here to start your service. This method should set things ' in motion so your service can do its work. RemotingConfiguration.ApplicationName = "Indicium" Dim ChannelProps As New Dictionary(Of String, Object) ChannelProps.Add("port", "50000") ChannelProps.Add("secure", "false") ChannelProps.Add("name", "Server") Dim cProv As New BinaryClientFormatterSinkProvider Dim sProv As New BinaryServerFormatterSinkProvider sProv.TypeFilterLevel = Runtime.Serialization.Formatters.TypeFilterLevel.Full Dim myChannel As New TcpChannel(ChannelProps, cProv, sProv) ChannelServices.RegisterChannel(myChannel, True) RemotingConfiguration.RegisterWellKnownServiceType(GetType(RemotingGateway), _ "Indicium", WellKnownObjectMode.SingleCall) RemotingConfiguration.RegisterWellKnownServiceType(GetType(KVGenerator), _ "KVGenerator", WellKnownObjectMode.SingleCall) RemotingConfiguration.RegisterWellKnownServiceType(GetType(Importers.BankImporter.Gateway), _ "BankImporter", WellKnownObjectMode.SingleCall) RemotingConfiguration.RegisterWellKnownServiceType(GetType(Stats.clsGateway), _ "Stats", WellKnownObjectMode.SingleCall) RemotingConfiguration.CustomErrorsMode = CustomErrorsModes.RemoteOnly SSIDataInterface.ClientPlug.Init("", "", "") End Sub ====================================================================== Client ====================================================================== Dim serverIP As String = _MyConfig.serverIP Dim serverPort As String = _MyConfig.serverPort _serverAddress = "tcp://" & serverIP & ":" & serverPort Dim serverURI As String = _serverAddress & "/Indicium" ' Create a connection to the Indicium Server... Dim ChannelProps As New Dictionary(Of String, Object) ChannelProps.Add("name", "Client") ChannelProps.Add("port", serverPort) ChannelProps.Add("secure", "false") ChannelProps.Add("username", "Petrus") ChannelProps.Add("pas
-
Dot Net RemotingHi Dave Can one get dot net remoting to work on a workgroup and a domain with out changing the code. Thanks in advance
-
Dot Net RemotingHi Dave Sorry about all the questions But if the remoting server is sitting on a domain and the client pc wants to connect through the internet is it possible. Tanks in advance :(
-
Dot Net RemotingHi Dave I have played around with the TcpChannel Properties but the problem I am running into now is the following error: The server has rejected the client credentials. Thanks in advance
-
Dot Net RemotingThe Client and the server Service is both running on the administrator account. The network setup is a work group.
-
Dot Net RemotingHi Dave The Service is running,one can access the port and Ip form another machine using telnet. The service is running on a seprate machine to the client. The Machines are on the same network so in other words they are connecting directly to each other. Simple file Sharing is turned off on the client and on the server. Thanks in Advance :confused:
-
Dot Net RemotingHi I have a VB.Net 2005 Remoting Project. A service that is exposing the dot net remoting object on the server and a windows application as a client. But when I run the client form any pc I get the following error "A remote side security requirement was not fulfilled during authentication. Try increasing the ProtectionLevel and/or Impersonationlevel." If any one can help Thanks in Advance :confused:
-
Windows Forms ApperanceHi All How do I change the apperiance of a windows form Skin it as such. This is if I want to create a theme form my Windows forms Project. Thanks in advance P
-
Windows Forms ApperanceHi All Does any body know how I can skin a Windows form. Create a theme for my windows forms application is it possible?
-
Windows Forms Development ArchitectureHi, If I am looking at developing a new windows forms Application VB.Net 2005 Some Things to look at is why not develope it in a alone standing exe why all these DLLS, What would be the best Architeture using Plain windows forms application to connect to a central data source with massive data being transfered to the client or using dot net remoting ?? Well I am new to the windows applications arena any help would be appreciated. Best regards P