A .config file contains the following configuration :
<runtimedirs>
<add key="ProductData" value="..\_LocalCache\" />
<add key="LocalProductData" value="..\_LocalCache\" />
</runtimedirs>
When compiling in the API Designer the following error occurs:
2020-08-14 07:10:47.8604 ERROR (VI.FormBase.ExceptionMgr ) : Could not find a part of the path 'C:\SW\_LocalCache\ApiDesigner\_LocalCache\ApiDesigner\ApiResources\ApiResources_kxOj7xATVWanKAtBAJJ37G4tGg.zip'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\SW\_LocalCache\ApiDesigner\_LocalCache\ApiDesigner\ApiResources\ApiResources_kxOj7xATVWanKAtBAJJ37G4tGg.zip'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at VI.ApiDesigner.Zip.ZipFiles(IEnumerable`1 files, String fileName)
at VI.ApiDesigner.Zip.ZipFilesAndCompileAsResource(IConnection conn, IEnumerable`1 files)
at VI.ApiDesigner.CodeGen.ResourceBuilder.BuildResources(String baseDir, IConnection conn)
at VI.ApiDesigner.PlugIn.CompileHandler.<>c__DisplayClass24_0.<<CompileWithProgressDialog>b__0>d.MoveNext() at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at VI.ApiDesigner.Zip.ZipFiles(IEnumerable`1 files, String fileName)
at VI.ApiDesigner.Zip.ZipFilesAndCompileAsResource(IConnection conn, IEnumerable`1 files)
at VI.ApiDesigner.CodeGen.ResourceBuilder.BuildResources(String baseDir, IConnection conn)
at VI.ApiDesigner.PlugIn.CompileHandler.<>c__DisplayClass24_0.<<CompileWithProgressDialog>b__0>d.MoveNext()
Relative paths in this configuration should be interpreted as relative to the working directory, which obviously is not the case.
This is a product defect (33505).
WORKAROUND:
None
STATUS:
This will be fixed in a future release of the product. If you require this immediately corrected, please contact support for a hotfix referencing the defect ID 33505.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center