When application call loadfromdir in windows vista home premium it is giving error as following
Could not find file '\\QS-ASRV\Digi\allscan\416 FOR8 05302011 —ererer —1—-1.jpg'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at DTI.ImageMan.Winforms.ThumbNailViewer.DrawThumb(ThumbNail Thumb, Int32 xPos, Int32 yPos, Graphics surface)
at DTI.ImageMan.Winforms.ThumbNailViewer.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is this a network path or a local path ?
Make sure the user has read permissions for this directory.
For some reason we are getting an exception from the .Net FileInfo class that we use to get details about the file. It would seem that either the path is invalid or its a permissions issue.
that is network path and that has full permission as Everyone has full control over the shared directory.
that is not the permission issue.
Can you guide me in other way, why we are facing this problem.
Can you confirm that a file by that name exists at that path ?
Does your application work if you load a local directory ?
This question is closed to new answers.