Errors loading forms in designer

  • Thread starter Thread starter MuZZy
  • Start date Start date
M

MuZZy

Hi,

Since i converted the project from VS 2003 to VS 2005 i am having all
sorts of problems with form designer, main is that most of my forms
don't open showing an error "The path is not of a legal form. ". When i
try to open a form for the second time it sometimes opens, but sometimes
i have to keep trying and getting this error and it opens eventually. In
some other cases i get an error that for reader failed to read the form
and then i have top restart VS IDE and try again.

Is is just me or other people also have this sort of problem and is
there a remedy? It's really annoying and i waist a lot of time because
of that so if someone could suggest a solution i would highly appreciate it!

Thank you,
MuZZy
 
Load up the object into a notepad and compare it with new 2005 form..then
correct path
 
Load up the object into a notepad and compare it with new 2005 form..then
correct path

Could you please explain what do you mean by that? Load the object into
notepad?

Also, what path are we talking about?

Thank you,
MuZZy
 
Your project file and all of your forms are nothing but text files. If VS
is having problems loading files, then load your designer form as a text
file and look at it in notepad and see if you can't fix problem.
 
Jared said:
Your project file and all of your forms are nothing but text files. If VS
is having problems loading files, then load your designer form as a text
file and look at it in notepad and see if you can't fix problem.

Ok, i got it. But see, if i try to open the form again after i get this
error, in most cases it opens fine, so i assume it's not a problem in
paths, but some other issue...
 
Hi MuZZy,

Thanks for your post!

Can you provide the detailed call stack information regarding this error? I
have seen some errors which are caused by improperly modification of
microsoft.*.targets files, please refer to the link below:
"Bug Details: Unable to read the project file '....' the path is not of a
legal form"
http://lab.msdn.microsoft.com/ProductFeedback/ViewFeedback.aspx?FeedbackID=b
ffaae02-9aac-44d2-b5b7-99ded1761ed7

The link below contains several workarounds in the "Workarounds" section,
you may give it a try:
"Bug Details: "The path is not of a legal form." "
http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=3
d84fe85-d2c1-43b0-9724-6fd641506456

Hope it helps

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top