Cannot quit Visual FoxPro (Windows Terminal Server 2008 + Citrix XenApp 5 + VMWare vCenter 5.1)

Hi everybody:
This is not the typical question about this error, because the problem here is not about how to quit (CLEAR EVENTS then QUIT). The really and weird problem is that our application do no execute the error trapping routines (Try/Catch and ON ERROR) and tries
to directly Quit.
I have never seen something like this before, error trapping routines not executed.
I try to explain the problem better:
- The user click on the Citrix icon of our App
- Citrix shows the executed processes (establishing connection, applying user config, loading profile, etc)
- The Application (VFP 9 SP2) is started and in any moment, while loading, occurs an error that is not handled by error handlers, and it executes a "kind" of a Quit command, that we detect because have a ON SHUTDOWN to catch it, then the App shut
down and the user must click the Citrix icon and start all over again, up to 7 times, when the App really load and work.
- I think that it is useful to make clear that no QUIT command is really causing this, just the behaviour of the QUIT when an error occurs, but just while loading. If the App get completely loeaded, then everything works as expected
Infraestructure:
- Windows Terminal  Server 2008 + Citrix XenApp 5 + VMWare vCenter 5.1
- There are up to 50 concurrent users max in every virtualized server
- More than 10 GB of free disk space / Up to 4 GB ram
- RAM Memory is never used to the max
- CPU (Intel Xeon) is never used to the max (up to 90% in some cases)
- Data (DBFs for temporal work) ar on local drive, not over network (to avoid network known problems with smb2-3)
- There are connection to a Oracle 11 database for permanently storing the data
About the errors:
- They are not always the same or in the same place. In example, in one execution could fail the query of SET("Printer",2), in other execution could fail a SET PROCEDURE TO xxx ADDITIVE (sometimes already loaded), in other could fail a "DO
WHILE .T." in a init event.... completely crazy, and in all cases the errors are not thrown, not a single error code, the App just try to quit, as if ALT+F4 where pressed.
- All this does not happen allways to everyone, but happens many times in the day to many many users as to be worried
- The same user can have this error many times a day, but not allways
- Some of the problems started when migrating to Windows Terminal Server 2008, but didn't notice nothing special in the beginning, but a year later (last 2014) problems tend to go worse
Tried solutions:
- For the "SET PROCEDURE TO xxx ADDITIVE" error, a "IF xxx $ SET('PROCEDURE')" check was added
- The "SET('Printer',2)" check was moved out of initialization code, so it executes when user want to print the first time. In this case was neccesary to talk with IT guys to map a default printer after the App runs, and not in background, as it
was.
- Other checks and modifications was made to minimize posibility of errors
- Adding a timeout of 5 secs in the start of the program, to force a wait
- Restart of virtual servers (not the phisical) every 3 weeks
What I suspect:
- Some Microsoft optimization (memory?, process execution?) in WTS-2008 may interfere?
- Some VMWare memory management may interfere with WTS-2008?
- Some Citrix management may interfere with both?
- Server degradation because of day to day use
Results until now:
- Apparently, adding the timeout to force 5 secs delay and the restart of the server have made a notable enhancement in App start and running
with far fewer
errors
Has
this happened to anyone?
Thanks! o_O
Fernando D. Bozzo / Madrid (Spain)

I never had this type of problems, but somewhat similar start up problems. I'd say it indicates resource problems. Low RAM can cause many unpredictable things. In my case loading much data at the begin of an application caused out of memory errors, which
were reported and logged normally, though.
I made a small tool using Windows API functions GetPerformanceInfo and GetProcessMemoryInfo, you'll find declaration and usage like usual at the News2News site. It's a bit lengthy and cluttered, but pretty much what you find there anyway, so I'll not post
my utility code.
I could quite clearly see how many users degraded available memory per session and at some time no further instance of the application was possible on the server. In my case RDP was used to start the app, Citrix will be quite the same, in the end the application
runs on some server and users see the remote running application.
Bye, Olaf.
Olaf Doschke - TMN Systemberatung GmbH
http://www.tmn-systemberatung.de

