dotnet thoughts 

a dotnet developer's technical blog

The path is not of a legal form – error

If you are developing in Win Forms, and you are using some thirdparty controls like “Infragistics”, while taking the design some times you will get this error.
To resolve this issue

  1. Re-build the whole project, and try again.
  2. Check all the reference(s) are valid or not

Best of Luck :)