taliesins / cassia

Automatically exported from code.google.com/p/cassia
1 stars 0 forks source link

rpc server unavailable error #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a connection to server.
2. The error is when the code runs server.GetSessions()

What is the expected result? What happens instead?
Get the connected user instead of Access Denied

What version of Cassia are you using (e.g. 2.0.0.60)?
2.0.0.60

On what Windows version is your code running?
Windows 7

Is your code running as a Windows service, an ASP.NET application, or a
standalone application?
standalone console application

What Windows version is running on the remote server you are trying to
access (if any)?
Windows Server 2008

Please provide any additional information below. If you are running into an
exception, please include a stack trace (at least the portion of it that
relates to Cassia).

When I access the server using Remote Desktop Application (mstsc), it is 
successfully connected. But when I execute the following command in command 
prompt (or the Cassia API calls), I get "RPC Server is unavailable" error.

qwinsta /server:servername

Note: My machine and the client machine are on different domains. It is just my 
guess that the QWINSTA command does not use 3389 port which is default for RDP.

Original issue reported on code.google.com by nabeelkh...@gmail.com on 25 Mar 2014 at 1:29

GoogleCodeExporter commented 9 years ago
That sounds like a firewall issue: is the server accepting incoming TCP 
connections on port 445? See issue 25 for troubleshooting steps.

Original comment by danports on 2 May 2014 at 4:34