Programatically closing an execution fails unless I select Auto close

Hello there!
Im trying to execute a sequence using TestStand API and then close all references, but the End Execution event does not seem to be thrown.
I had the same issue as the thread called " Programatically closing an execution" from 2009.
My code is the following
_axAppMgr.EndExecution += new NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_EndExecutionEventHandler(_axAppMgr_EndExecution);
_axAppMgr.ExecutionClosed += new NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_ExecutionClosedEventHandler(_axAppMgr_ExecutionClosed);
void _axAppMgr_QueryCloseExecution(object sender, _ApplicationMgrEvents_QueryCloseExecutionEvent e)
e.opt = QueryCloseExecutionOptions.QueryCloseExecution_AutoCloseWhenDone;
void _axAppMgr_EndExecution(object sender, _ApplicationMgrEvents_EndExecutionEvent e)
ExecutionRunStates runState;
ExecutionTerminationStates termState;
e.exec.GetStates(out runState, out termState);
if (termState != ExecutionTerminationStates.ExecTermState_Normal)
Trace.WriteLine(DateTime.Now + " -----EXECUTION " + e.exec.DisplayName + "Aborted ---------");
else
Trace.WriteLine(DateTime.Now + " -----EXECUTION " + e.exec.DisplayName + " Terminated ---------");
ExecutionEnd = true;
public bool Run(string UUTName, string sequencePath )
bool output = false;
int TimeOut = -1;
string name = "";
ExecutionRunStates runState;
ExecutionTerminationStates TerminationState;
try
name = DateTime.Now.ToString("yyyy-MM-dd") + " Test " + UUTName;
if (!_axAppMgr.IsStarted)
_axAppMgr.Start();
seqFile = _axAppMgr.GetEngine().GetSequenceFileEx(sequencePath);
Main = seqFile.GetSequenceByName("MainSequence");
Main.OptimizeNonReentrantCalls = true;
Main.Type = SequenceTypes.SeqType_ExeEntryPoint;
execution = _axAppMgr.GetEngine().NewExecution(seqFile, "MainSequence",null, false, ExecutionTypeMask.ExecTypeMask_CloseWindowWhenDone);
execution.TracingDisabled = true;
execution.RTEOptionForThisExecution = RTEOptions.RTEOption_Ignore;
execution.ClearTemporaryBreakpoints();
execution.DisableResults = true;
bool isExecuting = seqFile.IsExecuting;
bool wait = execution.WaitForEndEx(TimeOut, true, null, null);
execution.GetStates(out runState,out TerminationState );
execution.Terminate();
_axAppMgr.SetAutoCloseExecution(execution, true);
_axAppMgr.CloseExecution(execution);
execution.GetStates(out runState, out TerminationState);
while (!ExecutionEnd)
System.Threading.Thread.Sleep(1000);
Terminate();
execution.GetStates(out runState, out TerminationState);
catch (COMException ex)
Trace.WriteLine(ex.StackTrace + " " + ex.Message);
finally
TSHelper.DoSynchronousGCForCOMObjectDestruction();
Quit();
return output;
The problem is, when I deactivate the 
e.opt = QueryCloseExecutionOptions.QueryCloseExecution_AutoCloseWhenDone;
command the execution fails to close.
If I set the option to 
  e.opt = QueryCloseExecutionOptions.QueryCloseExecution_ShowDialog;
and manually select auto close , then the Execution Close event is thrown.
Could anyone help me finding out what's wrong with my code?
Thank you in advance for your time

Anyone ??

