citrix

Access Denied when trying to change password from c#

∥☆過路亽.° 提交于 2019-12-11 06:32:54
问题 I wrote a tool that allows users to change their AD-password. This tool works without problems on my companies domain, but when running it on our customers machine with citrix I receive the following error message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) --- End of inner exception stack trace --- at System

Printing on citrix server

北战南征 提交于 2019-12-11 04:26:02
问题 We are using Delphi 7 to develop database apps with advantage as a backend. Our system is usually installed on the windows server with the pcs acting as terminals. All the settings and database are on the server. we are having problems running our software on Citrix servers. In particular printing seems to be an issue. Both in selecting the right printer and in the formatting of the report. We use Rbuilder version 10 to produce our reports and they are sent to a zebra label printer so not a

Accessing Access Gateway programmatically

梦想的初衷 提交于 2019-12-10 18:25:44
问题 is there any way to connect to citrix access gateway using some api, so that credentials for authentication are sent through that program, the user is authenticated and then is able to access internal resources. I saw about NITRO Api, and Web interface SDK...is this thing can be done using any of theses...which one of them is a better choice? 回答1: There is an API available by using the COM object WFICA.OCX (this component is included with the installation of the Citrix client). I believe this

Citrix : What is the difference between outputmodes

自古美人都是妖i 提交于 2019-12-10 11:02:10
问题 In Citrix there are four available outputModes: OutputModeNormal OutputModeWindowless OutputModeRenderless OutputModeNonHeadless When using Simulation API I don't see any difference between OutputModeNormal and OutputModeWindowless. From documentation, I would expect OutputModeWindowless to show no window on client side, but I get the window whatever I do. Is this expected, and if yes, what is the real difference ? I've searched a lot without any success: https://discussions.citrix.com/topic

How to search using the Citrix ShareFile API

故事扮演 提交于 2019-12-10 09:53:58
问题 I am using the Sharefile REST API for a project and have run into an issue. Their documentation is lacking and so far my 5 emails to the api@ address have gone unanswered. Figured I would crowdsource this one... What I need to do is search for a file by its name and it also has to have a specific parentID. I am following their documentation as best I can, but I still get a 500 error on the response. According to their API documentation I have to post to: https://account.sf-api.com/sf/v3/Items

How to Determine Whether C# App Running Under Citrix [duplicate]

拥有回忆 提交于 2019-12-08 10:46:55
问题 This question already has answers here : API for Determining if App is Running on Citrix or Terminal Services [closed] (4 answers) Closed 4 years ago . I have a C# WPF application that can run under 2 modes. The first is over Citrix, and the next is installed and running straight locally. This app is old, and we were using a call to the windows remote desktop API, WTSQuerySessionInformation to work out whether we were running over Citrix or not. https://msdn.microsoft.com/en-us/library

How to limit instances of a C# program in Citrix to 1-per-user

别来无恙 提交于 2019-12-08 01:06:14
问题 I have a Windows Forms application with C# code as shown below (targeting .NET framework 4). On my developer workstation, this code works to prevent me from launching multiple instances of the program. However, QA has a Citrix test environment where each user is still able to launch multiple instances. What can be done to prevent a given user from running multiple instances in Citrix? [STAThread] static void Main(string[] args) { bool isFirstInstance; Mutex m = new Mutex(true, "[App name goes

Sending message to citrix session

ε祈祈猫儿з 提交于 2019-12-08 00:46:23
问题 I have programs running both locally and on a citrix session. I need to send a one-bit message from the program running locally, to the program running on the citrix session in a very reliable way. The client is named MetaFrame Presentation Server Client. So far I have thought about the following methods. Utilizing TCP/IP. This, however, adds complexity and I am worried about whether internal firewall settings between various company locations will hinder this communication. This will be my

C# How do I log off a Citrix XenApp User Session?

青春壹個敷衍的年華 提交于 2019-12-07 15:37:49
问题 Since there is absolutely zero documentation by Citrix on their SDK, I am documenting this here. Using C#, how do I programmatically log a user session off? 回答1: Use the simple method below to log off a user session by parsing through sessions and logging off an individual session. using Citrix.Common.Sdk; using Citrix.XenApp.Sdk; using Citrix.XenApp.Commands; using Citrix.Management.Automation; private void logoffUser(string strUser) { GetXASessionByFarm sessions = new GetXASessionByFarm

The thread tried to read from or write to a virtual address for which it does not have the appropriate access

时间秒杀一切 提交于 2019-12-07 12:24:05
问题 I have developed a .NET 2.0 extension that acts as a plug in to a 3rd party application. Everything runs fine when run on anything but Citrix. When run over Citrix as a published application the extension crashes randomly which also crashes the 3rd party application. I have opened up a dump file and have found an exception message that gets reported: The thread tried to read from or write to a virtual address for which it does not have the appropriate access. I've not had much luck with