Application redraw issue over Citrix and Terminal Server

Hi All,
We provide a client-server application which connects to a SQL Server database. The middle-tier is hosted on an application server (Windows Server 2008 R2) which in turn connects to the SQL Server database. The fat client can either be installed on user laptops/desktops
or published using Citix/Terminal services.
We have a long standing issue which frankly I just cannot fathom. A customer has published the client via Citrix to users and using roaming profiles. If an employee is using the application in London, the roaming profile is created on a server in London and
connects to the middle-tier in London. If an employee is using the application in Glasgow, the roaming profile is created in Edinburgh and the user connects to the middle-tier in London. The customer is also using DFS
The roaming profile consists of the 'My Documents', 'My Pictures', 'My Videos', 'My Music' and 'Windows' folder. Distributed File System (DFS) is used for roaming profile folder replication between offices. See http://technet.microsoft.com/en-gb/library/cc732863%28v=ws.10%29.aspx
The Edinburgh users are experiencing application redraw issue where the interface loads in chunks. For example, when a user scrolls up and down or left and right, the data loads immediately (from SQL Server) but the interface (GUI) loads in blocks. You can
actually see each segment of the GUI components loading. The issue also occurs if connecting via a Terminal Server where the application is also installed.
For London users, it all works fine. If an Edinburgh user comes to London, they have no issues.
The network connection is super fast between the various offices.
The application is built using C++ and Delphi and uses the GDI API to draw the objects.
Any guidance is appreciated.