Similar Messages

  • Programatically closing an execution

    I havedeveloped a custom TestStand UI in LabVIEW. However I have run into a smallproblem I wasn't able to tackle.
    A useris allowed to load a sequence and then execute it. He can also stop theexecution. Load another sequence and run that sequence.
    Inorder to conserve memory, when the user loads a sequence I automatically closethe previously opened sequences. However, I could not find anything to closethe executions. When I attempt to run the new sequence file, I find only thenew sequence runs, however, when I perform a thread count using the executions properties the total open threads is morethan 1. The running threads is 1. And the difference is the numberincomplete. Is there a way to remove these executions from memory so that thenumber incomplete goes to 0 and the count equals the running threads.
    Thanks,
    Amit

    Amit,
    I think I understand what you are looking for now.  Your workaround is perfectly valid, but there is a better way.  Before I explain that however, I would like to explain a few points.
    1. At times, you seem to be using threads and executions interchangably.  I believe that you know the difference, but it can be confusing to others trying to understand your question when you do use them interchangably.
    2. The difference between the total number of executions and the number running is not the number incomplete.  Instead, the total number of executions is the number of executions that are in the collection.
    3. The number of incomplete executions is the sum of paused and running executions, thus it will never equal 0 because there is always one execution running.
    To clean up completed executions, use the ApplicationMgr.CloseExecution after the Execution.Terminate or Execution.Abort has been called.  This will have to be called for each Execution you have spawned.  I have attached a screenshot of the step settings.
    Hope this helps.
    Regards,
    Ben
    National Instruments
    Certified LabVIEW Associate Developer
    Certified TestStand Developer
    Attachments:
    CloseExecutionStep.JPG ‏46 KB

  • Report generation: server execution failed

    the app has been running for months. IS dept just upgraded machines and software. NT4.0 is now Win2000 and Office 97 is now Office2000. Report generation tool kit is not happy. Even running NI examples I get error -2146959355 server execution failed in Font Style.vi
    Lawrence M. David Jr.
    Certified LabVIEW Architect
    cell: 516.819.9711
    http://www.aleconsultants.com
    [email protected]

    Searching the Microsoft's web site, I found some info on this error:
    If you have never had Norton AntiVirus installed on your computer, follow the following instructions:
    1. Open up the specific VI causing Error �2146959355
    2. Recompile this VI by pressing the Run arrow while holding down the CTRL and SHIFT keys
    3. Go to File � Save All
    4. Run the VI
    If you are using Norton AntiVirus 2000 with Microsoft Word 2000, follow these instructions:
    Note: This information was provided by http://support.microsoft.com. Please use these instructions at your own risk.
    1. Select Start � Run
    2. If Norton AntiVirus is installed as a stand alone application, type:
    regsvr32 -u "c:\program files\norton antivirus\officeav.dll"
    If this is successful, you will receive:
    DllUnregisterServer in C:\Program Files\Norton AntiVirus\OfficeAV.dll succeeded.
    If Norton AntiVirus is installed as a component of SystemWorks, type:
    regsvr32 -u "c:\program files\norton systemworks\norton antivirus\officeav.dll"
    If this is successful, you will receive:
    DllUnregisterServer in C:\Program Files\Norton Systemworks\Norton AntiVirus\OfficeAV.dll succeeded.
    3. Click OK
    Microsoft notes that in some cases you must rename the oleaut32.dll and reinstall Office 2000. Renaming oleaut32.dll usually requires that you boot your computer in MS-DOS mode.
    - Navigate to the directory where oleutt32.dll is located (usually C:\windows\system32) using the cd DOS command.
    - Type: rename oleaut32.dll renamed_oleaut32.dll and press Enter
    - Reinstall Microsoft Office
    Note: This problem seems to still exist with Office 2002.
    1. Unfortunately, this is how the activeX works. If Microsoft changes the activeX objects from one Office version to another, the executable built with Office97 will not work with Office2000. You will have to recompile your VI into the executable on a machine with Office2000 and toolkit configured for this version.
    2. For the error "server execution failed" with Text Report Example, select File � VI Properties. Select "Execution" from the category box and set the "Preferred Execution" to user interface. This should solve the problem.
    Zvezdana S."

  • Virtual Machine Failes to Start: Server execution failed (0x80080005).

    Hi
    I have a Windows 8.1 (with updates) System which was upgraded from Windows 8.0 using a Clean Install. Recently Hyper-V has stopped running on my system.
    The Event log shows an error:
    'CentOS65' failed to start worker process: Server execution failed (0x80080005). (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
    -     System
    -     Provider
                [ Name]     Microsoft-Windows-Hyper-V-VMMS
                [ Guid]     {6066F867-7CA1-4418-85FD-36E3F9C0600C}
        EventID     15500
        Version     0
        Level     2
        Task     0
        Opcode     0
        Keywords     0x8000000000000000
    -     TimeCreated
                [ SystemTime]     2014-07-17T07:57:28.568965100Z
        EventRecordID     302
        Correlation
    -     Execution
                [ ProcessID]     4040
                [ ThreadID]     1396
        Channel     Microsoft-Windows-Hyper-V-VMMS-Admin
        Computer     viveksasmung
    -     Security
                [ UserID]     S-1-5-18
    -     UserData
    -     VmlEventLog
        VmName     CentOS65
        VmId     9EF5529D-3755-40B3-AC6A-325A564D19BB
        ErrorMessage     %%2148007941
        ErrorCode     0x80080005
    The WMI-Activity log shows the error:
    Id = {00000000-0000-0000-0000-000000000000}; ClientMachine = VIVEKSASMUNG; User = viveksasmung\Vivek; ClientProcessId = 9756; Component = Core; Operation = Start IWbemServices::ExecNotificationQuery - root\virtualization\v2 : select * from __InstanceDeletionEvent
    within 2 where TargetInstance ISA 'Msvm_ComputerSystem' ; ResultCode = 0xC7F0FCD0; PossibleCause = Could not send status to client
    The Hyper-V-VMMS Admin Log shows the error:
    The worker process for virtual machine 'CentOS65' failed to respond within the startup timeout period and was restarted. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
    'CentOS65' failed to start. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
    The Hyper-V Worker Log shows the error:
    The Virtual Machine Worker Process has lost its connection to the root\virtualization WMI namespace: General access denied error (0x80070005). As a result, some WMI operations may not function correctly. To correct the problem, try restarting the Windows
    Management Instrumentation service.
    I set the Hyper-V Tracing to ON using vmconnect.config
    file and the error log is as follows:
    Tracing Hyper-V Client version: 6.3.0.0. Rough build date (virtman file written): 05/18/2014 23:25:02
    2014-07-17 01:55:28.990 [08] USER_ACTION_INITIATED VMBrowser ServerNode:ConnectToServer() Connecting to server localhost...
    2014-07-17 01:55:29.008 [08] USER_ACTION_COMPLETED VMBrowser ServerNode:ConnectToServer() Successfully connected to server.
    2014-07-17 01:55:29.463 [07] WARNING VirtMan WmiAssociation:GetRelatedObjects() The WMI object 'Msvm_RdvComponentSettingData' + could not be mapped to VirtMan type so ignore it.
    2014-07-17 01:55:33.001 [03] USER_ACTION_INITIATED VMBrowser ServerNodeViewControl:OnStartVm() Starting VM(s)...
    2014-07-17 01:55:33.023 [09] USER_ACTION_INITIATED VMBrowser VMActionBatchPerformer:Perform() Changing virtual machine '9EF5529D-3755-40B3-AC6A-325A564D19BB' ('CentOS65') state from 'PowerOff' to 'Running'
    2014-07-17 01:59:33.927 [12] ERROR VirtMan ThrowHelper:ThrowVirtualizationOperationFailedException() Operation 'SetState' failed with message ''CentOS65' failed to start.'.
        Error code '32768'.
        Detailed message ''CentOS65' failed to start. (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)
    'CentOS65' failed to start worker process: Server execution failed (0x80080005). (Virtual machine ID 9EF5529D-3755-40B3-AC6A-325A564D19BB)'.
    2014-07-17 01:59:33.930 [12] ERROR VMBrowser VMActionBatchPerformer:OnTaskCompleted() Tracked task operation failed!
        'CentOS65' failed to start.
           at Microsoft.Virtualization.Client.Management.ThrowHelper.ThrowVirtualizationOperationFailedException(String errorMsg, String errorDescriptionMsg, VirtualizationOperation operation, Int64 errorCode, Boolean operationCanceled,
    ErrorCodeMapper mapper, Exception innerException)
       at Microsoft.Virtualization.Client.Management.View.EndMethodReturnInternal(IVMTask task, VirtualizationOperation operation, Boolean affectedElementExpected)
       at Microsoft.Virtualization.Client.Management.VMComputerSystemBaseView.EndSetState(IVMTask setStateTask)
       at Microsoft.Virtualization.Client.VMBrowser.ChangeVMStatePerformer.EndTrackedTask(IVMTask task)
       at Microsoft.Virtualization.Client.VMBrowser.VMActionBatchPerformer.OnTaskCompleted(Object sender, EventArgs e)
    2014-07-17 01:59:46.103 [03] USER_ACTION_INITIATED VMBrowser ServerNode:DisconnectFromServer() Disconnecting from server localhost...
    2014-07-17 01:59:46.104 [03] USER_ACTION_COMPLETED VMBrowser ServerNode:DisconnectFromServer() Server had been disconnected successfully.
    Upon using BCDEdit, output is below
    Windows Boot Manager
    identifier              {bootmgr}
    device                  partition=\Device\HarddiskVolume1
    path                    \bootmgr
    description             Windows Boot Manager
    locale                  en-GB
    default                 {current}
    resumeobject            {37225af7-cc62-11e3-8277-806e6f6e6963}
    displayorder            {current}
                            {3ce506e4-cc90-11e3-8b9f-8a809d5a6432}
    timeout                 30
    Windows Boot Loader
    identifier              {current}
    device                  partition=C:
    path                    \Windows\system32\winload.exe
    description             Windows 8.1 Pro with Media Center
    locale                  en-GB
    recoverysequence        {3ce506df-cc90-11e3-8b9f-8a809d5a6432}
    recoveryenabled         Yes
    osdevice                partition=C:
    systemroot              \Windows
    resumeobject            {37225af7-cc62-11e3-8277-806e6f6e6963}
    bootmenupolicy          Legacy
    hypervisorlaunchtype    Auto
    quietboot               No
    Real-mode Boot Sector
    identifier              {3ce506e4-cc90-11e3-8b9f-8a809d5a6432}
    device                  partition=C:
    path                    \Hd0Par3.pbr
    description             Ubuntu LTS 14.04
    I have set permissions to the VHD folder using the command below
    icacls "c:\CentOS65\CentOS65" /grant "CREATOR OWNER":(OI)(CI)(IO)F
    icacls "c:\CentOS65\CentOS65" /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F
    icacls "c:\CentOS65\CentOS65" /grant "NT VIRTUAL MACHINE\Virtual Machines":(RC,S,GR,RD,WD,AD,REA,RA)
    icacls "c:\CentOS65\CentOS65" /grant "NT VIRTUAL MACHINE\Virtual Machines":(CI)(IO)(GR,WD,AD)
    icacls "c:\CentOS65\CentOS65\Virtual Hard Disks" /grant "NT VIRTUAL MACHINE\Virtual Machines":(RC,S,GR,RD,WD,AD,REA,RA)
    icacls "c:\CentOS65\CentOS65\Virtual Hard Disks" /grant "NT VIRTUAL MACHINE\Virtual Machines":(CI)(IO)(GR,WD,AD)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome_9E7FEF2E-85E0-4278-AABD-01D5E45EE643.avhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65_28FF0E50-0FBA-4754-A4CC-B3DAEC7E3DAA.avhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(RC,S,GR,GW,RD,WD,AD,REA,WEA,RA,WA)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOS65.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
    icacls "C:\CentOS65\CentOS65\Virtual Hard Disks\CentOSHome.vhdx" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
    icacls "C:\CentOS65\CentOS65\Virtual Machines\9EF5529D-3755-40B3-AC6A-325A564D19BB.xml" /grant "NT VIRTUAL MACHINE\9EF5529D-3755-40B3-AC6A-325A564D19BB":(F)
    I am unable to create new VMs as well.
    I have already run
    sfc/ scannow
    DISM
    Already Tried disabling the antivirus
    Upon using wbemtest and connecting to root\virtualization, I am able to click Enum Classes > Recursive
    Kindly suggest how to get HyperV working please. Any help (short of reinstalling /resetting windows) would be much appreciated.
    Warm Regards,
    Dr Vivek Gupta

    Hi,
    The key point would be this:
    The Virtual Machine Worker Process has lost its connection to the root\virtualization WMI namespace: General access denied error (0x80070005).
    Please open MMC, add Component Services snap-in:
    Component Services -> Computers -> My Computer -> DCOM Config -> Windows Management Instrumentation -> Right Click, Properties -> Security “Launch and Activation Permission” -> Edit -> gave Authenticated Users 
    Full Control
    Check the result.
    Alex Zhao
    TechNet Community Support

  • An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'dsPriority'. (rsErrorExecutingCommand)

    click report error:
    log file:
    processing!ReportServer_0-2!104c!04/27/2015-19:15:21:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing.
     ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'dsPriority'.
     ---> Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: Query (26, 25) The ALLMEMBERS function expects a hierarchy expression for the  argument. A member expression was used.
       at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader..ctor(XmlReader xmlReader, CommandBehavior commandBehavior, AdomdConnection connection)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.AdoMdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQuery()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.Process()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeParameterDataSet.Process()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.ProcessConcurrent(Object threadSet)
       --- End of inner exception stack trace ---
    open http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx?op=ProcessWarehouse click Invoke:
    System.Web.Services.Protocols.SoapException: TF221029: Reporting for Team Foundation Server does not have any warehouse jobs defined. Use the Team Foundation Administration Console to rebuild the reporting. : 2015-04-27T19:30:29:782 ---> System.InvalidOperationException:
    TF221029: Reporting for Team Foundation Server does not have any warehouse jobs defined. Use the Team Foundation Administration Console to rebuild the reporting. at Microsoft.TeamFoundation.Warehouse.WarehouseAdmin.QueueJobs(String collectionName, String jobName)
    at Microsoft.TeamFoundation.Warehouse.WarehouseControlWebService.ProcessWarehouse(String collectionName, String jobName) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.Warehouse.WarehouseControlWebService.ProcessWarehouse(String collectionName,
    String jobName)

    Hi shelman,
    I'd like to know whether you configured TFS reporting service properly, and if you can get the report normally before. From the error message, you might has wrong data source or the parameters of the dataset 'dsPriority'. You can check whether the data source
    for your report is available, try to use windows authentication. Or check the parameters of dataset 'dsPriority' make sure the query works when you execute it manually.
    To process the TFS data warehouse and analysis services cube, I'd like to know which operation you selected before clicking Invoke button. Please follow the instructions on this
    page to process TFS data warehouse and analysis service cube manually. You can also refer the James's last reply in this
    thread or this
    blog to check if the solutions work for you.
    Another option is run TFS best practice analyzer to check if there any configure issues on your TFS server machine. And check event logs to see if there any useful information, elaborate more details about your scenario including reproduce steps if the problem
    persists.
    Best regards,

  • Query execution failed for dataset

    I have a problem in SSRS with MDX.
    Problem Statement: Query execution failed for dataset 'ds_ex' on Production server.
    Not able to reproduce this error in Dev machine.
    Problem
    Desc:
    When I select few values from drop down list it is throwing this error. and for combinations it is working.
    Thought of data issue, checked in cube, local RDL everything is fine.

    Hi Vamshi,
    According to the information, it's hard to determine the root case for this issue. So, please help to collect more log information while the issue happened. Please refer to the article below:
    Reporting Services Execution and Trace Logging:
    http://technet.microsoft.com/en-us/library/ms157403.aspx
    In additon, I would suggest you to check the "Report Execution Timeout" in the article below:
    Processing Options Properties Page (Report Manager):
    http://technet.microsoft.com/en-us/library/ms178821.aspx
    Troubleshooting Timeout errors in Reporting Services:
    http://blogs.msdn.com/b/mariae/archive/2009/09/24/troubleshooting-timeout-errors-in-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • JOB execution fails due to Access failure to procedures and views using certificates (encryption)

    Job execution fails using SQLServerAgent account but runs successfully under another windows personal account.
    Both have same security access on server and DB.
    The Windows account is mapped to dbo on the database .
    The package uses procedures and views which are using encryption by certificates.
    Please advice on how to provide security so that job runs from the agent

    Hi Prady26,
    If the SQL Server Agent Service account and the proxy account generated based on a Windows user account have the same permissions on both the SQL Server database and the File System of the server, it may be related to the protection level of the package.
    If the package is set to encrypt with UserKey, the job will fail unless it runs under the security context of the Windows user that designs the package in BIDS/SSDT. You can check the
    ProtectionLevel of the package in the BIDS/SSDT to see if it is EncryptSensitiveWithUserKey or EncryptAllWithUserKey, if it is, re-deploy/reinstall the package and set the package protection
    level to “Relay on server storage for encryption”.
    If the issue persists, post the error message in the job history for further analysis.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • CS6 Photoshop fails to print selected area

    PS fails to Print Selected Area, instead it prints an area smaller than the one selected, and it does not center the image on the paper. How can I fix this? The details: image size is 20x24 in. and my selected area is 10x12 in. I am printing to a 13x19 sheet of paper. The image size as printed is 6-5/16 x 9-1/8 in. instead of 10x12, and my selected area is cropped -- unless I check Scale to Fit Print Media but even then the printed image is still the wrong 6-5/16 size. Finally, the visualization is accurate: what is shown in Print dialog is what printed and instead of centering it as requested, the image is printed in the location as displayed. See attached screen shots.

    Ask in the PS forum, but as far as I can tell this is a specific Mac-only genuine bug. That being so, duplicate the image and do a "hard" crop for printing.
    Mylenium

  • Siebel Gateway Name Server Configuration Wizard returns "Execution failed"

    Hi,
    I am installing Siebel 8.1.1.1 on Linux platform and now having problem while trying to configure Siebel Gateway Name Server.
    Steps done:
    1) DB instance prepared
    2) Created Siebel installation image
    3) Installed Siebel server and configured Gateway name server (the wizard started automatically as part of the installation). Skip configuration of Enterprise and SWSE Logical profile
    4) Ran DB Configuration Wizard for the primary language - successfully. Import repository-add language - successfully.
    5) Trying to Wizard "Configure Enterprise" - failed with "Execution failed"
    Here I thought that probably Gateway Nameserver was not configured and decided to remove the Gateway and create it from scratch.
    Unfortunately this time the Gateway configuration failed. Also with message"Execution failed"
    Here are the errors I got in the log files sw_cfg_util*.log
    <EF><BB><BF>2021 2012-01-25 16:14:56 2012-01-25 16:14:56 +0200 00000002 001 003f 0001 09 sw_cfg_util 17234 -1215752512 /OraSSO_tstcol/siebapp/server/siebsrvr/log/sw_cfg_util.log 8.1.1 [21111] ENU
    GenericLog GenericError 1 000000024f204352:0 2012-01-25 16:14:56 (svrconfig.cpp (2465) err=3023557 sys=0) SBL-CSO-08901: The required arguments are not specified.
    GenericLog GenericError 1 000000034f20432e:0 2012-01-25 16:14:56 Executing step: CreateGateway
    GenericLog GenericError 1 000000034f20432e:0 2012-01-25 16:14:58 Step CreateGateway: failed to run program %%SiebelRoot%%%%OSDirSeparator%%bin%%OSDirSeparator%%srvrcfg with cmdline -u nouser -p nopassword -r %%SiebelRoot%% -g %%SiebelRoot%%%%OSDirSeparator%%sys%%OSDirSeparator%%siebns.dat::NSFILE: -r %%SiebelRoot%% -a gateway -l %%PrimaryLanguage%% -i %%SiebelRoot%%%%OSDirSeparator%%admin%%OSDirSeparator%%gtwydefs.dat
    GenericLog GenericError 1 000000034f20432e:0 2012-01-25 16:14:58 Failed during Execution, err: 5500044
    Does anybody know what is the reason?
    Searching in Metalink and Google were fruitless..
    Thank you in advance.

    Just in case anybody bumps in this thread:
    The problem in my case was solved according with Oracle Note "Delete and create the "Siebel Server" via Configuration Wizard on Linux, it failed. [ID 880562.1]"
    Applies to:
    +Siebel CRM - Version: 8.1.1 SIA [21111] and later   [Release: V8 and later ]+
    Linux x86
    Symptoms
    Delete the "Siebel Server" once and then create a new "Siebel Server" via Siebel Server Configuration Wizard on Linux, it failed with message "Execution Failed".
    The error on sw_cfg_util_xx.log is as follows,
    GenericLog GenericError 1 0000ce524a3a1bd2:0 2009-06-19 10:18:33 Executing step: AddSrvrRegistryEntry
    GenericLog GenericError 1 0000ce524a3a1bd2:0 2009-06-19 10:18:35 Step AddSrvrRegistryEntry: failed to run program %%SiebelRoot%%%%OSDirSeparator%%bin%%OSDirSeparator%%siebctl with cmdline -r %%SiebelRoot%% -q -S siebsrvr -i "%%SiebelEnterprise%%:%%SiebelServer%%" -a -g "-g %%SiebelGateway%% -e %%SiebelEnterprise%% -s %%SiebelServer%% -u %%Username%%" -e %%Password%%
    GenericLog GenericError 1 0000ce524a3a1bd2:0 2009-06-19 10:18:35 Failed during Execution, err: 5500044
    Reproduce steps:
    - confirm that siebel server was created before, and is stopping.
    - create sh env and enter the following command to remove the Siebel Server.
    +$ cd $(SiebelServerRoot)+
    +$ . ./cfgenv.sh+
    +$ cd $(SiebelServerRoot)/bin+
    +$ ./ssincfgw+
    - select "3 - Remove Existing Configuration".
    - complete the configuration wizard.
    - enter the following command to create the Siebel Server.
    +$ cd $(SiebelServerRoot)+
    +$ . ./cfgenv.sh+
    +$ cd $(SiebelServerRoot)/bin+
    +$ ./ssincfgw+
    - select "1 - Create New Configuration".
    - continue inputs to finish and execute the configration.
    +==> you'll find "Execution Failed".+
    Cause
    AddSrvrRegistryEntry section shown in the log is the command for registering the Windows Service, and it is no need to execute on Linux env. However, it is executed and it failied.
    Solution
    You can do either of follows,
    +(1) Uninstall and Install the Siebel Server again.+
    +(2) The section to execute the Windows registeration command is specified on $(SiebelServerRoot)/admin/common.scm, line 2475-2477.+
    +[Step]+
    Name = AddSrvrRegistryEntry
    Type = RunProg %%SiebelRoot%%%%OSDirSeparator%%bin%%OSDirSeparator%%siebctl ' -r %%SiebelRoot%% -q -S siebsrvr -i "%%SiebelEnterprise%%:%%SiebelServer%%" -a -g "-g %%SiebelGateway%% -e %%SiebelEnterprise%% -s %%SiebelServer%% -u %%Username%%" -e %%Password%% '
    So, delete the AddSrvrRegistryEntry section from common.scm, and execute Configuration Wizard again.
    Edited by: mmango on Jan 31, 2012 12:21 AM

  • 7.3.0 -8 Execution failed, parse again

    Hello,
    We have a customer still using an old 7.3.0 SAPDB installation.
    We modified the schema a couple of days ago to handle some new functionality.
    Now we try to use the newly created tables we get.
    432.488.0 16:41:00.265 (DS) Exception in commit (E_DATABASE Error executing "INSERT INTO C_PinRecord SET oid = ?,type = ?,acl = ?,version = ?,chipType = ?,cardNumber = ?,pin1 = ?,pin2 = ?,puk = ?": [SAP AG][SQLOD32 DLL][SAP DB] General error;-8 POS(1) Execution failed, parse again.)
    The error is repeatable for every try.
    My conclusion is that the catalog data is left in a bad state somehow. The customer is of course in another country
    and I need to send some kind of procedure to try to recover.
    Does anyone have any hints of the best procedure to follow to try to fix the error?
    We have tried doing a database check without finding any problems.
    Best Regards,
    Stefan Gustafsson

    Thank you for your help.
    The database version reports:
    Kernel                7.3.0 Build 025-000-085-923
    Runtime environment     7.3.0 Build 025-000-085-923
    I know this is an old version, but all our customers is using the exact same version. We are now working on the
    next version of our software there we use 7.7.06.09 instead.
    In our system we use an ODMG mapping that creates tables and view for all classes we use. The problems started then
    we added a new class in an update a couple of days ago.
    During this update one new table and one new view was created in the database as:
    CREATE TABLE T_PinRecord (
        oid FIXED(10) KEY NOT NULL,
        chipType VARCHAR(64),
        cardNumber VARCHAR(64),
        pin1 VARCHAR(32),
        pin2 VARCHAR(32),
        puk VARCHAR(32),
        FOREIGN KEY (oid) REFERENCES T_Object (oid) ON DELETE CASCADE
    CREATE VIEW C_PinRecord AS SELECT T_Object.oid,T_Object.type,T_Object.acl,T_Object.version,T_PinRecord.chipType,T_PinRecord.cardNumber,T_PinRecord.pin1,T_PinRecord.pin2,T_PinRecord.puk FROM T_Object,T_PinRecord WHERE T_Object.oid = T_PinRecord.oid AND T_PinRecord.oid = T_Object.oid WITH CHECK OPTION
    The T_Object table is one of the main tables of the OR mapping and has been there since the installation.
    CREATE TABLE T_Object (
         oid  FIXED (10,0) KEY NOT NULL,
         type  FIXED (21,11),
         acl  FIXED (21,11),
         version  FIXED (10,0),
         FOREIGN KEY oid REFERENCES T_Oid (oid) ON DELETE CASCADE
    CREATE TABLE T_Oid (
         oid  FIXED (10,0) KEY NOT NULL
    We don't use dbprocedures and no other triggers except the ON DELETE CASCADE stuff.
    I asked the customer to run two commands:
    check table so.t_object catalog
    check table so.t_pinrecord catalog
    The first command failed with the -9404 error but the second one succeeded.
    This was somewhat unexpected since the T_Object table is part of all views and I have no reports
    that the system fails for normal use.
    My plan was to drop the T_PinRecord table and view and recreate them, but now I'm not sure this will help.
    Dropping the T_Object table is not possible since it will delete all objects in database.
    I have asked the customer to take a complete data backup and send to us, hopefully we can export out
    the data and reload it into a working instance.
    Best Regards,
    Stefan Gustafsson

  • Error -2146959355 server execution failed on ActiveX Invoke Node?

    I wrote a VI to reload all the module prototypes
    of the steps in a TestStand sequence (note: all code modules are
    LabView VI's).  Whenever it gets to the LabViewModule.LoadPrototype
    call, I get a "server execution failed" error (error code -2146959355).
    I've tried solutions 1-3 in the following document to no avail:
    Why Do I Get Error -2146959355 When Using ActiveX or the Report Generation Toolkit?
    http://digital.ni.com/public.nsf/allkb/1c025f018cb5761686256c56007dd258
    Any ideas as to what else I can do?
    (Incidentally,
    if anyone has a clue as to what reference is causing a "References to
    PropertyObjects were not released properly" warning dialog... please do
    say).
    Thanks,
    Melissa
    (double-posted this to the TestStand forum in case different people read the 2 boards...)
    Attachments:
    ReloadAllPrototypes.vi ‏104 KB

    Hi Melissa,
    I think it would be a better option for you to perform this task in TestStand. See the attached example that is tested and works on reloading LabVIEW module prototypes.
    Hope this helps!
    Best Regards
    Jonathan N.
    National Instruments
    Attachments:
    getSequenceFilePath.vi ‏41 KB
    reloadLabVIEWPrototypes.seq ‏59 KB

  • Bug (possibly?): SelectManyShuttle fails to display selected items

    Bug (possibly?): SelectManyShuttle fails to display selected items when valuePassThru="true" in ADF 10g
    Hello all,
    When run, the example below shows a Select Many Shuttle with four choices in the leading list. When items are shuttled to the training list and the page is submitted the trailing list is rendered with no items selected. Is this a bug?
    Configuration
    This example was constructed using jDeveloper 10.1.3.5.0.
    A new application was created using the Web Application [JSF, ADF BC] template although no business components are used.
    Steps to Reproduce
    1. Create the following backing bean class.
    package com.fmcna.adf.test.view;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.model.SelectItem;
    public class ShuttleBean {
        public ShuttleBean() {
        private List availableItems;
        private List selectedItems;
        public void setAvailableItems(List availableItems) {
            this.availableItems = availableItems;
        public List getAvailableItems() {
            //populate with a List of SelectItem instances on the inital call to this method
            if(this.availableItems==null) {
                this.availableItems=generateSelectItemsList();
            return availableItems;
        public void setSelectedItems(List selectedItems) {
            this.selectedItems = selectedItems;
        public List getSelectedItems() {
            return selectedItems;
         * Build a List of SelectItem instances to be used by an af:selectManyShuttle
         * @return A List containing SelectItems instances
        private List generateSelectItemsList() {
            List initialItems = new ArrayList();
            initialItems.add(new SelectItem(new Integer(11),"First Choice"));
            initialItems.add(new SelectItem(new Integer(22),"Second Choice"));
            initialItems.add(new SelectItem(new Integer(33),"Third Choice"));
            initialItems.add(new SelectItem(new Integer(44),"Fourth Choice"));
            return initialItems;
    }2. Configure the ShuttleBean class as a session scoped managed bean as in the following faces-config.xml file.
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <managed-bean>
        <managed-bean-name>ShuttleBean</managed-bean-name>
        <managed-bean-class>com.fmcna.adf.test.view.ShuttleBean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>
      <application>
        <default-render-kit-id>oracle.adf.core</default-render-kit-id>
      </application>
    </faces-config>3. Create a JSP page containing an af:selectManyShuttle with a nested f:selectItems component. Wire the values for these components to the properties in the managed bean.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <f:view>
      <html>
        <head>
          <meta http-equiv="Content-Type"
                content="text/html; charset=windows-1252"/>
          <title>testShuttle</title>
        </head>
        <body><h:form>
            <af:selectManyShuttle value="#{ShuttleBean.selectedItems}" valuePassThru="true">
                <f:selectItems value="#{ShuttleBean.availableItems}"/>
            </af:selectManyShuttle>
            <af:commandLink text="Postback"/>
        </h:form></body>
      </html>
    </f:view>4. Run the JSP. Validate that the trailing list is initially empty.
    5. Shuttle one or more items to the trailing list and click the Postback button. Validate that when the page refreshes the trailing list is again empty.
    Thanks for any input you might be able to provide.
    Chris Mihalcik
    Edited by: user5384858 on Jun 14, 2010 1:06 PM

    I'm holding my Nano in my hot little hands with ALL of the things you listed, but here's the sad, simple truth: you CAN'T use iTunes to sync everything. It works well for:
    1) Music
    2) Videos (except sometimes in Vista)
    3) Photos (as long as they're not too large)
    but is terrible for:
    1) calendar
    2) contacts
    3) To-Do lists
    For the latter use something like "iGadget" (www.ipodsoft.com). I also edit/store notes w/iGadget plus it allows you to export files, etc.
    I gave up on syncing iTunes w/Outlook long ago. Good luck.

  • I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless i select the list in the sub file. How do I get backto the old method of seeing and using iTunes??

    I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless I select the list in the sub file. How do I get back to the old method of seeing and using iTunes??

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • SSRS Error : Query execution failed for dataset 'dataSet'. (rsErrorExecutingCommand) Semantic query execution failed. Invalid object name 'RPT.*********'. (rsSemanticQueryEngineError)

    I am new to SSRS and I am trying to migrate reports from 2008 to 2012. As I have so many reports to migrate, I simply got the back up of ReportServer,
    ReportServerTempDB, and Encryption Key and restored them to test environment. I made necessary configuration from RS configuration tool. I am able to see the reports now when I browse //hostname/reports. But when I open any particular report I am getting some
    error.
    · An error has occurred during report processing.
    (rsProcessingAborted)
    Query execution       failed for dataset 'dataSet'.
          (rsErrorExecutingCommand
    Semantic query        execution failed. Invalid object name
           'RPT. ******'. (rsSemanticQueryEngineError)
    ****** - I am assuming this is a custom data class.
    Does anyone have insight on this? or any better way that I can migrate the reports to new server with less efforts.
    I don’t have the reports solution file to deploy the reports, so I have followed backup and restore process.

    Hi Kishore237,
    According to your description, you migrated some reports from Reporting Services (SSRS) 2008 to 2012. Now you get error when accessing the reports on SSRS 2012. Right?
    In this scenario, did you modify the report data source in database after migration? You can try to open the report in Report Builder or Report designer and check the report dataset. If you can preview the report in Report builder or Report designer,
    please try to redeploy the report to Report Server. If it is still not working, please try to restore the database from backup. And for migrating reports, please follow the "Content-Only Migration" in the link below:
    http://msdn.microsoft.com/en-us/library/ms143724(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for