Drive Mapper DirectoryNotFoundException

  • 1
  • Problem
  • Updated 7 months ago
Drive Mapper (version 3.11.103.1) is now crashing immediately on start-up with the following.

Application: ShareFileDriveMapper.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.IO.DirectoryNotFoundException

   at System.IO.__Error.WinIOError(Int32, System.String)

   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)

   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare)

   at System.IO.FileInfo.Open(System.IO.FileMode, System.IO.FileAccess)

   at ShareFileDriveMapper.Services.SettingsProvider.Save()

   at ShareFileDriveMapper.Settings.SettingsModel.CheckEncryptionForSettingsCanaryValue()

   at ShareFileDriveMapper.DriveMapperApplication.InitalizeSettings()

   at ShareFileDriveMapper.DriveMapperApplication.Init()

   at ShareFileDriveMapper.SingleInstanceProgram.OnStartup(Microsoft.VisualBasic.ApplicationServices.StartupEventArgs)

   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])

   at ShareFileDriveMapper.SingleInstanceProgram.Main(System.String[])
Photo of Andrew Rodko

Andrew Rodko

  • 1 Post
  • 0 Reply Likes

Posted 7 months ago

  • 1
Photo of Prabhat Tyagi

Prabhat Tyagi, Engineering

  • 144 Posts
  • 4 Reply Likes
Hi Andrew,

Its difficult to say the root cause of the exception. This could happen if there are permission issues accessing any file path that Drive Mapper uses for read/writing config or temporary caches. 

I would recommend creating a support ticket and submitting the logs. 

Cheers
Prabhat Tyagi
(Edited)