30 March 2021, 10:16
Helaas krijg ik het programma ook niet meer goed werkend. Hij deed het altijd zonder problemen, maar als ik nu op Start downloaden klik, klapt het programma er meteen uit. Wat doe ik verkeerd/wat moet ik aanpassen om het wel goed te laten werken?
Code:
Unhandled Exception:
System.ArgumentException: UNC paths should be of the form \\server\share.
at System.IO.Path.InsecureGetFullPath (System.String path) [0x0008a] in <36514b14425c4337b446653c547aa9c3>:0
at System.IO.Path.GetFullPath (System.String path) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomainSetup.GetAppBase (System.String appBase) [0x00038] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomainSetup.get_ApplicationBase () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomain.get_BaseDirectory () [0x00006] in <36514b14425c4337b446653c547aa9c3>:0
at (wrapper remoting-invoke-with-check) System.AppDomain.get_BaseDirectory()
at GemistDownloader.FFmpegDownloader.StartFFmpegDownload (System.String inputUrl, GemistDownloader.DownloadDetails itemDetails, System.String outputFile, System.String outputUrl, GemistDownloader.GDWindow form) [0x0025d] in <98c6b5f16cdc4f7681070a5068e69648>:0
at GemistDownloader.FFmpegDownloader.Start () [0x000cc] in <98c6b5f16cdc4f7681070a5068e69648>:0
at MainWindow.DownloadButtonClick (System.Object sender, System.EventArgs e) [0x003c1] in <98c6b5f16cdc4f7681070a5068e69648>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: UNC paths should be of the form \\server\share.
at System.IO.Path.InsecureGetFullPath (System.String path) [0x0008a] in <36514b14425c4337b446653c547aa9c3>:0
at System.IO.Path.GetFullPath (System.String path) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomainSetup.GetAppBase (System.String appBase) [0x00038] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomainSetup.get_ApplicationBase () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.AppDomain.get_BaseDirectory () [0x00006] in <36514b14425c4337b446653c547aa9c3>:0
at (wrapper remoting-invoke-with-check) System.AppDomain.get_BaseDirectory()
at GemistDownloader.FFmpegDownloader.StartFFmpegDownload (System.String inputUrl, GemistDownloader.DownloadDetails itemDetails, System.String outputFile, System.String outputUrl, GemistDownloader.GDWindow form) [0x0025d] in <98c6b5f16cdc4f7681070a5068e69648>:0
at GemistDownloader.FFmpegDownloader.Start () [0x000cc] in <98c6b5f16cdc4f7681070a5068e69648>:0
at MainWindow.DownloadButtonClick (System.Object sender, System.EventArgs e) [0x003c1] in <98c6b5f16cdc4f7681070a5068e69648>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <36514b14425c4337b446653c547aa9c3>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Proces voltooid]