Jump to content
Ketarin forum

NAS target location


Martin Zugec
 Share

Recommended Posts

Hello,

 

I've just decided that I want to keep all my installation on my local NAS device.

 

Originally, I used {Source} variable that was pointing to local HDD - all I did was just to change value of this variable to network location.

 

After the change, I tried to run update all and everything worked as expected (perfect). Unfortunately, there are some checks when Ketarin is starting, so now I cannot run it anymore:

 

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NotSupportedException: The given path's format is not supported.

at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)

at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)

at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)

at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)

at System.IO.Path.GetFullPath(String path)

at Ketarin.ApplicationJob.get_CurrentLocation()

at Ketarin.MainForm.<.ctor>b__3(Object x)

at CDBurnerXP.Controls.OLVColumn.GetImage(Object rowObject)

at CDBurnerXP.Controls.ObjectListView.FillInValues(OLVListItem lvi, Object rowObject)

at CDBurnerXP.Controls.ObjectListView.BuildList(Boolean shouldPreserveState)

at CDBurnerXP.Controls.ObjectListView.SetObjects(IEnumerable collection)

at Ketarin.ApplicationJobsListView.SetObjects(IEnumerable collection)

at Ketarin.MainForm.UpdateList()

at Ketarin.MainForm.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.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)

 

Martin

Link to comment
Share on other sites

Don't think so... The problem he describes is related to security from network share, while mine is caused by usage of CanonicalizePath...

 

This function is (IMHO) not used when you run Ketarin in silent mode though...

 

UPDATE: Just found it - this is the error message you get when you don't have permissions (expired), not very descriptive though...

 

Martin

Link to comment
Share on other sites

  • 2 weeks later...

Ok, need to re-open this thread... I am still having this issue, even thought network share is available.

 

I've tried to define {Sources} using netbios (\\NAS1\Default\Software), using FQDN (\\nas1.vrsek.lan\Default\Software) and using mapped drive (H:\Software), unfortunately I still get the same error when Ketarin is starting...

 

Any idea?

 

Thanks,

Martin

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.