taliesins / cassia

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

No more data is available #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I created ASP.NET application in VS2008, referenced cassia, it worked well 
in build-in development server.
2. Then I deployed it in IIS. Prompted error message 'No more data is available'
3. The code is same, I guess it maybe due to security settings in IIS, can you 
help to clarify?

What is the expected result? What happens instead?
List all users in terminal server, but prompted error message.

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?
WIN7 64bit.

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

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

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).

Original issue reported on code.google.com by zhujia1...@gmail.com on 14 May 2013 at 8:21

Attachments:

GoogleCodeExporter commented 8 years ago
Yes, I think I've run into this before, and I think it was a permissions issue. 
Are you sure that the user you are running the IIS app pool as has permissions 
to query the RD server?

For more on RDS permissions, see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383488(v=vs.85).aspx

Original comment by danports on 18 May 2013 at 7:36

GoogleCodeExporter commented 8 years ago
thanks, it fixed.

Original comment by zhujia1...@gmail.com on 6 Jun 2013 at 2:15

GoogleCodeExporter commented 8 years ago
Great, thanks for letting me know.

Original comment by danports on 6 Jun 2013 at 12:40

GoogleCodeExporter commented 8 years ago
If anyone else encounters this, you must restart the Remote Desktop Services 
service before the changes take effect.

I also ran in to this issue when Cassia was being run from a service with Local 
System privileges, adding the computer to the remote machine with Query rights 
did not immediately fix it. I had to restart the service before it would allow 
me to connect.

Original comment by left...@gmail.com on 16 Jan 2014 at 8:59

GoogleCodeExporter commented 8 years ago
You had to restart the service in which Cassia was being used or the Remote 
Desktop Services service on the remote machine? I'd expect the former to be the 
solution.

Original comment by danports on 16 Jan 2014 at 11:39

GoogleCodeExporter commented 8 years ago
I had to restart the remote desktop service on the remote machine.

Original comment by left...@gmail.com on 28 Mar 2014 at 4:05