Convertor - No Input File Specified

Post OS3.0 everything appears to work but the Convertor app tries to load but fails with the error message "No input file specified.
It starts to launch the browser but then fails afer a few seconds with the above error message ?

Osgood wrote:
> Osgood wrote:
>> E Michael Brandt wrote:
>>>
http://jenseng.com/archives/000035.html
>>>
>>
>>
>> Right, thanks. I'm gonna have to have a look and see
what's missing.
>
>
> Nothing was missing....just a poxy case sensitive issue
on a file name.
> This stuff really f--ks with my brain sometimes.
>
> Thanks for the heads-up.
>
> A bad day has just got a little better :)
>
happy to have been of some help with your day.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

Similar Messages

  • Getting No input file specified. in php with index.php

    I just installed on a server (soalris10/u6 sparc) Web Server 7.0u4 (upgraded from u3), and I am now getting "No input file specified." for any php doc root, I now have to type the full path to get the main page.
    I am using the php part of the Sun coolstack 1.3.1 and it used to work fine with web server 7.0 u3, but now after the upgrade its not loading index.php
    for example I am going to http://server.domain.com/wiki used to work by loading index.php, but now I have to type the full index... http://server.domain.com/wiki/index.php?title=Main_Page
    Any help is appreciated.

    If you're not currently using a php.ini, you can pass the parameter to PHP via your FastCGI configuration. Something like:
    Service fn=responder-fastcgi
            app-path="/export/WS7/third-party/php/php_fcgi"
            bind-path="$(lc($urlhost))"
            req-retry=5
            type="*magnus-internal/fastcgi*"
            app-env="PHPRC=/export/WS7/fooBaz/config"Now place a file called php.ini in /export/WS7/fooBaz/config and make sure that the UID Web Server is running as has permission to read it.
    Common syntax is KEY = Value. An example would be:
    cgi.fix_pathinfo = Off
    session.bug_compat_42 = Off
    session.bug_compat_warn = Off
    magic_quotes_gpc = Off
    memory_limit = 128M
    post_max_size = 128M
    upload_max_filesize = 128M
    fastcgi.logging = true

  • [half way] LEMP No input file specified. loading php

    Okay so I am new to Nginx and I seem to have borked the install.
    My localhost works initially when I start but put when I refresh it says unable to connect. I think I have done some bad tinkering. I've been following this guide : https://wiki.archlinux.org/index.php/nginx
    but from :
    Step 2: Nginx configuration
    Step 2a: Adding to main configuration
    Inside each server block serving a PHP web application should appear a location block similar to:
    I seem to screw everything up.
    Any advice welcome.
    I know I should post my config files but I really don't know which bits I should post so if would be so kind as to point me in the right direct else this would be a really long topic
    Last edited by Arch-Hoochie (2014-09-24 11:51:40)

    That text is indeed not very clear.
    Look at the example config shown at the end of section Step_2a:_Adding_to_main_configuration
    Notice that in the example, the root path in specified directly under server, and not inside location
    That line indicates you can put 'root path/to/folder' in several places in the config file :
    - the 'server { ' block   (before any location blocks)
    - 'location / {' block
    - 'location ~ {' block
    I THINK what "2. Another occasion ....." tries to say is that if you do have 'root /path/to/folder' in several locations this can cause problems if the paths are different.

  • What is an input file

    trying to access peace fm manchester and keep getting message no input file specified can anyone tell me how i do this

    Hi @mariejoe ,
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Notebook displaying No input file specified while trying to get to Peace Fm Radio. Here is a link that might work.
    Looks like there is a plugin that is needed.
    Are you able to play a CD?
    I would be happy to assist if needed as there are many models of HP Notebooks, I would need the model number.
    How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Specify an input file using Windows Explorer

    Hi, I'm very new to Orchestrator.
    Instead of writing stand-alone PowerShell scripts to perform tasks against an input file, I would like to use Orchestrator, thus avoiding the need to write the code.
    Is there a way to specify an input file using Windows Explorer via Orchestrator?  When invoked, I would like my Runbook to open up Windows Explorer, where I could navigate to my input file, then press OK and have my automated processes run.  Do
    I need to look beyond Orchestrator, say towards Service Manager, or is this natively available in Orchestrator?
    Thanks,
    Nick. 

    Hi,
    there are several Ways.
    you can use the SCO Webconsole, to start a Runbook and put in a Porpertie.
    you can use SCSM with SMPortal to define the File
    or you can use the free EUPSCO Portal, to build a Webfrontend for SCO
    Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
    facebook.com/techguyat |
    youtube.com/techguyat

  • How to specify Sql Loader input file with dynamic name

    The input file name likes pochange_YYYYMMDD.dat which is generated by other program each day.
    I want to load this file to a table.
    Any help? Thanks a lot

    I thought in an excellent strategy to do this:
    Conditions:
    - you have to have only one file in the folder with the data.
    - Independently of the name of that file. A process is always going to change its name to a fix name.
    - the controlfile must at another fixed path
    the scripts is this one:
    joel_sqlloader.bat
    ren *.dat always.txt
    sqlldr <user>/password data=always.txt control=<another_path>/my_ctl.ctl
    - In a folder you will have these files:
    * joel_sqlloader.bat
    * pochange_YYYYMMDD.dat
    - In another folder you will have:
    * my_ctl.ctl
    Did you get it ?
    Joel Pérez
    http://otn.oracle.com/experts

  • Can I find out the full filename of input file in message mapping?

    I have in XI 2.0 the following scenario :
    In the inbound fileadapter I read my input file. The filename of the input file is part fixed, part variable (Like INDATA01.txt, INDATA03.txt, etc).
    So in my Adapterconfiguration, I specify the filename with a wildcard (INDATA*.txt).
    What I now want to do, is in my Message Mapping use the full filename , so I can do something different for every filenumber. Is there a way where I can get the full filename available in my message mapping (I did not find the filename in the XML in the message trace).

    You're backing up hundreds or thousands of files:  There's the catalog (database) itself and also the media files. 
    In PSE10, when doing a backup, PSE displays the size of the backup before you begin the actual backup:
    I assume PSE8 will have something similar.
    Ken

  • Input file should be deleted only after the output file is successful.

    Hi Experts,
    Could you pleas solve the below issue.
                           In  a file to file scenario, the input file will be picked from a directory location and after processing output file will be placed in the output directory location specified in the receiver communication channel.
    In the sender communication channel for the scenario mentioned above, if the processing mode is given as delete, the input file will be delete as soon as the file was successfully read by the adapter, but this will not ensure that the file processing is complete and the output file is being created.
    If we have a scenario in such as way that the input file should be deleted from the input folder only if the complete process is successful and the output is generated. how can we achieve this functionality?.
    And one more thing if we got the successful output the output file should be placed in one folder. and the if the output file is having errors it should be placed in other folder.

    Hi,
    In Receiver communication channel I have used the below command in Run Operating System
    .And I have kept the processing mode of sender communication channel as test.
    cmd.exe: /C "del /Leela/test.xml"
    You are running the comman line program configured in the receiver File Adapter,but in command line you mentioned the Sender File Folder , So i guess it's not getting processed.
    Try this:
    Try to run the command line in the Sender File Adapter Side
    "Place this in " --> Run OS Command After Message Processing.
    Hope this would work and get in parrallel with u r requirement.
    regards
    Srini

  • Cannot find file specified!!!

    To anyone that can help.
    Server 2012 R2
    Trying to run a .wsf file and the system tells me that it cannot find the file specified.
    Opened command prompt as admin and running cscript.exe shoreware_backup.wsf
    I am losing my mind
    Jared

    ' Backup Script for ShoreWare Server
    <job id="ShorewareBackup">
     <script language="VBScript" src="common.vbs" />
     <script language="VBScript">
    writeToLog "********** Starting Shoreware Backup Process **********"
    '----- load ini file, this should always be the first thing to do -----
    loadINI
    Dim backupDrive : backupDrive = BACKUP_DRIVE
    Dim backupRootDir : backupRootDir = BACKUP_ROOT_DIR
    Dim scriptsRootDir : scriptsRootDir = SCRIPTS_ROOT_DIR
    Dim scriptsDVMRootDir : scriptsDVMRootDir = SCRIPTS_DVM_ROOT_DIR
    Dim backupVMBRootDir : backupVMBRootDir = BACKUP_VMB_ROOT_DIR
    Dim backupUCBRootDir : backupUCBRootDir = BACKUP_UCB_ROOT_DIR
    Dim backupDVSRootDir : backupDVSRootDir = BACKUP_DVS_ROOT_DIR
    Dim ShoretelRootDir : ShoretelRootDir = SERVER_DIR
    Dim ShoretelDVMRootDir : ShoretelDVMRootDir = DVM_SERVER_DIR
    writeToLog "Backup Directory: " & backupDrive & backupRootDir
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "Scripts Directory: " & scriptsRootDir
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "Scripts Directory: " & scriptsDVMRootDir
    End If 
    Dim objShell, serverType, action, cmd_error
    Set objShell = WScript.createObject("wscript.shell")
    cmd_error = 0
    Dim  inIBMLF
    inIBMLF = False
    On Error Resume Next
    Dim lfMode : lfMode = objShell.RegRead(REG_LF_MODE)
    Select Case Err
    Case 0:
      writeToLog "Registry key RunningOnLFMode exist"
      if(lfMode) Then
       writeToLog "RunningOnLFMode is not 0, we are in LF mode"
       inIBMLF = True
      End If
    Case Else
      writeToLog "Registry key RunningOnLFMode does not exist"
    End Select
    On Error Goto 0
    '----- Check for errors in the command line -----
    If (WScript.Arguments.Length > 0) Then
     serverType = LCase(WScript.Arguments.Item(0))
     if(serverType = SERVER_TYPE_HQ or serverType = SERVER_TYPE_DVM or serverType = SERVER_TYPE_VMB or serverType = SERVER_TYPE_UCB or serverType = SERVER_TYPE_DVS) Then
      writeToLog "Server Type: " & serverType
     Else
      writeToLog "ERROR! Invalid server type: " & serverType
      cmd_error = 1 
     End If
    Else
     writeToLog "ERROR! Syntax error, check the command line."
     cmd_error = 1
    End If
    If (cmd_error = 1) Then
     WScript.Echo "Usage Error: shoreware_backup.wsf [" &_
           SERVER_TYPE_HQ & "," &_
           SERVER_TYPE_DVM & "," &_
           SERVER_TYPE_VMB & "," &_
           SERVER_TYPE_UCB & "," &_
           SERVER_TYPE_DVS & "] [" &_
           OPTION_ALL & " | " &_
           OPTION_DB & " | " &_
           OPTION_VM & " | " &_
           OPTION_LOG & "]"
     WScript.Quit -1
    End If
    '----- Verify this server is the server the user is expecting -----
    If ((serverType = SERVER_TYPE_HQ) and isRemoteServer) Then
     WScript.Echo TEXT_ERROR_NOT_HQ
     WScript.Quit -1
    ElseIf ((serverType = SERVER_TYPE_DVM) and Not isRemoteServer) Then
     WScript.Echo TEXT_ERROR_NOT_DVM'
     WScript.Quit -1
    Else
    End If
    '----- Parse the command line -----
    Dim index, doConfig, doVM, doCDR, doLogs
    index = 0
    doConfig = False
    doVM = False
    doCDR = False
    doLogs = False
    For Each action in WScript.Arguments
     If (index = 0) Then
      'Do nothing, this is the server type
     Else
      select case LCase(action)
       case OPTION_ALL
        doConfig = True
        doVM = True
        doCDR = True
        doLogs = True
       case OPTION_CONFIG
        doConfig = True
       case OPTION_VM
        doVM = True
       case OPTION_CDR
        doCDR = True
       case OPTION_LOG
        doLogs = True
       case OPTION_DB
        doConfig = True
        doCDR = True
       case ARG_SWITCH_VERBOSE
        VERBOSE_MODE = True
       case Else
        writeToLog "ERROR! Invalid option: " & action
        WScript.Echo "Warning: Unrecognized type " & action
      end select
     End If
     index = index + 1
    Next
    Dim dataRootDir : dataRootDir = objShell.RegRead(REG_SWDATA_DIR)
    writeToLog "SW Data Directory: " & dataRootDir
    '----- Stop services and perform backup -----
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupRootDir
     writeToLog "---> stopping hq services"
     stopHQ scriptsRootDir
     writeToLog "---> backing up hq data"
     backUpHQ dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupRootDir
     writeToLog "---> stopping dvm services"
     stopDVM scriptsDVMRootDir
     writeToLog "---> backing up dvm data"
     backUpDVM dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
    ElseIf(serverType = SERVER_TYPE_VMB) Then
     Dim vmbIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupVMBRootDir
     For Each vmbIp In VMB_LIST
      writeToLog "---> stopping vmb (" & vmbIp & ") services"
      stopVMB vmbIp
      writeToLog "---> backing up vmb data"
      backupVMB backupDrive, backupVMBRootDir, vmbIp
     Next
    ElseIf(serverType = SERVER_TYPE_UCB) Then
     Dim ucbIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupUCBRootDir
     For Each ucbIp In UCB_LIST
      writeToLog "---> stopping ucb (" & ucbIp & ") services"
      stopUCB ucbIp
      writeToLog "---> backing up ucb data"
      backupUCB backupDrive, backupUCBRootDir, ucbIp
     Next
    ElseIf(serverType = SERVER_TYPE_DVS) Then
     Dim dvsIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupDVSRootDir
     For Each dvsIp In DVS_LIST
    '  writeToLog "---> stopping dvs (" & dvsIp & ") services"
    '  stopDVS dvsIp
      writeToLog "---> backing up dvs data"
      backupDVS backupDrive, backupDVSRootDir, dvsIp
     Next
    End If
    '----- Save off current version of shoreware -----
    setDataVersion backupDrive, backupRootDir, serverType
    '----- Backup complete, so re-start services -----
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "---> starting hq services"
     startHQ scriptsRootDir
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "---> starting dvm services"
     startDVM scriptsDVMRootDir
    ElseIf(serverType = SERVER_TYPE_VMB) Then
     For Each vmbIp In VMB_LIST
      writeToLog "---> starting vmb (" & vmbIp & ") services"
      startVMB vmbIp
     Next
    ElseIf(serverType = SERVER_TYPE_UCB) Then
     For Each ucbIp In UCB_LIST
      writeToLog "---> starting ucb (" & ucbIp & ") services"
      startUCB ucbIp
     Next
    'ElseIf(serverType = SERVER_TYPE_DVS) Then
    ' For Each dvsIp In DVS_LIST
    '  writeToLog "---> starting dvs (" & dvsIp & ") services"
    '  startDVS dvsIp
    ' Next
    End If
    writeToLog "********** Completed Shoreware Backup Process **********"
    If(Not inIBMLF) Then
     WScript.Echo TEXT_BACKUP_COMPLETE
    End If
    '----- Script Done -----
    ' SubProcedure to backup the data on the HQ server
    ' Backs up the following:
    ' 1. \Inetpub\mailroot
    ' 2. \Inetpub\ftproot
    ' 3. \Windows\my.ini
    ' 4. \Shoreline Data\MessageFiles
    ' 5. \Shoreline Data\Prompts
    ' 6. \Shoreline Data\Scripts
    ' 7. \Shoreline Data\SoftSwitch
    ' 8. \Shoreline Data\Templates
    ' 9. (optional) \Shoreline Data\Database
    ' 10. (optional) \Shoreline Data\Vms
    ' 11. (optional) \Shoreline Data\Call Records 2
    ' 12. (optional) \Shoreline Data\Logs
    ' Input
    '  rootDir - (String) path of root directory containing Shoreline Data
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  doConfig - (Boolean) if to backup "\Database"
    '  doVM - (Boolean) if to backup "\Vms"
    '  doCDR - (Boolean) if to backup "\Call Records 2"
    '  doLogs - (Boolean) if to backup "\Logs"
    sub backUpHQ (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
     'WScript.Echo "Backing up HQ..."
     'back-up mailroot
     folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
     ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
     writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
     'lngPos = Instr(ftpRootDirAsInRegistry, ",")
     'ftpRootDir = Left(ftpRootDirAsInRegistry, lngPos-1)
     ftpRootDir = ftpRootDirAsInRegistry
     lngPos1 = Instr(ftpRootDir, ":")
     ftpdirlength  =Len(ftpRootDir)
     ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
     backupDirWithSlash = backupDir & "\"
     'back-up ftproot
     'folderCopy WINDOWS_DRIVE & FTPROOT_ROOT_DIR, backupDrive, backupDir & FTPROOT_ROOT_DIR, True
     'back-up ftproot directory
     folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
     writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
     'back-up mysql configuration
     fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLCDR\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLCDR\MySQL Server\", True
     fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLConfig\MySQL Server\", True
     'back-up HQ data 
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(rootDir) Then
      Dim objFolder, objSubfolders, doCopy
      Set objFolder = objFSO.GetFolder(rootDir)
      Set objSubfolders = objFolder.SubFolders
      For Each objFolder in objSubfolders
       doCopy = False
       select case objFolder.Name
        case FOLDER_NAME_CONFIG
         if(doConfig) Then
          doCopy = True
         End If
        case FOLDER_NAME_VM
         if(doVM) Then
          doCopy = True
         End If
        case FOLDER_NAME_CDR
         if(doCDR) Then
          doCopy = True
         End If
        case FOLDER_NAME_LOGS
         if(doLogs) Then
          doCopy = True
         End If
        case Else
         doCopy = True
       end select
       if(doCopy) Then
        folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
       End If
      Next
     End If
    end sub
    ' SubProcedure to backup the data on the DVM server
    ' Backs up the following:
    ' 1. \Inetpub\mailroot
    ' 2. \Inetpub\ftproot
    ' 3. \Windows\my.ini
    ' 4. \Shoreline Data\MessageFiles
    ' 5. \Shoreline Data\Prompts
    ' 6. \Shoreline Data\Scripts
    ' 7. \Shoreline Data\SoftSwitch
    ' 8. \Shoreline Data\Templates
    ' 9. (optional) \Shoreline Data\Database
    ' 10. (optional) \Shoreline Data\Vms
    ' 11. (optional) \Shoreline Data\Call Records 2
    ' 12. (optional) \Shoreline Data\Logs
    ' Input
    '  rootDir - (String) path of root directory containing Shoreline Data
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  doConfig - (Boolean) if to backup "\Database"
    '  doVM - (Boolean) if to backup "\Vms"
    '  doCDR - (Boolean) if to backup "\Call Records 2"
    '  doLogs - (Boolean) if to backup "\Logs"
    sub backUpDVM (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
     'WScript.Echo "Backing up DVM..."
     'back-up mailroot
     folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
     ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
     writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
     ftpRootDir = ftpRootDirAsInRegistry
     lngPos1 = Instr(ftpRootDir, ":")
     ftpdirlength  =Len(ftpRootDir)
     ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
     backupDirWithSlash = backupDir & "\"
     'back-up ftproot directory
     folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
     writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
     'back-up mysql configuration
     fileCopy SHOREWARE_DRIVE & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\", True
     'back-up DVM data 
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(rootDir) Then
      Dim objFolder, objSubfolders, doCopy
      Set objFolder = objFSO.GetFolder(rootDir)
      Set objSubfolders = objFolder.SubFolders
      For Each objFolder in objSubfolders
       doCopy = False
       select case objFolder.Name
        case FOLDER_NAME_CONFIG
         if(doConfig) Then
          doCopy = True
         End If
        case FOLDER_NAME_VM
         if(doVM) Then
          doCopy = True
         End If
        case FOLDER_NAME_CDR
         if(doCDR) Then
          doCopy = True
         End If
        case FOLDER_NAME_LOGS
         if(doLogs) Then
          doCopy = True
         End If
        case Else
         doCopy = True
       end select
       if(doCopy) Then
        folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
       End If
      Next
     End If
    end sub
    ' SubProcedure to backup the data on the VMB switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  vmbIP - (String) ip address of vmb switch
    sub backupVMB(backupDrive, backupDir, vmbIP)
     Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_VMB_DIR & "_" & vmbIP
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
     tarCF = """" & PLINK_CMD & """"  & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP &_
        " ""tar -czf " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & " " & VMB_CF_SHORELINEDATA_DIR & """"
     copyCF = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE &_
        " """ & backUpPath & """"
     copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_SHORE_CFG_FOLDER & VMB_SHORE_CFG_FILE &_
        " """ & backUpPath & """"
     copyCfgDat = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_CGF_DAT_FOLDER & VMB_CGF_DAT_FILE &_
        " """ & backUpPath & """"
     cleanUp = """" & PLINK_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP &_
        " ""rm -f " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & """"
     runCmd tarCF
     runCmd copyCF
     runCmd copyShorCFG
     runCmd copyCfgDat
     runCmd cleanUp
    end sub
    ' SubProcedure to backup the data on the UCB switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  ucbIP - (String) ip address of ucb switch
    sub backupUCB(backupDrive, backupDir, ucbIP)
     Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_UCB_DIR & "_" & ucbIP
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
     tarCF = """" & PLINK_CMD & """"  & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP &_
        " ""tar -czf " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & " " & UCB_CF_SHORELINEDATA_DIR & """"
     copyCF = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE &_
        " """ & backUpPath & """"
     copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_SHORE_CFG_FOLDER & UCB_SHORE_CFG_FILE &_
        " """ & backUpPath & """"
     copyCfgDat = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_CGF_DAT_FOLDER & UCB_CGF_DAT_FILE &_
        " """ & backUpPath & """"
     cleanUp = """" & PLINK_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP &_
        " ""rm -f " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & """"
     runCmd tarCF
     runCmd copyCF
     runCmd copyShorCFG
     runCmd copyCfgDat
     runCmd cleanUp
    end sub
    ' SubProcedure to backup the data on the DVS switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  dvsIP - (String) ip address of dvs switch
    sub backupDVS(backupDrive, backupDir, dvsIP)
    ' Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_DVS_DIR & "_" & dvsIP
     Dim backupcascmd
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
    ' tarCF = """" & PLINK_CMD & """"  & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP &_
    '    " ""tar -czf " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & " " & DVS_CF_SHORELINEDATA_DIR & """"
    ' copyCF = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE &_
    '    " """ & backUpPath & """"
    ' copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_SHORE_CFG_FOLDER & DVS_SHORE_CFG_FILE &_
    '    " """ & backUpPath & """"
    ' copyCfgDat = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_CGF_DAT_FOLDER & DVS_CGF_DAT_FILE &_
    '    " """ & backUpPath & """"
    ' cleanUp = """" & PLINK_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP &_
    '    " ""rm -f " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & """"
    ' backupcascmd = "rdiff-backup.exe -v7  --force --no-eas --remote-schema "plink -pw ShoreTel  %%s rdiff-backup --server" 
    [email protected]::/rdiff/back1  c:\mywindowsdata > c:\out.txt 2>&1"
     backupcascmd = "rdiff-backup.exe -v7  --force --no-eas --remote-schema " &_
        """" & PLINK_CMD & " -pw " & DVS_PASSWD & " %%s rdiff-backup --server" & """" &_
        DVS_USER & "@" & dvsIP & "::" & DVS_CF_DIR & " " & """" & backUpPath & """"
     runCmd backupcascmd
    ' runCmd tarCF
    ' runCmd copyCF
    ' runCmd copyShorCFG
    ' runCmd copyCfgDat
    ' runCmd cleanUp
    end sub
    ' SubProcedure to rotate the backup folder.  It will archive the
    '  current backup folder based on the BACKUP_ARCHIVE_SIZE value.
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    sub rotateBackupFolder (backupDrive, backupDir)
     Dim objFSO, objFolder, newBackupFolderName
     Dim backupFolder : backupFolder = backupDrive & backupDir
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     For i=BACKUP_ARCHIVE_SIZE to 0 Step -1
      If(i = 0) Then
       newBackupFolderName = backupFolder
      Else
       newBackupFolderName = backupFolder & i
      End If
      If objFSO.FolderExists(newBackupFolderName) Then
       Set objFolder = objFSO.GetFolder(newBackupFolderName)
       If(i = BACKUP_ARCHIVE_SIZE) Then
        objFolder.Delete True
       Else
        newBackupFolderName = backupFolder & i+1
        objFolder.Move newBackupFolderName
       End If
      End If
     Next
    end sub
    ' SubProcedure to perform a folder copy.  Utilizes the Windows xcopy
    '  command.  The xcopy switches used:
    '    /E Copies directories and subdirectories, including empty ones.
    '    /I If destination does not exist and copying more than one file,
    '       assumes that destination must be a directory.
    '    /K Copies attributes. Normal Xcopy will reset read-only
    '       attributes.
    '    /C Continues copying even if errors occur.
    '    /Y Suppresses prompting to confirm you want to overwrite an
    '       existing destination file.
    ' Input
    '  src - (String) path of source folder
    '  dstDrive - (String) disk drive of destination
    '  dstFolder - (String) path of destination
    '  force - (Boolean) if false, will prompt before overwriting
    '          existing files
    sub folderCopy (src, dstDrive, dstFolder, force)
     Dim objFSO
     Dim dst : dst = dstDrive & dstFolder
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(src) Then
      Dim objFolder, objDrive
      'Check for available disk space first
      Set objFolder = objFSO.GetFolder(src)
      Set objDrive = objFSO.GetDrive(dstDrive)
      If isThereAvailableSpace(objDrive, objFolder.Size) Then
       Dim command : command = "xcopy """ & src & """ """ & dst & """ /E /I /K /C"
       If (force) Then
        command = command & " /Y"
       End If
       runCmd command
      Else
       writeToLog "ERROR! Insufficient Disk Space to copy folder: " & src
       WScript.Echo "Error! Insufficient Disk Space!"
      End If
     Else
      writeToLog "ERROR! Folder not found: " & src
      WScript.Echo "ERROR: Folder doesn't exist (" & src & ")"
     End If
    end sub
    ' SubProcedure to perform a file copy. Utilizes the Windows xcopy
    '  command. The xcopy switches used:
    '    /I If destination does not exist and copying more than one file,
    '       assumes that destination must be a directory.
    '    /K Copies attributes.
    '    /C Continues copying even if errors occur.
    '    /Y Suppresses prompting to confirm you want to overwrite an
    '       existing destination file.
    ' Input
    '  src - (String) path of source file
    '  dstDrive - (String) disk drive of destination
    '  dstFile - (String) path of destination
    '  force - (Boolean) if false, will prompt before overwriting
    '          existing files
    sub fileCopy (src, dstDrive, dstFile, force)
     Dim objFSO
     Dim dst : dst = dstDrive & dstFile
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FileExists(src) Then
      Dim objFile, objDrive
      'Check for available disk space first
      Set objFile = objFSO.GetFile(src)
      Set objDrive = objFSO.GetDrive(dstDrive)
      If isThereAvailableSpace(objDrive, objFile.Size) Then
       Dim command : command = "xcopy """ & src & """ """ & dst & """ /I /K /C"
       If (force) Then
        command = command & " /Y"
       End If
       runCmd command
      Else
       writeToLog "ERROR! Insufficient Disk Space to copy file: " & src
       WScript.Echo "Error! Insufficient Disk Space!"
      End If
     Else
      writeToLog "ERROR! File not found: " & src
      WScript.Echo "ERROR: File doesn't exist (" & src & ")"
     End If
    end sub
    ' Function to check if there's sufficient disk space for the
    ' requested size
    ' Input
    '  objDrive - (Object) the disk drive to check for space
    '  spaceNeeded - (Integer) number of bytes being requested
    ' Return
    '  (Boolean) if the requested space is available
    function isThereAvailableSpace(objDrive, spaceNeeded)
     If (objDrive.AvailableSpace > spaceNeeded) Then
      isThereAvailableSpace = True
     Else
      isThereAvailableSpace = False
     End If
    end function
    ' SubProcedure to write current version of Shoreware to a file
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    sub setDataVersion (backupDrive, backupDir, serverType)
     Dim version
     Dim fileName : fileName = backupDrive & backupDir & "\" & SW_VERSION_FILE
     If(serverType = SERVER_TYPE_HQ) Then
      version = objShell.RegRead(REG_HQ_VERSION)
     ElseIf(serverType = SERVER_TYPE_DVM) Then
      version = objShell.RegRead(REG_DVM_VERSION)
     ElseIf(serverType = SERVER_TYPE_VMB) Then
      'For now, VMB doesn't do any version checking
      Exit sub
     ElseIf(serverType = SERVER_TYPE_UCB) Then
      'For now, UCB doesn't do any version checking
      Exit sub
     ElseIf(serverType = SERVER_TYPE_DVS) Then
      'For now, DVS doesn't do any version checking
      Exit sub
     End If
     writeToLog "SW Data Version: " & version
     writeToFile fileName, 2, version
    end sub
     </script>
    </job>
    Jared

  • ORA-20100 The system cannot find the file specified 0RA-06512

    I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
    ORA-20100: The system cannot find the file specified.
    ORA-06512: at "SYS.DBMS_CLR", line 211
    ORA-06512: at "PROD.GETSEGADDRNO", line 7
    ORA-06512: at line 1
    It is basically the same C# code as the OTN sample except for accessing a table in my database.
    I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
    This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
    (I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
    This is the code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Data;
    // use the ODP.NET provider
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace CLRLibrary1
    // Sample .NET stored function returning address number (ADDR_NO) for
    // a given segment number (SEG_NO)
    public class Class1
    public static int GetSegAddrNo(int segno)
    int addrno = 0;
    // Check for context connection
    OracleConnection conn = new OracleConnection();
    if (OracleConnection.IsAvailable == true)
    conn.ConnectionString = "context connection=true";
    else
    throw new InvalidOperationException("context connection" +
    "not available");
    conn.Open();
    // Create and execute a command
    OracleCommand cmd = conn.CreateCommand();
    cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
    cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
    System.Data.ParameterDirection.Input);
    OracleDataReader rdr = cmd.ExecuteReader();
    if (rdr.Read())
    addrno = rdr.GetInt32(0);
    rdr.Close();
    cmd.Dispose();
    conn.Close();
    return addrno;
    } // GetSegAddrNo
    } // Class1
    } // CLRLibrary1
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    was installed from the Oracle downloads site: 10201_database_win32.zip
    On Windows Server 2003 R2 Standard Edition SP2
    Oracle .NET tools was installed using: ODTwithODAC1020221.exe
    The CLR Service is running
    Deployment says that it is successfull.
    The DLL is in the expected Oraclehome\BIN\CLR folder
    The deployment script is:
    CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
    GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
    CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
    a000000
    1f
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    8
    147 138
    ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
    8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
    kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
    sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
    q4wshbsYLTTPHX3F6pA=
    The parameter mapping is:
    return value int32 number
    segno int32 number
    Bob Sorrell
    [email protected]
    863-662-5524

    These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
    Aliases: Global
    Copy Local: False
    Description: Oracle.DataAccess.dll
    File Type: Assembly
    Identity: Oracle.DataAccess
    Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
    Resolved: True
    Runtime Version: v2.0.50727
    Specific Version: False
    Strong Name: True
    Version: 2.102.2.20
    This is what GacUtil shows:
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
    Number of items = 2
    The GAC seems to contain both 2.102.2.20 and 1.102.2.20
    Do I need to remove one?

  • TFS 2013 Update 4:Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Issue: We have upgraded TFS 2013 App Server and Build Servers  from TFS 2013 RTM to TFS 2013 update 4. Everything looks good but we are receiving the below error:
    Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Kindly share your thoughts/inputs to resolve the issue

    Hi John,
    Hope there is nothing wrong with the update.
    Yesterday, Our developers were troubleshooting the issue with the builds and found that
    Build Activities dll has the reference of LibGit2Sharp.dll
    version 01.12.0.3051.0.  After TFS upgrade, Build activities does not have a reference for the new version of
    LibGit2Sharp.dll [required] which has caused the issue in the build process.
    Error: Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Resolution: New version of LibGit2Sharp.dll
    was added and referenced to Microsoft.TeamFoundation.Build.Activities.dll
    which has resolved the issue with the builds.
    I think this should be referenced somewhere regarding TFS Update 4 so that everyone will be able to spot the issue and fix the issue without any issues.

  • How to skip footer record in SQL*Loader input file

    I have am using SQL*Loader in a batch import process.
    The input files to SQL*Loader have a header record and footer record - always the 1st and last records in the file.
    I need SQL*Loader to ignore these two records in every file when performing the import. I can easily ignore the header by using the SKIP function.
    Does anybody know how to ignore the last record (footer) in an input file??
    I do not want to physically pre-strip the footer since the business want all data files to have the header and footer records.

    Thanks - how do I use the when clause to specify the last line of the input file?
    I am presuming it requires me to have a unique identifier at a given position on that last line. If I don't have such an identifier can I still use your solution?
    Cheers Why not putting an idetifier at the end of your input file: echo "This_is_the_End" >> input_file ?

  • How do i use an input file with Asian characters(Unicode)?

    /* Ardor
    * Illiteraminator.java
    * Version beta 1.0
    * December 7, 2007
    * Main interfacing class
    import java.io.*;
    import java.util.*;
    public class Illiteraminator{
      public static void main (String [] args){
      //  ArrayList<Word> dictionary = new ArrayList<Word>();
        String fileName = "Mandrin.txt";
        String character= "",definition = "",inputLine;
        try{
          Scanner fileScan = new Scanner (new File (fileName));
          while (fileScan.hasNext()){
            inputLine = fileScan.nextLine();
            Scanner sc = new Scanner(inputLine);
            character = sc.next();
            while (sc.hasNext()){
              definition = definition + " " + sc.next();
            }//end while sc
           // dictionary.add(new Word(character, definition));
            //definition = "";
            //character = "";
          }//end while fileScan
        } catch (FileNotFoundException e){
          System.out.println("File not found, dig around for Mandrin.txt");
          System.exit(1);
        }//end catch
        System.out.println(character);
        System.out.println(definition);
      }//end main
    }//end class IlliteraminatorHi, i'm a first time programmer. Never touched programming until i took a Java class in university last semester. I am currently attempting to write a program to help me move away from my illiteracy in Mandrin. So, that's my code, and i am using Dr.Java while writing it. When i tested it out the output looked something like this v
    A p p l e
    M o n k e y C a t D o n k e y
    My input file is saved in Unicode. It contains letters that cannot be saved in ANSI. I tried UTF-8, but the interactions section showed no output...
    Is this just a problem with Dr.Java? Will i encounter a similar problem when i turn this into a GUI?
    The following is a copy and pasted version of the txt file i used as input. It is saved in the Unicode format.
    &#30340;[de] <grammatical particle marking genitive as well as simple and composed adjectives>; &#25105;* w&#466;de my; &#39640;* g&#257;ode high, tall; &#26159;* sh�de that's it, that's right; &#26159;...* sh�...de one who...; &#20182;&#26159;&#35828;&#27721;&#35821;*. T&#257; sh� shu&#333; H�ny&#468;de. He is one who speaks Chinese. [d�] &#30446;* m�d� goal [d�] true, real; *&#30830; d�qu� certainly
    &#19968;(A&#22777;)     [y&#299;] one, a little; &#31532;* d�-y&#299; first, primary; &#30475;*&#30475; k�ny&#299;k�n have a (quick) look at [y�] (used before tone #4); *&#20010;&#20154; y� g� r�n one person; *&#23450; y�d�ng certain; *&#26679; y�y�ng same; *&#26376;y�yu� January [y�] (used before tones #2 and #3); *&#28857;&#20799; y�di&#462;nr a little; *&#20123; y�xi&#275; some {Compare with &#24186;(F&#20040;) y&#257;o, which also means "one"}
    &#26159;     [sh�] to be, *&#19981;*? sh�bush�? is (it) or is (it) not?; *&#21542; sh�f&#466;u whether or not, is (it) or is (it) not?

    Sorry, but i do not understand this post at all... Can anyone explain it to me? Is he saying my IDE is running on something other than Unicode?
    PS: I tried one of the Scanner constructors that takes a charset parameter. That fixed the odd output! However, every Chinese character has been replaced with a question mark. (It was a series of weird characters before i used the constructor with a charset parameter.)

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Error message on my development workstation: The system cannot find the file specified.

    Post Author: cseverin
    CA Forum: Crystal Reports
    Hi,
    I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database.  I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue.  The problem seems to be with Crystal Reports. 
    I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it.  I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them.  All worked fine. 
    To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report.  After doing this, the preview no longer worked.
    Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it.  In the code behind the page I wrote:
    Option Strict On
    Imports System.Data
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Class Reports
         Inherits System.Web.UI.Page
         Private objOpenFilesreport As OpenFilesReport
         Private rptOpenFiles As ReportDocument
         Private strLastErrorMessage As String = Nothing
         Private errLastException As Exception = Nothing
         Dim strFileKey As String
         Dim strJurisdictionCode As String
         Dim strStaffId As String
         Dim strReportId As String
         Private Sub ConfigureCrystalReports()
              Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
              Dim rptopenfiles As New ReportDocument
              rptOpenFiles.Load(reportPath)  <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports     folder of my project
              Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
              ConnectionInfo.DatabaseName = my database
              ConnectionInfo.UserID = login id of user
              ConnectionInfo.Password = user's password
              SetDBLogonForReport(ConnectionInfo, rptopenfiles)
              CrystalReportViewer1.ReportSource = rptopenfiles
         End Sub
         Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
             ConfigureCrystalReports()
         End Sub
         Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
              Dim myTables As Tables = myReportDocument.Database.Tables
              For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                   Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                   myTableLogonInfo.ConnectionInfo = ConnectionInfo
                   myTable.ApplyLogOnInfo(myTableLogonInfo)
              Next
         End Sub
    End Class
    I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it.  When I run the website in Visual Studio and click on the hyperlink I get the following:
    Server Error in '/MyTest' Application.
    The system cannot find the file specified.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
    &#91;COMException (0x80004005): The system cannot find the file specified.
    &#93;
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
    &#91;Exception: Load report failed.&#93;
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
       CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
       CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
       CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
       CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
       CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
       System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 
    Any ideas, anyone?
    Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file.  I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries.  But how do I call these functions at the time the report is run?
    This is my first Crystal report written in .NET and I've been struggling with it for days now.  Any help would be most appreciated!
    Thanks very much!
    Chris Severin

    hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.

Maybe you are looking for