remoting

Remote Connections Mysql Ubuntu

允我心安 提交于 2019-12-17 02:02:32
问题 For some reason, I've been unable to connect remotely to my MySQL server. I've tried everything and I'm still getting errors. root@server1:/home/administrator# mysql -u monty -p -h www.ganganadores.cl Enter password: ERROR 1045 (28000): Access denied for user 'monty'@'server1.ganganadores.cl' (using password: YES) Now, I've tried running GRANT ALL ON *.* to monty@localhost IDENTIFIED BY 'XXXXX'; GRANT ALL ON *.* to monty@'%' IDENTIFIED BY 'XXXXXX';` and still nothing! What I'm doing wrong?

How do I share an object between a WCF service and a client?

怎甘沉沦 提交于 2019-12-14 01:50:18
问题 I have three programs in a distributed system that rely on WCF services for communication. If I have a data type used in the WCF service library, how do I access it from the client that has referenced the service? I am able to instantiate objects defined in the WCF service from the client console application, although there's not much else I can do with it. I can't access any of the object's member methods or fields. For example, I have this Transaction object class that is used in the

.NET remoting exception: Permission denied: cannot call non-public or static methods remotely

孤者浪人 提交于 2019-12-13 13:27:07
问题 I'm writing a program which will allow to load a specific managed .DLL file and play with it. Since I want the ability to unload the .DLL file, I'm creating two AppDomains - one for the app itself, the other for the currently loaded .DLL. Since most of the objects in the loaded .DLL do not serialize well, I'm creating a MarshalByRefObject wrapper class which will keep the object itself in its own AppDomain, and expose some reflection functions to the main application AppDomain. However when I

How to change Powershell CLR version when running commands remotely?

▼魔方 西西 提交于 2019-12-13 13:00:35
问题 I've got a problem trying to run some of our scripts on a remote server. We need all Powershell sessions to load v4 of the CLR, as we're loading in our own custom binaries with our scripts. We've been doing this for some time (we do so using a modified powershell.exe.config similar to here: How can I run PowerShell with the .NET 4 runtime?), and all is well when you RDP into 'Server1' and open a Powershell session. The variable $PSVersionTable tells us that the CLR v4 is loaded. Now that we

How to determine if remoting channel is already registered

守給你的承諾、 提交于 2019-12-13 12:09:49
问题 In my ASP.NET application, I have a line in the global application start event that configures the client remoting channel by calling RemotingConfiguration.Configure(). This works well the first time, but when my web application gets recycled, the application start event is fired again causing the following remoting exception: Remoting configuration failed with the exception 'System.Runtime.Remoting.RemotingException: The channel 'tcp' is already registered. I would like to detect if the

Powershell 3.0 Importing binary module from remote share

自古美人都是妖i 提交于 2019-12-13 04:49:13
问题 There are two machines in this scenerio: client.sub.domain.com (client machine PSRemoting to remote server) server.sub.domain.com (remote server that client is PSremoting into) I am using the below commands to start a psremote session using CredSSP to do "second-hop" authentication: $session = New-PSSession -cn server.sub.domain.com -Credential $credential -Authentication Credssp Invoke-Command -Session $session -ScriptBlock {. '\\client\Profile\Microsoft.PowerShell_profile.ps1'} Invoke

How Polling mechanism can be realized with RMI?

冷暖自知 提交于 2019-12-13 02:55:00
问题 Following the design/architecture i created for multiuser/network turn-based game with RMI server callbacks, I have tried to create a distributed animation in which my model(Ball) is remote object and it updates the clients via callback mechanism from server. The current situation of code is : The model remote object, which is iterating client list and calling update method of them, public class BallImpl extends UnicastRemoteObject implements Ball,Runnable { private List<ICallback> clients =

Azure ServiceBus vs ServiceRemoting, HTTP and WCF

≯℡__Kan透↙ 提交于 2019-12-13 02:51:54
问题 The documentation of Service Fabric recommends service remoting, ICommunicationClient or WcfCommunicationClient to realize the communication between the micro services. The ServiceBus, which I always used for inter-service communication, is not even mentioned. Why? 回答1: I think you misinterpreted the docs. It does not recommend any protocol or service (the word is not even present on the page). What it does do is list the built-in communication options and appropriate situations of when to

Question about .NET remoting and serializing

老子叫甜甜 提交于 2019-12-13 02:11:50
问题 I have a interface (let name it OuterInt) and a class (OuterClass) that implemented It. Interface OuterInt consists of the other intefaces (InnerInt1, InnerInt2 and etc.) And there are some classes (InnerClass1, InnerClass2 and etc.) that implement these inner interfaces. OuterClass is exposed by server-side of application by .NET remoting (RemotingServices.Marshal(_OuterClass, "myOuterInt");) My question is will inner classes be serialized in the process of remoting or not and should client

Communication between two separate applications

99封情书 提交于 2019-12-12 21:25:41
问题 I have developed a windows service which reads data from a database, the database is populated via a ASP.net MVC application. I have a requirement to make the service re-load the data in memory by issuing a select query to the database. This re-load will be triggered by the web app. I have thought of a few ways to accomplish this e.g. Remoting, MSMQ, or simply making the service listen on a socket for the reload command. I am just looking for suggestions as to what would be the best approach