Error: Illegal characters in path.

jjazdk

Member
Thread Starter
Joined
Aug 17, 2018
Messages
95
I get this error message every time I try to save my filters.
I have changed the file name numerous times to contain neither spaces nor paranteses, but just letters, number and underscores. I have also tried to only save the filter for one sample frequency.

But the error persists..

Any ideas for where I should look for the issue?


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path)
at Juice.Correction.dGIrC8YRwbwFAF3NAcn(Object )
at Juice.Correction.j4MD93FqG4(String , Double[] , Boolean , Boolean )
at Juice.Correction.RunCorrection(SpeakerSetup CSS, MeasurementClass MsmInput, TargetFamily TargetInput, FilterProcedureClass _currentFilter, Double[] FSArrayInput, String CorrNameInput, TVecList Input, TVecList Output, TVecList SmoothedFrequencyAnalysis, CorrectionEnum CorEnum, RiaaCorrEnum CurrentRiaaPreference)
at Juice.formMain.lWqpTqqZHa8dK0SaRGx(Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , CorrectionEnum CorEnum, RiaaCorrEnum CurrentRiaaPreference)
at Juice.formMain.vfhXxXQWKp(FilterProcedureClass )
at Juice.formMain.RBVXMk6pFr(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Audiolense
Assembly Version: 6.16.7711.20044
Win32 Version: 6.16.7711.20044
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%206.16/Audiolense%206.16.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4320.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4330.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
f026575d-fc4a-4fbb-a1e2-8887b864febd
Assembly Version: 1.0.0.0
Win32 Version: 6.16.7711.20044
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%206.16/Audiolense%206.16.exe
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Audiolense_conv
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%20convolver/x64/audiolense_conv.dll
----------------------------------------
7de25d38-cec5-4862-ad62-58b4804b3f87
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%20convolver/x64/audiolense_conv.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Attachments

  • 2021-02-18_illegal_characters_in_path.jpg
    2021-02-18_illegal_characters_in_path.jpg
    176.1 KB · Views: 13

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
700
This is a completely new one for me. Do you get this message even if you call it something as simple as "correction1"?
 

jjazdk

Member
Thread Starter
Joined
Aug 17, 2018
Messages
95
Yep, it fails no matter what name I use for the correction.
I can mail you my measurement, if that helps?
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
700
I don't think it helps here.

It has happened that windows defender have prevented write access to the My Documents region. As far as I remember, it produced a different error than this. But it may be worthwhile checking out: Controlled folder access under Ransomware protection
 

jjazdk

Member
Thread Starter
Joined
Aug 17, 2018
Messages
95
Controlled folder access is turned off.

Saving to the Desktop results in the same error.
 

jjazdk

Member
Thread Starter
Joined
Aug 17, 2018
Messages
95
I just tried with AL 6.15, and it saves the generated filters without any errors?!?
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
700
That was good news.

I have been switching between two different versions of Visual Studio lately. The two may have been compiled with slightly different libraries. It shouldn't make a difference here, but they may be using slightly different versions of the distros that are located on your pc. Something may be wrong or missing in your operative system.

But these strange mishaps can disappear in a windows upgrade or two.

Unless you are planning to run drivers without a crossover in parallel with other drivers with crossovers, you should be good with 6.15
 

jjazdk

Member
Thread Starter
Joined
Aug 17, 2018
Messages
95
I don't think I will run drivers without a crossover in parallel with other drivers with crossovers.. Right I don't see any reason why one would do that? But, perhaps I misunderstand..

Regarding the computer. It is my HTPC with not a lot of software on it, so I wonder what could be wrong. It is a little annoying not to be able to use the latest AL version, even if 6.15 should be fine for my use :cool:
 
Top Bottom