Visio unhandled Exception(may be GUI Related)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi,
I am using visio drawing control on my C# form. For some days, it
worked fine but suddenly one day, it started showing the below given
exception. However the same application run on another PC absolutely
fine. Can it be Visio licensing related exception..
please help me if you have any idea about it..
*********************************************************************************************************
One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

The path is not of a legal form.
Hide

at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project
project)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly()
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String
fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly,
String description)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName
assemblyName, String typeName, Boolean ignoreTypeCase, Assembly&
assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String
typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType
refType)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String
name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String
name, Boolean throwOnError)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.GetType(ITypeResolutionService
trs, String name, Dictionary`2 names)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.FillStatementTable(IDesignerSerializationManager
manager, IDictionary table, Dictionary`2 names, CodeStatementCollection
statements, String className)
at
System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager
manager, CodeTypeDeclaration declaration)
at
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32
fReload)
***************************************************************************************************

.



Relevant Pages

  • Re: Visio Shape Background color using C#
    ... I am using visio drawing control on my C# form. ... at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) ... fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, ... String description) ...
    (microsoft.public.visio.developer)
  • Visio Drawing Control Exception
    ... I am using visio drawing control on my C# form. ... at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) ... fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, ... String description) ...
    (microsoft.public.visio.troubleshoot)
  • Visio Drawing Control Exception
    ... I am using visio drawing control on my C# form. ... at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) ... fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, ... String description) ...
    (microsoft.public.visio.general)
  • Mysterious bug in VS2005 which occasionally causes crash
    ... Class FinalForm derives from Class BaseForm that derives ... fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, ... String description) ... assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& ...
    (microsoft.public.dotnet.general)
  • RE: My Error?
    ... at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) ... assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly) ... typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType) ...
    (microsoft.public.dotnet.framework.windowsforms)