Similar Messages

  • Installing SBO 2007A PL47 for use on Windows Terminal Server 2008

    SAP has announced it supports Windows Server 2008 32 bit. Does this mean it will also support Windows Terminal Server 2008 32 bit for hosted clients? Any input will be appreciated

    Hi,
    There is annoucment only of Windows Server 2008. You can check the status on service Market place under Supported platforms.
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000705857&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&
    Under Product Availablity
    Regards
    Vikas
    SAP Business One FOrums Team
    Edited by: Vikas Rastogi on Mar 12, 2009 10:22 PM

  • Is BPC 7.0 compatible with Windows Terminal Server 2008?

    Is BPC 7.0 compatible with Windows Terminal Server 2008? We are having printing issues when on WTS 2003.

    BPC 7.0M SP08 was released on September 1st and now supports the client install on both Server 2008 and Windows 7 so yes, you should be able to use terminal server in Windows 2008 if you install SP08. It also has limited support for Office 2010, full support will come with SP09. SAP Note 1490544 is the central SP08 note, and 1504400 is the download note.
    -Brian

  • Bug: CR XI on Windows Terminal Server 2008

    We have a problem when printing a report for example with 2 columns, where the 1st column's content is larger than the width of that column, then the content is printed through colum 2.
    But only when:
    working on remote on Terminal Server 2008
    when printing on a remote printer (redirected)
    There's no problem:
    in the preview window
    when printing to a local printer of the server
    on Terminal Server 2003
    Any ideas?
    Tx
    Patrick

    You mentioned it worked fine in the preview window, so does the issue only show up when not printing with data?

  • Adobe Acrobat X Pro - Windows Terminal Server 2008

    Hi All,
    Im hoping some one maybe able to help me on this, We have recently purchased the Adobe Acrobat X Pro for one of our clients and have just installed it onto their Windows 2008 x32 Terminal server. Inatall appeared to be fine, no errors reported and nothing logged into the event viewer. However we seem to be having issues with it... I did read a PDF guide early last week that said the X Pro should work fine on a Server 2008 - The install instructions where rather straight forward and I thought their would have been more to it than just installing it via the control panel.
    The issue we have is the program opens up ok and is usable for about a min and it then crashes with no obvious reason, From looking in the event log it appears to report issues with the PDApp.exe and the Kernel32.dll - Has anyone come across any similar issues?
    Many Thanks

    Hi,
    You can also send the crash dump by following the below mentioned steps:
    Install WinDbg from http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
    Launch WinDbg via the shortcut
    Click File->Open Executable
    Select Acrobat.exe from "C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe" and hit "OK"
    Remember to press "g" and hit enter when you encounter the first breakpoint and then you will see a text "Debuggee is running" and Acrobat will be launched
    Open whatever file is it that produces the crash in Acrobat.
    When you have successfully reproduced the sceanrio causing the crash/freezing of Acrobat X, enter the below command in the WinDbg terminal
         .dump /ma c:\temp.dmp (Hit enter)
    This will produce the crash dump at C:\ by the name of temp.dmp
    After that please upload the dump (compress the dump using WinZip or likewise) at some third party sites and provide the link for the same. Also, if it’s possible could you share the PDF as well, for which your application crashes on a consistent basis.

  • Thunderbird cannot open attachment after idle for several hours on Windows Terminal Server 2008 R2 Enterprise

    We are using Thunderbird on WTS2008 R1
    Cannot open attachment after thunderbird is launched for a short period of time. Tried to save attachment but the attachment saved actually comes with 0kb. Thunderbird works fine after restart itself, not sure if any settings can fix this?

    Hi Darrkon,
    I suggest checking the status of the HealthMailbox on each of servers.
    Also try to re-create the mailbox. You can safely delete and recreate health mailboxes.
    Be aware that any local Managed Availability probes that are using the these mailboxes will fail until the Microsoft Exchange Health Manager is restarted.  Once that service is restarted, it will recreate any mailboxes that it needs. 
    More details in the following similar thread, just for your reference:
    BSOD after creating DAG
    http://social.technet.microsoft.com/Forums/exchange/en-US/44d1cd98-cba1-4ed0-b0e7-8aa76ee3eabc/bsod-after-creating-dag
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Sap gui on windows terminal server

        Hi,
    are there best practices to install sap gui 7.30 on a Windows terminal Server 2008 r2?
    Regards
    Zulma

    hi Zulma,
    Please follow the step by step guide.
    SAP GUI 7.30
    Example
    How To Install SAP GUI 7.30 on Windows 8
    SAP GUI for Java 7.30 Release Notes
    Regards,
    Jamil

  • Windows Terminal Server Std 2008

    Does  SAP BPC 7.5 NW support Windows Terminal Server Std 2008?

    According to 75 NW data course it is stated:
    - Windows 2008 server standard edition for development and test systems
    - enterprise or data center edition is required for production
    grtz
    Dries

  • Cannot Install PB Runtime 12.0 or 12.5 on Windows 8 Server 2008 R2

    Greetings All!!
    I am trying to set up a new server for deployment and when I run either the PB Runtime for 12.0 or 12.5 I get an error stating (in general) module pbjvm120.dll failed to register.
    I am also having this problem with another Windows 2008 Server install. I had to move on with the last one, but I need this one up and running now so I am asking for advice/help.
    I attached a screenshot of the error.
    Thanks all!!
    Best,
    Paul

    Thanks Gentlmen!!
    I don't know how the '8' in Windows 8 Server 2008 R2 got in there, but it is just Windows Server 2008 R2.
    I copied msvcr71.dll , msvcp71.dll and atl71.dll to the c:\windows\system32 directory. Tried again and got the same error as shown in my screenshot. This 'is' a VM. I am logged into the machine as Administrator.
    Chris, what do you mean by official MR?
    I am creating the runtime files using the PB Runtime Packager.
    Thank you!!
    Paul

  • How to install KB2950358 on Windows STORAGE Server 2008 R2?

    Hello
    I am experiencing the exact issue described
    here on my WD Sentinel DX4000 nas box which runs Windows Storage Server 2008 R2. This is causing regular crashes and reboots and general unreliability when the memory leak causes all ram to be used up and the CPU is constantly running at 100% which both
    increases electricity usage and shortens the lifespan of the system.
    I have downloaded the hotfix on that KB article but it refuses to install claiming that it is not compatible. When the underlying Windows Server 2008 R2 OS is the same how can it not be compatible? My theory is that the Storage server version is only used
    and available on a small handful of OEM devices and there's barely any information of it on the internet so I think Microsoft have forgotten to add it to the compatibility list for this particular hotfix.
    After weeks of searching, I cannot find a way to force install the update. It's not a business-critical system and I've got backups of it so I am happy to try manual or risky efforts to get it installed. I have tried extracting the MSU file but that doesn't
    give me any useful files to install it manually or skip the compatibility checks.
    I've also tried to contact Microsoft directly but they don't even have Storage Server listed as an option on their support contact page so I've given up there, as a last resort I am hoping someone here can point me in the right direction. Other online forums
    refuse to help saying it's too risky with a server but personally I want it installed and will try anything to do so because I've got a £1000 NAS sitting here that is unusable due to this issue. I'd rather not reinstall the OS as the problem reoccurs - I've
    tried it already before I found this KB article.
    Bottom line, Microsoft have identified the issue and released a hotfix, the server version IS supported, but was not added to the compatibility restrictions of the update so I cannot get the update installed.
    Any advice gladly received. Hopefully someone from MS will see this and be able to update the compatibility of the hotfix if nothing else is possible.

    I see SP1 is a prerequisite. Also the manufacturer may have specific patch procedures or recommendations so I'd probably contact them directly.
    http://support.wdc.com/product/install.asp?wdc_lang=en&fid=wdsfWDSentinel
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • User gets "This network connection does not exist" when she tries to log on to Terminal Server (2008 R2)

    User gets "This network connection does not exist" when she tryes to log on to Terminal Server (2008 R2)
    I got more than 100 users. Shes the only one getting is. We tried four computers (All Windows 7 Pro)
    Nothing useful in event viewer to mention.

    Hi,
    Thank you for posting in Windows Server Forum.
    Does that user able to login previously?
    From your comment, it seems that there is some permission issue with that user. As you have checked that user with different system also. Please check that user is added under “Remote Desktop User” local group and also allowed “Allow log on through
    Remote Desktop service” permission under group policy. Also please check that when user tries to login it uses “Domainname\Username” format.
    In addition for a try, also check by disabling firewall on one particular system.
    To add users and groups to the Remote Desktop Users group by using Local Users and Groups snap-in:
    1.  Click Start > Administrative Tools, Open Computer Management.
    2.  In the console tree, click the Local Users and Groups node.
    3.  In the details pane, double-click the Groups folder.
    4.  Double-click Remote Desktop Users, and then click
    Add.
    5.  In the Select Users dialog box, click Locations to specify the search location.
    6.  Click Object Types to specify the types of objects you want to search for.
    7.  Type the name you want to add in the Enter the object names to select (examples) box. 
    8.  Click Check Names.
    When the name is located, click OK.
    More information:
    Remote Desktop disconnected or can’t connect to remote computer or to Remote Desktop server (Terminal Server) that is running Windows Server 2008 R2
    http://support.microsoft.com/kb/2477176/en-us
    Hope it helps!
    Thanks,
    Dharmesh

  • Auditing failed access to files and folders in Windows Storage Server 2008 R2

    Hello,
    I've been trying to figure out why I cannot audit the failed access to files and folders on my server.  I'm trying to replace a unix-based NAS with a Windows Storage Server 2008 R2 solution so I can use my current audit tools (the 'nix NAS
    has basically none).  I'm looking for a solution for a small remote office with 5-10 users and am looking at Windows Storage Server 2008 R2 (no props yet, but on a Buffalo appliance).  I specifically need to audit the failure of a user to access
    folders and files they are not supposed to view, but on this appliance it never shows.  I have:
    Enabled audit Object access for File system, File share and Detailed file share
    Set the security of the top-level share to everyone full control
    Used NTFS file permissions to set who can/cannot see particular folders
    On those folders (and letting those permissions flow down) I've set the auditing tab to "Fail - Everyone - Full Control - This folder, subfolders and files"
    On the audit log I only see "Audit Success" messages for items like "A network share object was checked to see whether client can be granted desired access (Event 5145) - but never a failure audit (because this user was not allowed access by NTFS permissions).
    I've done this successfully with Windows Server 2008 R2 x64 w/SP1 and am wondering if anybody has tried this with the Windows Storage Server version (with success of course).  My customer wants an inexpensive "appliance" and I thought this new
    variant of 2008 was the ticket, but I can't if it won't provide this audit.
    Any thoughts? Any of you have luck with this?  I am (due to the fact I bought this appliance out of my own pocket) using the WSS "Workgroup" flavor and am wondering if this feature has been stripped from the workgroup edition of WSS.
    TIA,
    --Jeffrey

    Hi Jeffrey,
    The steps to setup Audit on a WSS system should be the same as a standard version of Windows Server. So please redo the steps listed below to see if issue still exists:
    Enabling file auditing is a 2-step process.
    [1] Configure "audit object access" in AD Group Policy or on the server's local GPO. This setting is located under Computer Configuration-->Windows Settings-->Security Settings-->Local Policies-->Audit Policies. Enable success/failure auditing
    for "Audit object access."
    [2] Configure an audit entry on the specific folder(s) that you wish to audit. Right-click on the folder-->Properties-->Advanced. From the Auditing tab, click Add, then enter the users/groups whom you wish to audit and what actions you wish to audit
    - auditing Full Control will create an audit entry every time anyone opens/changes/closes/deletes a file, or you can just audit for Delete operations.
    A similar thread:
    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/da689e43-d51d-4005-bc48-26d3c387e859
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Windows Storage Server 2008 R2 Client restore for UEFI Bios Error

    My surface pro 3 has been backing up successfully to a Windows Storage Server 2008 R2 Essentials for months now.  I now need to restore the Surface Pro 3 to backup created last week.  However I cannot get  the Surface Pro3 to boot from the
    Recovery stick created by the Recovery Tools task.  I also can't get the Surface to boot from an external dvd drive.  The Surface seems to just ignore the External DVD drive.  Maybe there is a problem with it.  I will try it somewhere else.
    However the error I get trying to boot from the USB is the following.
    Window Boot Manger
    File \EFI\Microsoft\Boot\BCD
    Status: 0xc000000d
    Info: An error occurred while attempting to read the boot configuration data.
    How do I fix this issue and get the Surface Pro 3 to restore from backup?

    Hi,
    Please try to disable secure boot in BIOS and check Enable Legacy Option ROMs under Advanced Boot options to resolve the issue.
    For more detailed information, please see:
    Error after UEFI PXE Windows 7 OSD
    https://social.technet.microsoft.com/Forums/en-US/2eb69a11-2d56-4590-8a3c-e9f00b8c0d50/error-after-uefi-pxe-windows-7-osd?forum=configmanagerosd
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Windows storage server 2008 R2 ISO

    Hi All,
    from where I can download ISO image for Windows storage server 2008 R2 Standard? 
    The key is written on the sticker which is on the Server which is for windows server 2008 Storage r2.Please let me know can i use this key for windows server 2008  r2 standard standard as well for this server?
    For how much time that key will be validated?
    Need Urgent response.
    Thanks.

    Hi,
    Windows Storage Server 2008 R2 is vendor specified OS and it should be pre-loaded by hardware manufacturer. You may not able to get it without contact OEM manufacturer.
    For more detailed information, please refer to the thread below:
    How to install Windows 2008 R2 Storage Server
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/575a6b4b-c026-4d2d-98a8-44a19783e59a/how-to-install-windows-2008-r2-storage-server
    You cannot use Windows Storage Server 2008 R2 OME key for Windows Server 2008 r2 Standard.
    OEM activation is valid as long as the customer uses the OEM-provided image on a system.
    Learn About Product Activation
    http://technet.microsoft.com/en-us/library/ff793423.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows Storage Server 2008 R2 Essentials - Office365 Addon

    Hi there, 
    Sorry for the strange request.  I have a few of these "Windows Storage Server 2008 R2 Essentials" in the field(Provide by WD - DX4000).  Now
    a few months (maybe always a year + Now), I was able to find and possible download the Office365 Add-on for Windows
    Storage Server 2008 R2 Essentials.  It should be the same as Small Business Server 2011 Essentials.
     I found a bunch of links to and that talk about the UP4 having it built in.  But I can't find anything or any links to download the addon. So unless I'm missing something, I can't seem to find it for the Windows
    Storage Server 2008 R2 Essentials.   Now maybe I'm the only person in NA that is looking for this, but my clients are moving to Office365 and it would be nice to have all the username and passwords the same.    
    Now as i write this I'm think that the SBS 2011-E is built on a domain where WSS is under WorkGroup.  So maybe that's why its not available much. 
    Any thoughts, or if someone has a copy of a latest add-on and want to upload it here, that would be nice. 
    Kevin

    Dear Sir
    I believe you are mistaken. When SBS 2011 Essentials came to market there was no integration between Office 365 and the Actual Server Dashboard. (It was not ready at the time the Server went RTM).
    At the end of 2011 the Office 365 team released the so-called Integration Module for SBS 2011 Essentials with office 365 as it is noted at the following Blog post:
    http://blogs.technet.com/b/sbs/archive/2011/12/22/office-365-integration-module-for-windows-sbs-2011-essentials-released-today.aspx
    This integration module later was included in a UR Package (UR2 if i correctly remember) so you didn't had to installed it separately. That is the reason that you cannot find the original Download today. More info at the following:  
    http://support.microsoft.com/kb/2630429/en-us
    To concludethere wasn't a Office 365 Integration Module for Storage Server 2008 R2 Essentials ONLY for SBS 2011 Essentials. 

Maybe you are looking for

  • Problem Moving Library Location

    I'm trying to move my iTunes library to a network drive. I've changed the location in Preferences but when I try move the music files using Consolidate Library from the Advaced tab, I get the following error message; "Copy music failed. The disk coul

  • What are the default parameters for PER_EVENTS api

    Dear Experts, Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API. procedure create_event (p_validate in BOOLEAN default FALSE ,p_date_start in DATE ,p_type in VARCHAR2 ,p_business_group_id in NUMBER de

  • Is there any way to sync Facebook bdays/events to the calendar on my iPhone?

    I'd really appreciate it if someone could help me on this? Thanks

  • All photos look blurry

    somehow while experimenting in iphoto all my pictures that were there now seem blurry? Any way to just make them all back to original look. Im also wondering if theres not a better mac program for just storing my photos ? Thanks Allan

  • Stock Transfer from Plant to plant ..Same company code, No FI impact

    Dear All, I wanted to transfer materail from one plant to other, without any financial impact. Please suggest me a method. I am assuming to use T code MB1B, and movement type 301. please let me know, is this right ? Thanks in advance regards venkat