Network Share log error states it 'Could not find a part of the path' to the staging folder
search cancel

Network Share log error states it 'Could not find a part of the path' to the staging folder

book

Article ID: 48773

calendar_today

Updated On:

Products

CA Application Delivery Analysis MTP (NetQoS / ADA) CA Infrastructure Performance

Issue/Introduction

Description:

ISSUE

There is currently no 15 min data being processed in RA.

The NetworkSharePumpLog shows this error:

NetworkSharePump: System.IO.DirectoryNotFoundException:

 Could not find a part of the path 'D:\CANETQOS\reporter\datashare\staging'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean 
includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
   at System.IO.Directory.GetDirectories(String path)
  at
NetQoS.ReporterAnalyzer.NetworkSharePump.NetworkSharePump.InitializeCsvFiles() in
d:\Builds\RA\Current\REPORTER\NetQoS.ReporterAnalyzer.NetworkSharePump\NetworkSharePump.cs:line 402
   at
NetQoS.ReporterAnalyzer.NetworkSharePump.NetworkSharePump.Initialize()
in
d:\Builds\RA\Current\REPORTER\NetQoS.ReporterAnalyzer.NetworkSharePump\NetworkSharePump.cs:line 282
  at
NetQoS.ReporterAnalyzer.NetworkSharePump.NetworkSharePump.NetworkSharePumpWorkThread() in
d:\Builds\RA\Current\REPORTER\NetQoS.ReporterAnalyzer.NetworkSharePump\NetworkSharePump.cs:line 306
9:12:30 -1 - NetworkSharePump: Exiting...

Solution:

DETAILS

This error is caused by installing product under a sub folder such as D:\CA\NetQoS instead of using default path D:\NetQoS.

The drive letter can be different, but not having the \NetQoS folder at the root of the drive is the problem.

The path gets set incorrectly in the file WindowsDSAUpdateSettings.sql (default path is D:\NETQOS\reporter\sql on the DSA/standalone).

Example of incorrect path in that file:
update settings set value = 'D:\\CA\NETQOS\\reporter\\datashare\\staging' where name = 'localPath'

Environment

Release:
Component: NQRPTA