By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,833 Members | 2,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,833 IT Pros & Developers. It's quick & easy.

"The path is not of a legal form" error - WinFoms designer

P: n/a
Hi

When attempting to view inherited forms in design mode I have been getting
the message "The path is not of a legal form" and am unable to view the
designer.

I can't seem to find any further information on this error - does anyone
know what the problem and resolution might be?

thanks

Richard

--
-----------
Please provide code examples in VB if possible...thanks!
-----------
Feb 24 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I also get the following error (all of which is very frustrating - I haven't
changed anything in the form design in ages and now I can't view it at all)

Unable to load one or more of the requested types. Retrieve the
LoaderExceptions property for more information.

at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at
Microsoft.VisualStudio.Shell.Design.AssemblyObsole teEventArgs..ctor(Assembly
assembly)
at
Microsoft.VisualStudio.Design.VSDynamicTypeService .ReloadAssemblyIfChanged(String codeBase)
at
Microsoft.VisualStudio.Design.VSDynamicTypeService .CreateDynamicAssembly(String codeBase)
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.AssemblyEntry.get_Assembly()
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.AssemblyEntry.Search(String
fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String
description)
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.SearchProjectEntries(AssemblyName
assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.GetType(String
typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String name)
at
System.ComponentModel.Design.DesignerHost.System.C omponentModel.Design.IDesignerHost.GetType(String typeName)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager manager)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32 fReload)
"Richard Bysouth" wrote:
Hi

When attempting to view inherited forms in design mode I have been getting
the message "The path is not of a legal form" and am unable to view the
designer.

I can't seem to find any further information on this error - does anyone
know what the problem and resolution might be?

thanks

Richard

--
-----------
Please provide code examples in VB if possible...thanks!
-----------

Feb 24 '06 #2

P: n/a
Hi sloth,

Thanks for your post.

It seems that this is a known issue of VS2005, which has been reported by
some other customer. Please refer to the bug link below:
"Bug Details: Unable to load one or more of the requested types. Retrieve
the LoaderExceptions property for more information. "
http://lab.msdn.microsoft.com/Produc...x?feedbackid=6
62d3446-b98a-4159-bb4f-d3403176b1ed

Based on the feedback in this bug link, our product team has fixed this
issue in the feature release. Thanks for your reporting.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Feb 24 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.