I have a form with an UltraToolBarsManager on it. I usually open the code first, and then the designer. Sometimes the designer does not open, and I get the error "The path is not of a legal form."
This is getting worse and worse. It takes up to 2 and a half minutes to open the form, and then I have to open it a second time so I spend five minutes just opening a designer.
I have searched and searched on the web and the only suggestion I have found is to check for any bad references in the project, or if the references are all OK, to check for any path strings that are longer than 260 characters. Neither of these issues are present in my application.
If anyone has any other suggestions, please let me know, it would save a lot of time and frustration. This happens now on many different forms, including those without a ToolBarsManager, but just various Infragistics controls.
Greg
It's another Microdaft undocumented feature to keep your day exciting.
Here's what you do:
Hope this helps!
:)
Shaul
Thanks.
I tried this, and it does fix it momentarily, but if you close VS and open again, the same issue comes back.
The fastest workaround that I have found so far is open the code first, then select view designer in the context menu. It will error out. Close the designer and select view designer a second time, and it will then open properly.
I had the same problem. My designer recovered on its own the next morning, but then after working on the program for few more days, the designer crashed with the same error "The path is not of a legal form". However, the above comment was very helpful. I realized that if you right click on the userpanel in the solution explorer and select view designer. It works!!!
Thanks Greg!