Visio Drawing Control Exception


M

Manish

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.AddProjectDependencie­s(Project

project)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Ass­embly()

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.AggregateTypeResolution­Service.GetType(String

name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolution­Service.GetType(String

name, Boolean throwOnError)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.GetType(IT­ypeResolutionService

trs, String name, Dictionary`2 names)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.FillStatem­entTable(IDesignerSerializationManager

manager, IDictionary table, Dictionary`2 names, CodeStatementCollection

statements, String className)
at
System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserializ­e(IDesignerSerializationManager

manager, CodeTypeDeclaration declaration)
at
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoa­d(IDesignerSerializationManager

manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader­.PerformLoad(IDesignerSerializationManager

serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader­.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBuff­erDataEvents.OnLoadCompleted(Int32

fReload)
***************************************************************************­************************
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top