Write Document failure to different Drive

Version 1
    This document was generated from CDN thread

    Created by: Carl Fitzsimmons on 03-11-2009 02:29:34 PM
    I have IPCC Express 3.5.2 and I am attempting to write a document to a different drive without success. Prior to this attempt I have successfully been saving this same document on the IPCC Express server in a known folder under wfavvid.
     
    The drive is mounted as drive G:. I have checked drive permissions and I have read/write etc. I can move files manually from the original folder location to the new drive/folder location. Here is the sequence I am using.
    Set File_path_external = File_path_external  + Recording_filename + ".wav"
    Perform recording save document in varRecording (varRecording is type document)
    Write document varRecoding to File_path_external  (this is where the failure occurs)
     
    I have also tried to create the document after recording with no success either. Prior to trying to write to this other drive/folder I performed a "Create File Doc" step with no problems. Here is an excerpt of the trace file with the create and wrtie steps.

    6760: Oct 19 09:38:10.867 EDT %MIVR-APP_MGR-7-EXECUTING_STEP:Executing a step: Application=App[name=iSecure,type=Cisco Script Application,id=9,desc=iSecure,enabled=true,max=6,valid=true,optional=[cfgVars=[Lcom.cisco.wfapi.util.WFNameValuePair;@3aa5a6,script=record_phone_isecure.aef,last.modified=1255950901531]],Task id=102,000,000,031,Step id=1,617,Step Class=com.cisco.wf.steps.io.CreateFileDocStep,Step Description=Create File Document
    6761: Oct 19 09:38:10.867 EDT %MIVR-DOCUMENT_STEPS-7-UNK:Create File Document(G:TEST RECORDING.wav) Task: 102000000031
    6762: Oct 19 09:38:24.961 EDT %MIVR-APP_MGR-7-EXECUTING_STEP:Executing a step: Application=App[name=iSecure,type=Cisco Script Application,id=9,desc=iSecure,enabled=true,max=6,valid=true,optional=[cfgVars=[Lcom.cisco.wfapi.util.WFNameValuePair;@3aa5a6,script=record_phone_isecure.aef,last.modified=1255950901531]],Task id=102,000,000,031,Step id=1,621,Step Class=com.cisco.wf.steps.io.WriteDocStep,Step Description=Write Document (Filename = File_path_external )
    6763: Oct 19 09:38:24.961 EDT %MIVR-DOCUMENT_STEPS-7-UNK:Write Document(File_path_external ) Task: 102000000031
    6764: Oct 19 09:38:29.133 EDT %MIVR-DOCUMENT_STEPS-7-UNK: Task: 102000000031 Exception from writing document: G:TEST RECORDING.wav (Logon failure: unknown user name or bad password)
    6765: Oct 19 09:38:29.133 EDT %MIVR-APP_MGR-7-STEP_FAILURE:Failure to execute a step: Application=App[name=iSecure,type=Cisco Script Application,id=9,desc=iSecure,enabled=true,max=6,valid=true,optional=[cfgVars=[Lcom.cisco.wfapi.util.WFNameValuePair;@3aa5a6,script=record_phone_isecure.aef,last.modified=1255950901531]],Task id=102,000,000,031,Step id=1,621,Step Class=com.cisco.wf.steps.io.WriteDocStep,Step Description=Write Document (Filename = File_path_external ),Exception=com.cisco.doc.DocumentNotFoundException: Task: 102000000031 Exception from writing document.; nested exception is:
    java.io.FileNotFoundException: G:TEST RECORDING.wav (Logon failure: unknown user name or bad password)
     

    According to the trace file I created a document on the "g:" drive "root" directory successfully but fail to write because of a bad username/password. This makes no sense since I am mapped and logged in. I have tried several combos to get this to save to the external mapped drive without success.
     
    Any suggestions??
     
    Thanks
     
    Carl

    Subject: RE: Write Document failure to different Drive
    Replied by: David Lender on 03-11-2009 06:38:49 PM
    Carl this forum is for posts related to using the UCCX CTI message protocol.