Hello partner,
Thanks for contacting Microsoft. This is Sophia who is going to help with this issue. From your description, I learnt that users from Edinburgh have application redraw issue. However, London users worked fine. Please let me know if I misunderstand your purpose.
Based on the information, it seems that the issue located in the middle-tier in London. Could you try building a middle-tier in Edinburgh and then test how the issue goes?
Besides, based on my experience and research, by default the allocation of the bandwidth is 70 percent for graphics data and 30 percent for virtual channel data, meaning when bandwidth usage is under pressure, graphics data is guaranteed to get 70 percent
of the available bandwidth.  And we can tweak the settings a bit for some scenarios. To change the settings, we can set registry values. Please reference the information below.
===========================================================================================================================================
Note: For these settings to take effect, the computer must be restarted.
Following is the list of registry values that affect the bandwidth allocation behavior. These are all DWORD values under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD:
·         FlowControlDisable: When set to 1, this value disables the new flow control algorithm, making it essentially First-In-First-Out (FIFO) for all packet requests. This provides results similar to Windows Server
2003. (The default for this value is 0).
·         FlowControlDisplayBandwidth / FlowControlChannelBandwidth: These two values together determine the bandwidth distribution between display and virtual channels. You can set these values in the range of 0–255.
For example, setting FlowControlDisplayBandwidth = 100 and FlowControlChannelBandwidth = 100 creates an equal bandwidth distribution between video and VCs. The default is 70 for FlowControlDisplayBandwidth and 30 for FlowControlChannelBandwidth, thus making
the default distribution equal to 70–30.
·         FlowControlChargePostCompression: If set to 1, this value bases the bandwidth allocation on post-compression bandwidth usage. The default for this value is 0, which means that the bandwidth distribution is applied
on pre-compressed data.
For more information about RDP Bandwidth, please reference the article below.
================================================
Bandwidth Allocation for Terminal Server connections over RDP
http://blogs.msdn.com/b/rds/archive/2007/04/09/bandwidth-allocation-for-terminal-server-connections-over-rdp.aspx
Top 10 RDP Protocol Misconceptions – Part 1
http://blogs.msdn.com/b/rds/archive/2009/03/03/top-10-rdp-protocol-misconceptions-part-1.aspx
If you have any concerns about the action plan above, feel free to let me know.
Best regards,
Sophia Sun
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Issues with WebDav over SSL via Terminal Server when Accessing SharePoint 2013

    Hi All,
    We have deployed a terminal server from which multiple users access and heavily use SharePoint 2013 (hosted on a separate server). The SharePoint site is published to the internet and is operating over an SSL certificate. Over the last few months we have
    been encountering a randomly occurring issue where all the users become unable to use Open with Explorer or mapped drives to access the site. During this time they can still access the site through the browser OK and download files etc. This issue sometimes
    reoccurs every few days, although at points it hasn't occurred for a couple of weeks before resurfacing.
    Current Terminal Server Config
    TS 2008 R2 Enterprise
    Site added to Trusted Sites. (have checked during broken time and still recognized as trusted)
    Using IE 11, site added as compatibility view
    Registries updated as below
    reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v AuthForwardServerList /t REG_MULTI_SZ /d "*.clientsite.com"
    reg add HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v BasicAuthLevel /t REG_DWORD /d 2 /f
    reg add HKCU\Software\Microsoft\Office\14.0\Common\Internet /v BasicAuthLevel /t REG_DWORD /d 2 /f
    registry added for tabprocgrowth added to 2
    My test result are below:
             Restarting the SharePoint server or the terminal server will resolve the behaviour
    until the issue occurs again.
    Users on the terminal server can still open the
    ttps://clientsite2.harrierhc.com
    URL (this url is bound to the same UCC cert) with open with explorer during this time.
    While users are unable to access the ttps://clientsite.harrierhc.com
    URL, if they access the same site from WebDAV with a separate binding (e.g. ttp://clientsite the behaviour works fine.
    All other users not on the terminal server can still use the open with explorer behaviour during this time.
    IIS reset on the SP Server & restarting the web client service on the terminal server have no impact
    Reimporting the IIS certs have no impact
    There are numerous errors in both server’s event logs but none at the time of the issue instigation.
    Clearing the IE cached certificates has no impact
    Going to IE properties for the site and clicking the ‘Install Certificate’ has no impact
     Any ideas or suggestions would be much appreciated. If you need any more info let me know. (sorry for the ttps:// links cant be posted until my account is verified?
    Thanks again

    Hiya,
    are there any load balancers involved?

  • Acrobat XI and Terminal server 2k8r2 x64

    I found out that Acrobat or adobe no longer provides open licensing? So we were told to buy 5 copies with where each one can be installed twice. 
    Question: How do you install the software if each license is per user and not concurrent? and having to buy 5 copies, we have 5 licenses to install? How would you go about doing that if the first installation instance only gives you one time to enter in the license key?
    Adobe support wasn't very helpful over online, and I have been waiting for 2 hours to get a call back from them.

    What do you mean by Open licences? From your post I can infer that you want to install an instance of Acrobat on a terminal server and you would like to connect to the server using multple clients concurrently. For this I suggest you can explore the option of Volume licensing. Volume licensing provides the option of multiple activations per serial key whereas Retail licensing gives you only 2 activations per serial key. For Terminal Server/Citrix servers, you need to get volume licenses instead of the retail ones.
    I hope I have clarified your doubts...
    Thanks,
    Vinod

  • VPN Client and Terminal Server

    We have several clients that allow us to vpn into their systems and it has come to the point that we are getting software incompatabilities. What I am trying to do is set up "compatable" connections on a Terminal server box and let our people access this from their workstations. The problem is when the acuall connection thru the vpn client is made they loose connection to the terminal server. I have tried putting in 2 nic's into the terminal server and am able to allocate one for the terminal server but can not find a way to allocate the other to the VPN CLient. Is this possable or is there another way to accomplish this?
    Thanks

    Close,
    What I have is one machine with 2 nic's
    NIC #1 = Terminal Server Access (local lan only) Locked in via registry settings to use ONLY this NIC
    NIC #2 = I would like to "LOCK" the Client software to use ONLY this nic (has a dynamic IP for local lan and access to the Inet via a router.
    Problem: When you connect to the T-Server all is fine UNTIL you start up the client software to access our clients systems via the web connection to the T-Server on the local side stops and gives the appearance of a frozen screen.
    manualy disconnect person from the T-Server and kill the cisco client software then you can re-connect to the T-Server (and it all starts over again)
    The Cisco software acualy makes the connection to our clients system but we can not tell because it want BOTH the NIC's for itself and stops access via NIC#1 to the T-Server.

  • Running Forms on oracle Application 10g(9.0.4) on terminal Server

    oracle application Server Installation guide for windows states that
    Oracle Application Server is not supported on Windows operating systems that
    include Terminal Services (for example, Windows NT Terminal Server Edition and
    Windows 2000 with Terminal Services are not supported).
    My Remarks : It means Oracle Application server cannot be installed on the Windows server on which Windows Terminal Services are on.
    Please consider the following deployment scenario
    Server 1
    OS : Windows 2000
    Software Installed : Oracle Database 10g
    Server 2
    OS : Windows 2000
    Software Installed : Oracle Application Server 10g(9.0.4) on which Forms and Reports are deployed
    Server 3
    OS : Windows 2000 as Terminal Server
    Software Installed : IE 6.0 , that will act as Client Machine.
    I have following Queries
    1. Oracle does not allow OAS installed on Terminal Server, will it allow Terminal Server( Server 3) to act as Client and to run web base forms and reports on it.
    2.
    In case It allow to run forms and reports on Terminal Server ( Server 3) does it means thin client machines connected to Terminal Sever can access Forms and Reports.
    Thanks and Regards,
    Ankur Diwan

    The bottom line is that we don't certify running Forms using the features of a terminal server to serve up any part of those Forms. That doesn't mean it does not work, but its not certified or supported.
    Regards
    Grant Ronald
    Oracle Product Management

  • Reader 8.1.2 and Terminal Server (2003)

    I have Adobe reader 8.1.2 loaded on a terminal server. Program has been fine until today. When some (not all) users open some (not necessarily all) PDF files, the program terminates without an error being shown.
    The server log shows:
    Faulting application AcroRd32.exe, version 8.1.0.137, faulting module ADMPlugin.apl, version 3.16.128.32, fault address 0x000a7bf1.
    I tried upgrading to Reader 9. But it seemed to do the same thing. Removed Reader, tried to make sure all traces were gone (went through the manual removal), and then reinstalled 8. Still doing this. Any ideas?

    Hi jhousen1,
    Please provide more information for better analyzation:
    1. What error message do you receive in Internet Explorer?
    2. Do we have any proxy settings configured in group policy?
    Please Check the proxy settings through Internet Options in Windows 8.1, also take a look at the article below:
    What to do when Internet Explorer isn’t working
    http://windows.microsoft.com/en-hk/internet-explorer/ie-crashes-stops-working#ie=ie-11
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Problem with Acroabt X Pro and Terminal Server 2008r2

    I have deployed Acrobat x Pro on a 2008 R2 Terminal Server.  Everything was going great but a while back I had to reapir the OS and re-install Acrobat and a few other Programs because of a minor virus.  I have confirmed everything is running fine and that the virsu is gone.  However, since then users prefernces and settings have not loaded up when they open up acrobat.  The pfx file is still there for all users it is simply not loading along with the rest of thier prefernces.  Has anybody seen this before and does anybody have a fix for it?
    Message was edited by: Skywalker32

    Hi Skywalker32,
    I think Sabian is on the right track, well other than his nomenclature  being incorrect. The way Acrobat/Reader works is the list of digital ID files are store in the registry like in the example above (except you'd be looking for 10.0 in the path and either Adobe Acrobat for your Acrobat users or Acrobat Reader for the Reader users).
    So with that in mind, are you using a GPO to push the individual PFX files and are you using the Adobe Installation Wizard to customize the application (Acrobat or Reader) installs? I'm just trying to get a handle on what's in play here. Also, I thought that maybe the digital ID file location could be set as a lockable preference in the HKLM portion of the registry, but they can't so if that's what you are trying to do via the installation wizard that could be a problem (not that I think you are, I'm just taking a shot in the dark here).
    Thanks,
    Steve

  • Error with SUNPKCS11 and Terminal Server

    I've found a problem when trying to create a SUNPKCS11 Provider through a Terminal Server session. My code is as simple as this:
    Provider pkcs11Provider = new sun.security.pkcs11.SunPKCS11(pkcs11ConfigPath);I see that it works fine in my local system, but when I run it through a Terminal Sever session, I get the ProviderException CKR_TOKEN_NOT_RECOGNIZED. The amazing thing is that if I try to do it several times, at last it works. I mean, doing that...
    Provider pkcs11Provider = null;
    while (pkcs11Provider == null) {
       try {
          pkcs11Provider = new sun.security.pkcs11.SunPKCS11(pkcs11ConfigPath);
       } catch (ProviderException e) {
          Throwable cause = e.getCause();
          if (!(cause instanceof PKCS11Exception && ((PKCS11Exception) cause).getErrorCode() == PKCS11Constants.CKR_TOKEN_NOT_RECOGNIZED)) {
             throw new TokenInicializationException(e);
    }...it finally works. It needs much more times to get it with JRE 1.6 (about 1500) than with 1.5 (about 10).
    I'm completely lost and I haven't found anything around about this. Can someone help me to avoid using this loop?

    When using NT Terminal Server, attempting to boot or shutdown Tuxedo can
    fail for semaphore errors.
    This is because NT Terminal Server performs "object decoration" for
    kernel objects that are created while in a remote session. For example,
    if you create a semaphore named foo locally, it will be called foo. But
    if you create a semaphore called foo while logged in remotely with
    session id 1, the semaphore name will be foo:1
    To be able to work with Tuxedo within a remote login window, "object
    decoration" needs to be turned off.
    SOLUTION:
    First make sure the tuxipc service is not running.
    Change directory into %TUXDIR%\bin
    Run Register
    Register libgp.dll /SYSTEM
    Run Register on all other dll's in %TUXDIR%\bin, it need be only run once.
    This will turn off "object decoration" for these dll's and remote admin
    of Tuxedo should no longer fail.
    Ray Castro Junior wrote:
    Hi,
    I have the product Bea Tuxedo v7.1 for Windows 2000 server.
    Machine: Compaq ProLiant.
    If I to install in the same machine the Terminal Server the tuxedo stops all the
    function.
    What it can be this?
    Thanks in advance.
    Ray

  • Need help in setting up Group Policy for same user in local system and Terminal server

    Hi All,
    Currently our remote users are using our network using VPN client over internet.
    They are generally at their home computer and doing VPN as they have to work only in one RDP server for application.
    We actually have a OU created for these RDP users and assign then some strict policy like they can not use any other .exe,they can not user any explorer ,they can not even use windows explorer when they are on RDP they just use one exe of their application.
    Now what my management want is they want their home computers in Domain and want them to login via their same credentials they are using for RDP but they don't want them to restrict in their home computers with any strict policy.
    Now my confusion is how can I configure different policies for same users or same OU.
    Can any one guide me please...

    you can achieve this fairly easily with group policy.
    create an OU and put your remote desktop servers in that OU.
    configure both user and computer policies in a group policy and link it to that ou.
    you need to enable loopback mode - you may want it in merge or replace depending on your other policies you have. Probably replace though I would guess. this is set in the computer configuration > admin templates > system / group policy section.
    now remove the policy you have currently setup for your users on the users OU containing the rdp users. If you want you can move these users back to your main users OU.
    when your users login to the RDP server the settings in the user section of the GPO linked to the RDP Servers OU will apply.
    when the user logs in to their own computer the policies from the user OU and computer OU will apply - but not the more restrictive RDP OU.
    hope that makes sense.
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • C# application to execute both oracle and sql server script files.

    Hi All,
    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
    What is the best way to do this and which existing c# functions should is use.
    Thanks in advance.

    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    You can use SQL Plus for Oracle. You can have a C# program that issues commands  for  scripts for table, views, triggers  creation and the whole 10 yards to SQL Plus,
    http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
    https://www.google.com/#q=sql+plus
    I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
    A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
    scripts.
    For MS SQL Server, you have this, which you can run from a C# program too.
    http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
    I would consider using the above from a C# program a waste of time too.
    I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
    BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool.

  • ZCM and Terminal Server?

    Hi,
    We have set up a Windows 2003 TS and installed the ZENworks agent. Most things work just fine but we have one issue with bundles (bundles triggered by event: user login) being refreshed on all currently logged in users.
    That is, if user A is logged on via rdp to TS and user B logs on then all actions performed for user B is also performed for user A...!?!
    As an example we have a bundle that empties a directory (del directoryname /s /q) and bundle is triggered on user login. When user B logs in the bundle runs once again for user A.
    What could be the cause of this?
    Please advice.

    That was with 10.2. We have roaming profiles (terminalserver farm).
    Furthermore we have 2 seperate Terminalserver with Citrix Client. But on all we had the following problems:
    -very slow logins (up to 15 minutes)
    -Agent crashed (ZenworksWindowsService.exe) every day! Consequence no logins were possible until the Agent was manually restarted
    -very high memory usage (ZenworksWindowsService.exe up to 2 GB)
    -very high CPU usage
    -terminalserver applications were running very slow
    After the agent was uninstalled, the terminalserver run as they never did with the agent. Logins are ready after seconds and the user are happy again.
    Originally Posted by magic31
    How far back was that? We have two 2K3 R2 terminalservers running the 10.2 agents without issues (not using roaming profiles). Where specific processes locking up or the agent itself crashing?

  • Data type conversion issues between Oracle and SQL Server

    Hi there, I am using Heterogeneous Services to insert into a SQL Server database. I am running into an issue between data types regarding Oracle's VARCHAR2 and trying to insert that into a SQL Server MONEY data type. I tried using the TO_NUMBER() function to convert my VARCHAR2 to a number, but that didn't seem to help.
    Does anyone have any advice on how to work around this??
    Thanks for any help,
    ivalum21

    ORA-02047: cannot join the distributed transaction in progress
    ORA-06512: at "MY_PACKAGE_NAME", line 263
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_Execute: DB_ODBC_ENGINE (1645): ;
    [Microsoft][ODBC SQL Server Driver][SQL Server]Disallowed implicit conversion
    from data type varchar to data type money, table 'tableA',
    column 'total_amount'. Use the CONVERT function to run this query. (SQL
    State: 37000; SQL Code: 260)
    ORA-02063: preceding 2 lines from SQLSERVER_LINK
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 875
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 791
    ORA-06512: at "RCDTPUMP.CAMPUSCALL_DATAPUMP_UNI", line 1156
    ORA-06512: at line 1
    That is what I get when I take out the TO_NUMBER()
    Message was edited by:
    ivalum21

  • ADDONS on Citrix and Terminal Sessions

    Dear All
       I have  a Major Problem.
    1) My Addons take 6 minutes to startup when i activate on a RDP/Citrix/ Web .
    2) My Citrix Presentation servers are connected at 1G Lan Speed.
    3)My SAPB1/MSSQL server is connected at10/100 LAN Speed.
    Is Anyone facing similar Problem.
    If anyone has an answer please let me know ,your help will will keep me alive,
    Thanks and Best Regards
    Dayal
    Message was edited by:
            Dayal .t

    I'm not sure about that.
    just a small point, the sql server login you use to connect to the server must be db_owner of the database.
    I know, this answer may be far away from your question, but Business One used to crash without this parameters on our installation, when the AddOn was trying to connect.
    maybe that's the solution for you too.
    HTH
    Sebastien

  • Routing Issue between router and Access Server

    Hi,
    We have a Lucent MAX TNT access server, having TAOS version 9.0.9. I
    have configured
    the default route so that all dialup user traffic is diverted towards
    cisco 2611 series router but this
    only happens with the IP subnets configured on MAX TNT and cisco router
    ethernet interfaces.
    We need a solution in which dailup users on MAX TNT with IPs from any network can
    be routed towards the cisco router in order to reach the internet cloud accross the Router.

    Muhammad
    Your message states that you have configured the access server with a default route pointing to the 2611 router. But it does not say whether you have configured a route on the 2611 pointing to the access server for the address range used by the dial pool which the access server uses to assign addresses to dial up users. I suspect this is your problem. I believe that the 2611 needs a route to that address space and that the 2611 needs to advertise that address range if there are any other routers in your network.
    HTH
    Rick

  • PXE boot issue with DHCP and SCCM server on different subnets

    I'm working with a client on the operating system deployment module of SCCM.
    Their network configuration currently has a single large subnet for client
    computers with a DHCP server on the same subnet. The SCCM subnet is
    configured on a seperate subnet with no DHCP server on the subnet. We want to
    configure client computers to be able to boot using the PXE client to deploy
    OS images to the machines but can not get PXE-boot to work correctly.
    Also, the client does not want to make changes to their network
    infrastructure routers or switches to remedy this problem. Are there settings
    on the DHCP or SCCM servers we can implement to make this work? If so, what
    needs to be installed or configured on each server. We currently already have
    WDS installed on the SCCM server and the SCCM server is configured as a PXE
    Service Point within SCCM. Both WDS and the PXE Service Point seem to be working fine.
    Any help would be appreciated.
    Thanks,
    Gary

    I am Brazilian,
    sorry for wrong english
    My DHCP is on linux,
    in my own structure VLANS
    The system center is on the network
    10.0.4.0/24
    The machines on the network 10.0.5.0/24
    The problem is that the machines that
    are not on the same network system center
    can not boot
      I tried configuring / etc/dhcp3/dhcpd.conf
    follows
    option vendor-class-identifier "PXEClient";
    option bootfile-name "\
    \ SMSBOOT \ \ x86 \
    \ wdsnbp.com";
    option tftp-server-name
    "10.0.4.101"; ---->
    IP server
    But it did not work, anyone know
    how to configure?

Maybe you are looking for

  • Acrobat Pro 6

    I have Acrobat Pro 6 and it says that it is not compatible with my new version of windows 8

  • System asking me to fill MANDATORY fields, even I used EXIT-COMMAND for F3

    HI Experts, issue- there is mandatory field in the screen, so, am using the folllowing code, system asking me to fillup the mandatory field. then, i used exit-command, but, still its asking me to fill the mandatory fiels??????????? code is, process a

  • Sun Studio 12EA and Netbeans Profiler 5.5

    I was wondering if anyone was able, or if it is possible to get the Netbeans 5.5 profiler for Java working in Sun Studio 12EA. The installation into netbeans-5.5_mars seems to work fine, yet the profiling menu does not appear in Sun Studio after a re

  • Premiere PRO 2.0 and HD rushes

    I have a SONY HDR-PJ650 & a Dell PC Under Windows 7. I can capture & import rushes Under PremiereElements10, but not with my PREMIEREPRO 2.0. It does not accept .mts files captured with SONY PlayMemories<;

  • Why doesn´t Bluetooth ´t connect my keyboard

    Bluetooth doesn´t connect my keyboard. I have an iPad 3 and it was always connected with my Logitech keyboard via bluetooth. Some days ago I had to disconnet it for a short time but afterwards it didn´t connect any longer. A window opened, that told