Kbase P98504: Error 2914 and 6402 with WebSpeed when trying create a pdf file and mail it
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/06/2010 |
|
Status: Verified
SYMPTOM(s):
Error 2914 and 6402 with WebSpeed when trying create a pdf file and mail it
The WebSpeed application does a transaction and brings the e-mail application with the attached pdf file
The pdf file is not being found and the following error appears in the server log file:
** "<Path to the file>\xxxxxx.pdf" was not found. (293)
Put/Get functions not allowed on uninitialized memory. (2914)
The WebSpeed agent losses the connection with the database and the following error appears in the server log file:
WTA: WebSendMessage() Could not connect to WTB: npp_connect() failed with error: -28. (6402)
WTA: Failed to notify broker of state information! (6400)
For the subsequent connection, the WebSpeed broker spawns a new agent
The network drive is in the WebSpeed agent's propath
Uses OS-COPY function to copy the file from temp folder to the network dirve using mapped network drive
When checked the network folder for the pdf file, it was not found
Uses a Novel server to map the drive in windows 2000 machine
The network drive is given privileges to read write to everyone
FACT(s) (Environment):
WebSpeed 2.x
WebSpeed 3.x
OpenEdge 10.x
CAUSE:
The exact cause is unknown at the time of writing. The OS-COPY function does not have any switch for the error handing such as NO-ERROR. Therefore when agent tries to copy the file and is unsuccessful, it hangs.
FIX:
Use UNC (Universal Naming Convention or Uniform Naming Convention) with OS-COPY function to copy the file to the network drive.