CompuMasterGmbH / cammIntegrationPortal

camm Integration Portal (based on camm Web-Manager)
MIT License
2 stars 1 forks source link

DownloadHandler error on creating file #38

Open jochenwezel opened 7 years ago

jochenwezel commented 7 years ago
System.Exception: Unexpected error while creating file system object
bei CompuMaster.camm.WebManager.Tools.IO.Junctions.Create(String ExistingFileSystemObject, String NewLinkingFileSystemObject, LinkTypeDirectives LinkType) in G:\svn_repository\compumaster_products\camm\Web-Manager\libraries\base\cammWM\CompuMaster.camm.WebManager.Tools.IO.Junctions.vb:Zeile 200.
bei CompuMaster.camm.WebManager.DownloadHandler.GetDataToRecordAndProcess(DownloadLocations downloadLocation, String pathInDownloadLocation, Boolean overwrite, Boolean zipFilesFirst, String zipArchiveName, Boolean enforceDownload) in G:\svn_repository\compumaster_products\camm\Web-Manager\libraries\base\cammWM\DownloadHandler.vb:Zeile 1505.

On 1st time creation (by CWX app), this exception is thrown, on 2nd CWX page access, the app (and/or CWM DH) can continue.

Probably a bug of CWM DH or from Win system/NTFS volume/...?

jochenwezel commented 7 years ago

Maybe related to above error:

System.Exception: Win32 Fehlermeldung: 'System.ComponentModel.Win32Exception (0x80004005): Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist'
Hardlink-Sourcefile: 'C:\inetdata\...file_transfer\abc_03_15 x3.pdf'
Hardlink-Targetfile: 'C:\inetpub\...\system\downloads\3Z_l2vCEttYKt4NrqaxQqQtt\cache\cwx\aS5qZs4w_WfwwCWUZYKSYQtt\abc_03_15 x3.pdf'
bei CompuMaster.camm.WebManager.Tools.IO.Junctions.Create(String ExistingFileSystemObject, String NewLinkingFileSystemObject, LinkTypeDirectives LinkType) in G:\svn_repository\compumaster_products\camm\Web-Manager\libraries\base\cammWM\CompuMaster.camm.WebManager.Tools.IO.Junctions.vb:Zeile 142.
bei CompuMaster.camm.WebManager.DownloadHandler.GetDataToRecordAndProcess(DownloadLocations downloadLocation, String pathInDownloadLocation, Boolean overwrite, Boolean zipFilesFirst, String zipArchiveName, Boolean enforceDownload) in G:\svn_repository\compumaster_products\camm\Web-Manager\libraries\base\cammWM\DownloadHandler.vb:Zeile 1505.