SAP Knowledge Base Article - Preview

3744996 - Windows Task Scheduler “run whether user is logged on or not” causes VBS repository script to hang - SAP PD

Symptom

  • A task initiated by Windows Task Scheduler launches PowerDesigner to run a VBS script but the process becomes unresponsive and the script never completes.
  • The PowerDesigner process is visible in Task Manager, but no further actions occur.
  • The issue occurs only when the task is set to “Run whether user is logged on or not”.
  • The task works when run manually or when set to “Run only when user is logged on”.
  • Scheduler history shows return code 2147942401 (0x80070001) “Incorrect function”.
  • Debug logs show “ERROR: Connection failed” when opening the repository connection via script under the non-interactive task.


Read more...

Environment

SAP PowerDesigner (PD) 16.7

Product

SAP PowerDesigner 16.7

Keywords

powerdesigner, windows task scheduler, vbs, odbc, connection, unresponsive, responding, hang, freezes , KBA , BC-SYB-PD , PowerDesigner , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.