Specify directory with AS_TO_CLIENT

Hello,
Is it possible to specify the client side download directory with AS_TO_CLIENT?
Thanks

Sorry about that, I was under the impression that clientFile was only specifying the filename to the client not the directory. I got it to work very smoothly, and added user input to select the download path with the following code:
declare
     l_filename varchar2(200);
     FLAG BOOLEAN;
begin
l_filename := webutil_file.file_save_dialog
     (directory_name => 'C:\'
,file_name => :data_block.file_name // Displays filename.type (test.txt)
,file_filter => null
,title => 'Select client side filename where App Server file will be saved');
FLAG:=WEBUTIL_FILE_TRANSFER.AS_TO_client_with_progress(l_filename , :data_block.file_location || :data_block.file_name, 'Downloading File...', 'Please Wait');
message('The image has been saved to ' || l_filename);
END;
Thanks again for the help, I really appreciate what you do for the development community.
-Jordan

Similar Messages

  • Md5 checksums of all packages from the specified directory

    How to check md5 checksums of all packages from the specified directory with pacman?

    karol wrote:It's 4.30 AM, the sun comes up and I'm going to bed.
    Hmmm, the blue sky and violet-pink clouds remind me of Arch homepage ;P
    Hehe, it's a nice feeling, nevertheless.
    @dkorzhevin: here's a script I've made when I needed this:
    #!/bin/bash
    echo -n "" > pkgNotFound
    echo -n "" > pkgSums
    names=`pacman -Slq`
    for name in $names
    do
    versionLine=`pacman -Si $name | grep "Version : "`
    version=`echo -n $versionLine | sed -e 's/Version : //g'`
    md5Line=`pacman -Si $name | grep "MD5 Sum : "`
    md5=`echo -n $md5Line | sed -e 's/MD5 Sum : //g'`
    pkgPath=`find /var/cache/pacman/pkg/ -name $name"-"$version"*"`
    if [ "$pkgPath" = "" ]
    then
    echo "Error: "$name" package not found in cache." >> pkgNotFound
    else
    echo $md5" "$pkgPath >> pkgSums
    fi
    done
    exit 0
    So your output will be located in the file "pkgSums" and it will look like this, these are the checksums that pacman displays, and the paths of your local packages:
    4ce0d40359bfa1a4a0f47a0e53e65fa5 /var/cache/pacman/pkg/acl-2.2.49-1-x86_64.pkg.tar.xz
    24df396b3146d1a203e0d4f4d6edd67b /var/cache/pacman/pkg/ar9170-fw-1.0-2-any.pkg.tar.gz
    8454e0fc947f9c8ce4ac5c39ed6ef165 /var/cache/pacman/pkg/attr-2.4.44-1-x86_64.pkg.tar.gz
    9ef6b0ce43a4660170df21ead2f8e711 /var/cache/pacman/pkg/autoconf-2.65-2-any.pkg.tar.xz
    505fe675565601f6ca803779601837cf /var/cache/pacman/pkg/automake-1.11.1-1-any.pkg.tar.gz
    To check the checksums against the packages, just run md5 with the newly created file, if you get output then something stinks :
    # md5sum -c --quiet pkgSums
    There's another file "pkgNotFound" for the packages which are found in pacman but not on your disk. So make sure you don't have these two files already, in the current directory, containing important information - they will be overwritten.

  • VMM 2012 R2 - Create or Update Run As Account Failure: The specified directory service attribute or value does not exist

    VMM 2012R2 UR4 - Version 3.2.7768.0
    Not sure when this started happening since I haven't had to update or create a new RunAs account in VMM in some time, but every time I do, either through the console or through PowerShell it throws an error about The specified directory service attribute
    or value does not exist.  The VMM Service account is the same as it always has been, and other than this issue everything with VMM is working fine.  The full text of the error message is below.
    I am hoping someone has some ideas because I don't have any more at this point.
    ------------------- Error Report -------------------
    Error report created 12/22/2014 9:43:33 AM
    CLR is not terminating
    --------------- Bucketing Parameters ---------------
    EventType=VMM20
    P1(appName)=vmmservice.exe
    P2(appVersion)=3.2.7768.0
    P3(assemblyName)=Microsoft.Cryptography.DKM.dll
    P4(assemblyVer)=3.2.7510.0
    P5(methodName)=Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys
    P6(exceptionType)=System.Runtime.InteropServices.COMException
    P7(callstackHash)=d0d2
    SCVMM Version=3.2.7768.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7768.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7768.0
    Base Exception Target Site=140712994535888
    Base Exception Assembly name=System.DirectoryServices.dll
    Base Exception Method Name=System.DirectoryServices.DirectoryEntry.Bind
    Exception Message=The specified directory service attribute or value does not exist.
    EIP=0x00007ffa67d15bf8
    Build bit-size=64
    ------------ exceptionObject.ToString() ------------
    System.Runtime.InteropServices.COMException (0x8007200A): The specified directory service attribute or value does not exist.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_IsContainer()
       at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
       at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
       at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    --------------- exception.StackTrace ---------------
    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_IsContainer()
       at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
       at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
       at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    ------------- StackTrace from handler --------------
    This is the call stack from where the exception was caught, not where it was thrown.
    at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    -------------------- Assemblies --------------------
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
        Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
        Version=4.0.30319.34014
        BuildType=retail
        Product=Microsoft® .NET Framework
    VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
        Version=4.0.30319.34003
        BuildType=retail
        Product=Microsoft® .NET Framework
    TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
        Version=4.0.30319.33440
        Product=Microsoft® .NET Framework
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Version=6.3.9600.17090
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
    Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Version=6.3.9600.16384
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    WSManAutomation, Version=3.2.7768.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
    wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
        Version=4.0.30319.33440
        Product=Microsoft® .NET Framework
    System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    --------- Extra Data for Watson Report -------------
    Error Reporting Enabled=True
    *** Extra Data ***
    Process ID = 4356 (0x1104)
    Managed Thread ID = 18
    Native Thread ID = 5520 (0x1590)
    MCITP | VCP4 | VCP5

    Hi,
    You want userPrincipalName, not userPrincipleName.
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms680857%28v=vs.85%29.aspx
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • The Specified Directory Does not Exist

    Hi expert
    could you help me with my problem , this word " The Specified Directory  Does Not Exist" its some stupid question , isn't it ?
    this is my sitiuation    :
    1.  BPC version is SAP BPC 5.0.512
    2. we are using  MS Excel 2003
    our user  do some modification from BPC  WEB (the BPC open excel file with many macro and add-in etc ...  ), then user save using Save Dynamic Template  sub menu from eTools menu , and raise message "The Specified Directory Does not Exist < directory path>/eEXCEL. "
    the questions Are .
    1. Could anyone explain why BPC try to save in Client Local Direcory not is BPC Server 
    2. Could  anyone help me how to resolve the problem ?
    (i am appolagize with my bad english )
    thanks.

    HI nvsleman ,
    I had the same problem and I manually copied the eExcel folder (on my local harddrive) from a working application to the application in question.
    Hope this helps
    Sabine

  • Specified directory does not exist

    Hi there,
    I'm having a wierd problem, and can't seem to find a way around it.
    I'm logging into my clients' version 5 SP10 application, and the "Finance" app works fine: all dimensions downloaded, all folders created locally, etc (today is the first day I've used my PC with this appset so I didn't have these locally previously).
    However, when I switch to my "interco" app, or any other, I get this error (NOTE: my user profile folder is on D not C):
    "The Specified directory does not exists: D:\Jason\Documents\Outlooksoft\<Server Name>\<User>\App Info\<Appset>\<Application>\eExcel"
    Sorry, not very easy to read!
    It doesn't seem to create these folders. But if I do it manually (through My Computer), the next time I log in I don't get the error - presumably because the folder has been created.
    My colleague has the exact same problem from the exact same application set, and we are using different Windows OSs (he is on XP and I'm on Vista) so it can't be that.
    Any ideas? I have worked at this client many times, but not since SP10 was applied - could that be the cause of the problem?
    Thanks as always!
    Jason

    Jason,
    I had the same issue with a few applications. SAP tech advised me to copy an application and it should re-create folder structure. Another approach is to process application without selecting any options - should also re-create folder structure, but I can't confirm this one.
    And 3rd way is to copy folder structure from a good (working) version of the same application into the "broken" one.
    Hope that helps,
    Akim

  • Query running backgroup how to download result to specified directory?

    Hi Expert,
    according to the current business requirement, I have create a query via SQ02 AND SQ01 and it runs smoothly, but now the user want to run this query periodically every 10 mins and want to write the result into spicified dirctory in the desktop.
    I write a ABAP code in the query and use the function module GUI_DOWNLOAD, it works in online execution, but when I schedule this query as background, the system can not download the result into specified directory and the system prompts error:FES--022.
    do you have any good idea?
    thank you in advance!

    xioliu,
    I don't think that is possible as long as it is executed in the background. Options for the background will be 1) to send an e-mail from the program with attachment, or 2) save it into SAP Server and pull that via ftp into whatever the server the user has access to.
    Cheers,
    Akio

  • [SOLVED] C : How to block opening files "above" a specified directory?

    SOLVED: Used
    man 3 realpath
    Hello Archers,
    I have this one problem I've been struggling with. I kind of solved it but the solution's hackish.
    My question is how do you prevent the opening of files "above" a specified directory? The reason behind this is that I'm writing a simple sharing server, something like Xyne's quickserve, but in C and with a GTK GUI. I'm using the libmicrohttpd library.
    The program works this way: the user selects a port and a directory to be "served", and then he can access the files under the directory he chose. However, there obviously needs to be a way to prevent the user from opening files above the directory by using ".."'s for example.
    For now, I simply plan on rejecting all queries containing ".." (http://github.com/houbysoft/quickshare/ … hare.c#L59), but that's obviously very imperfect -- and you could get around it if there is a symlink in the directory for example.
    Any pointers will be very appreciated, thanks.
    Last edited by y27 (2010-03-17 02:59:14)

    tavianator wrote:
    man realpath wrote:BUGS
           The  POSIX.1-2001  standard  version of this function is broken by design, since it is impossible to
           determine a suitable size for the output buffer, resolved_path.  According to POSIX.1-2001 a  buffer
           of  size PATH_MAX suffices, but PATH_MAX need not be a defined constant, and may have to be obtained
           using pathconf(3).  And asking pathconf(3) does not really help, since, on the one hand POSIX  warns
           that  the  result  of  pathconf(3) may be huge and unsuitable for mallocing memory, and on the other
           hand pathconf(3) may return -1 to signify that PATH_MAX is not bounded.   The  resolved_path == NULL
           feature,  not  standardized  in  POSIX.1-2001,  but standardized in POSIX.1-2008, allows this design
           problem to be avoided.
    So be careful to either pass resolved_path as NULL and bite the potential unportablilty bullet, or copy canonicalize_file_name or canonicalize_filename_mode from gnulib.
    Yeah, I am passing NULL.

  • Searching for content within a specified directory

    I am trying to do a simple content search on a specified directory, but I do not get the results I expect.
    I have looked at the examples and based my code upon them.
    If anyone can spot what I am missing or have forgotten I would be very grateful.
    Thanks
    Chris

    Here is the offending code :import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.adk.filesystem.*;
    import oracle.ifs.beans.Search;
    import oracle.ifs.search.AttributeQualification;
    import oracle.ifs.search.AttributeSearchSpecification;
    import oracle.ifs.search.ContextQualification;
    import oracle.ifs.search.ContextSearchSpecification;
    import oracle.ifs.search.FolderRestrictQualification;
    import oracle.ifs.search.JoinQualification;
    import oracle.ifs.search.SearchClassSpecification;
    import oracle.ifs.search.SearchClause;
    import oracle.ifs.search.SearchQualification;
    import oracle.ifs.search.SearchSpecification;
    import oracle.ifs.search.SearchSortSpecification;
    // Import objects for working with search results
    import oracle.ifs.beans.LibraryObject;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.ContentObject;
    import oracle.ifs.beans.SearchResultObject;
    // Import object for exception handling
    import oracle.ifs.common.IfsException;
    import oracle.ifs.common.AttributeValue;
    import java.util.Vector;
    public class contentSearch
    LibrarySession ls;
    String strSearch;
    public contentSearch()
    public void setSession( LibrarySession libsession )
    ls = libsession;
    public LibrarySession getSession()
    return ls;
    public void setSearchString(String str)
    strSearch = str;
    public PublicObject[] SearchSimple()
    Vector vecOutput = new Vector(50,5); PublicObject[] resultsArray = null;
    try
    ContextQualification cq = new ContextQualification();
    cq.setQuery(strSearch);
    String ContextClauseName = "CQ";
    cq.setName(ContextClauseName);
    SearchSortSpecification sortSpec = new SearchSortSpecification();
    sortSpec.add(Document.CLASS_NAME, ContextQualification.ORDER_PREFIX+"."+ContextClauseName, true);
    JoinQualification jq = new JoinQualification();
    jq.setLeftAttribute(Document.CLASS_NAME, Document.CONTENTOBJECT_ATTRIBUTE);
    jq.setRightAttribute(ContentObject.CLASS_NAME, null);
    // Add Folder Restriction for the search
    IfsFileSystem fsAPI = new IfsFileSystem( ls );
    PublicObject po = fsAPI.findPublicObjectByPath("public_demo");
    FolderRestrictQualification frq = new FolderRestrictQualification();
    frq.setStartFolder( (Folder) po);
    frq.setSearchClassname(PublicObject.CLASS_NAME);
    // END of FolderRestrictionQualification
    SearchClause sc = new SearchClause( cq, jq, SearchClause.AND );
    ContextSearchSpecification cp = new ContextSearchSpecification();
    cp.setContextClassname("CONTENTOBJECT");
    cp.setSearchClassSpecification(new SearchClassSpecification(new String[] {"DOCUMENT", "CONTENTOBJECT"}));
    cp.setSearchQualification(sc);
    cp.setSearchSortSpecification(sortSpec);
    // Session connection
    LibrarySession session;
    LibraryService serv;
    // Connect to Oracle iFS
    serv = new LibraryService();
    session = serv.connect("system", "manager", "IfsDefault");
    Search s = new Search(session, cp);
    try
    LibraryObject lo;
    // Open the search
    s.open();
    while (true)
    // Returns the next result row into Library Object
    lo = s.next().getLibraryObject();
    // Add LibraryObject to output vector to return
    vecOutput.addElement( lo );
    if (lo == null)
    throw new RuntimeException ("Retrieving search results : LibraryObject is null");
    else
    // Print results
    System.out.println(lo.getName());
    } // End Of While Loop
    } // End Of try block for search open
    catch (IfsException e)
    /* Throw an error, unless the exception is
    * 22000 'End of Data' which is always thrown
    * when s.next() reaches the end of the cursor.
    if (e.getErrorCode() != 22000 )
    // Something bad happened
    e.setVerboseMessage(true);
    throw new RuntimeException("Error happened in returning result set:"+e.getMessage());
    } // End of catch block for search open
    finally
    // Check if the size of ResultSet Vector Is more than zero
    if ( vecOutput.size() > 0)
    resultsArray = new Pub licObject[vecOutput.size()];
    for (int i=0; i < vecOutput.size(); i++)
    // Copy the result set library object to Public Object Array
    resultsArray[i] = (PublicObject) vecOutput.elementAt(i);
    } // End IF
    // Close the search
    s.close();
    } // End of Finally block for search open
    catch (IfsException i)
    System.out.println(" " + i.getMessage());
    return resultsArray; // Return the results
    null

  • Ora-04018 :unable to acess the specified directory or device

    hello sunil i got your message
    thanks  for this
    but it will not work
    when i run starup
    then i found this
    ora-16032 : parameter log_ARCHIVE_DEST deatination  cannot be translated .
    ora-09291 :sksachk: invalid device specified for archive destination.
    ora-04018 :unable to acess the specified directory or device
    o/s-error: <os 3> the system connot find the path specified
    what i do
    please tell me
    with regards
    Edited by: Julius Bussche on Nov 3, 2008 1:37 PM

    check your archive destination settings in init<SID>.ora file and check whether the archive location available physically?
    >ora-04018 :unable to acess the specified directory or device
    cheers,
    -Sunil

  • [OBPM 10gR3]How to configer a hybrid directory with Oracle LDAP Server

    Hey, guys,
    Does anyone have experience on configering a hybrid directory with Oracle LDAP Server? How to config the mapping conf file for Oracle LDAP in the directory of \OraBPMwlHome\conf?
    Here is my conf file. But I got some LDAP mapping errors. It's really weird OBPM doesn't support Oracle's self LDAP, at least it does not provide the conf file.
    -----------errors------------
    Exception [javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '']. Reason: [LDAP: error code 53 - Function Not Implemented] fuego.directory.DirectoryRuntimeException: Exception [javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '']. at fuego.directory.DirectoryRuntimeException.wrapException(DirectoryRuntimeException.java:85) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.select(JNDIQueryExecutor.java:203) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.selectAllFromView(JNDIQueryExecutor.java:84) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.selectAllFromView(JNDIQueryExecutor.java:64) at fuego.directory.hybrid.ldap.Repository.selectAllFromView(Repository.java:54) at fuego.directory.hybrid.ldap.LDAPPollingEventGenerator.buildCurrentProxies(LDAPPollingEventGenerator.java:98) at fuego.directory.provider.notifiers.BasePollingEventGenerator.generateEvents(BasePollingEventGenerator.java:41) at fuego.directory.hybrid.HybridMultipleEventGenerator.generateEvents(HybridMultipleEventGenerator.java:43) at fuego.directory.provider.notifiers.DirectoryNotifier.notifyChanges(DirectoryNotifier.java:403) at fuego.server.service.DirectoryListener.updateEngineFromDirectoryImpl(DirectoryListener.java:309) at fuego.server.service.DirectoryListener$DirectoryPollingItem.execute(DirectoryListener.java:351) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62) at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42) at fuego.ejbengine.ejb.EngineStartupBean.executeItem(EngineStartupBean.java:192) at fuego.ejbengine.ejb.EngineStartupBean.updateFromDirectory(EngineStartupBean.java:172) at fuego.ejbengine.ejb.engine_startup_bpmengine_wodkyx_ELOImpl.updateFromDirectory(engine_startup_bpmengine_wodkyx_ELOImpl.java:365) at fuego.ejbengine.servlet.SchedulerServlet$DirectoryPollingTask.runImpl(SchedulerServlet.java:269) at fuego.ejbengine.servlet.SchedulerServlet$ScheduledTask.run(SchedulerServlet.java:208) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3078) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at fuego.jndi.FaultTolerantDirContext.search(FaultTolerantDirContext.java:867) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.select(JNDIQueryExecutor.java:190) ... 23 more
    -----------mapping conf file for Oracle LDAP---------
    <?xml version="1.0" encoding="UTF-8"?>
    <?fuego version="6.1 ALPHA" application="albpmenterprise"?>
    <!-- This file contains the propper attribute mapping for the FDI Generic Ldap Provider using Oracle Directory Service.          
    * Preference for group object
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedParticipant value is the dn of the user and the dn contains the participant id
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedGroup value is the dn of the group and the dn contains the group id
              <preference id="modifyTimeStamp.suffix" value="Z"/>
              This preference is useful when the suffix mofidyTimeStamp format of your ldap is not .OZ.
    -->
    <config>
         <object id="person">
              <object-filter>
                   <![CDATA[
                        (objectclass=inetOrgPerson)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for person -->
              </relative-dn>
              <attribute id="id" value="uid"/>
              <attribute id="lastName" value="sn"/>
              <attribute id="firstName" value="givenname"/>
              <attribute id="accountLock" value="orclIsEnabled">
                   <attribute-comparator operation="EQUALS" compareTo="ENABLED"/>
                   <filter>
                        <![CDATA[
                             ($accountLock=ENABLED)
                        ]]>
                   </filter>
              </attribute>
              <attribute id="facsimileTelephoneNumber" value="facsimileTelephoneNumber"/>
              <attribute id="displayName" value="displayName"/>
              <attribute id="mail" value="mail"/>
              <attribute id="telephoneNumber" value="telephoneNumber"/>
              <attribute id="employeeId" value="employeeNumber"/>
              <attribute id="thumbnailPhoto" value="jpegPhoto"/>
              <attribute id="manager" value="manager"/>
              <attribute id="modifyTimeStamp" value="modifytimestamp"/>
         </object>
         <object id="group">
              <object-filter>
                   <![CDATA[
                        (objectclass=orclGroup)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for group -->
    </relative-dn>
              <attribute id="id" value="dn"/>
              <attribute id="modifyTimeStamp" value="modifytimestamp"/>
              <attribute id="displayName" value="displayName"/>
              <attribute id="name" value="cn"/>
              <attribute id="description" value="description"/>
              <attribute id="assignedParticipants" value="uniquemember"/>
              <!--attribute id="assignedGroups" value="memberOf"/-->
              <attribute id="ou" value="uniquemember"/>
         </object>
         <object id="ou">
              <object-filter>
                   <![CDATA[
                        (objectclass=domain)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for ous -->
    </relative-dn>
              <attribute id="name" value="orclsubscriberfullname"/>
              <attribute id="description" value="description"/>
         </object>
    </config>
    Edited by: Lemonice on 2009-3-30 上午2:08
    Edited by: Lemonice on 2009-3-30 下午7:01
    Edited by: Lemonice on 2009-3-30 下午8:43

    Hi,
    in my case, I am trying to configure the OBPM directory using ALUI and its native LDAP service.
    Now, I found that the first name and the last name in BPM are retrieved from the ALUI display name : provided we enter the display name in the format %first name% + %last name% we get them into BPM. But the display name is not always in this format...
    In addition, it's the portal telephone number information which is retrieved into BPM Telephone and Fax numbers.
    And, the email adress remains blank
    I have installed the latest patch for OBPM (Version: 10.3.1.0.0 Build: #97172)
    Would you have any documentation about creating a Profile Web Service in ALUI and specifying which LDAP attributes to map to which ALUI properties in the Profile Source ?
    Thanks !
    Edited by: vVince on May 6, 2009 3:46 PM

  • Relative path for Download directory folder.I created a firefox profile and i wanted to use this profile in multiple machines.I wanted to use a relative path for download directory with respect to the profile folder.I need this on Linux machines

    I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
    I need to have a relative path to my download directory with respect to the profile folder.
    Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

  • How to generate output file of a certain report in a specified directory

    Hello everyone,
    I wanna know how to generate the output file of a certain report in a specified directory.
    Now, the output file directory = /produits/OA/OAS/production/prodcomn/admin/out/PROD_us15k1bp/
    I wanna to generate the output file of a report in this directory
    /produits/OA/OAS/production/prodcomn/admin/out/PROD_us15k1bp/FACTCLIENT
    Cause the output of this report is very large, so I don't wanna to put it in the output drectory standard which reduce the performance.
    Could you help me?
    Thanks a lot,
    Kinkichin

    Hi,
    I wanna know how to generate the output file of a certain report in a specified directory.See (Note: 158088.1 - Is Possible to Redirect the Concurrent Processes Output to a Specific Directory for a Specific Responsibility?).
    Cause the output of this report is very large, so I don't wanna to put it in the output drectory standard which reduce the performance.There should be no performance issues you place the output file in the same directory where other concurrent request output files are located.
    Regards,
    Hussein

  • Writing an file to a specified directory

    I have an application in Tomcat. In this application i write data into an xml-file. When i check this, i see that the file is written in the bin directory of tomcat. Now I want to write this file into another directory, for example: /tomcat/webbaps/catalog/orders/order.xml
    Can someone tell me how my code to place it in this specified directory looks like?
    Thx !

    When you specify the file name, prefix it by the directory you want it stored in. You didn't show any code that explains how you are doing it now, so I'm not showing you any code that might be irrelevant. There are many ways to write an XML file to disk.

  • How to print out all files in a specified directory

    Now, I have some problem which prints out the entire content of all of the .txt files in a specified directory.
    what method i can use?
    Can anyone give me some examples?
    Many Thanks

    Read the API for java.io.File, in particular the list and listFiles methods, and java.io.FilenameFilter.

  • UPLOAD A DIRECTORY WITH N NUMBER OF DATA FILE

    Hi Experts
                               In my scenario i need to upload a directory with n number of excel file from my presentation server to application server . Please do help on that (note : directory with many file not an single file )

    Hi,
    Here is the Code for List of Files from the Specific Directory to Application Server(SAP)..
    REPORT  ZDIRFILES    .
    PARAMETER: p_fdir            type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
            include structure salfldir.
    data: end of it_filedir.
    *START-OF-SELECTION
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
      call function 'RZL_READ_DIR_LOCAL'
           exporting
                name     = p_fdir
           tables
                file_tbl = it_filedir.
    List of files are contained within table it_filedir
      loop at it_filedir.
        write: / it_filedir-NAME.
      endloop.
    Girish

Maybe you are looking for