this is the error that appears once i try to drag a crystal report viewer to a form in visual studio
当我尝试在Visual Studio中以表单形式添加Crystal Report Viewer时遇到错误,我在桌面应用程序中使用Visual Basic。 它只是一直在图片中向我显示这些消息。 有人可以帮助我解决这个问题吗?
这是下面的消息:
Failed to create component 'CrystalReportViewer'. The error message follows:
'System.Runtime .lnteropServices.COMException {Ox8004D745):
A reference to the component
'CrystalDecisions.Windows.Form s' already exists in the project. at VSLangProj.References .Add{String bstrPath)
at
Microsoft.Visu alStud io.Design.VSTypeReso lutionService.Perfor mReferenceUpd ate{list'l newReferences)
at
Microsoft.Visu alStud io.Design.VSTypeReso lutionService.Syste m.ComponentModel.Design.ITypeReso lutionService.Reference Assembly(AssemblyName name)
at
Microsoft.Visu alStud io.Design.Serialization.CodeDom .Aggreg ateTypeResolutionService.Reference Assembly(AssemblyName
name)
at
System.Drawing.Design.Toolboxltem .GetType{IDesignerHost host,AssemblyName assemblyName, String typeName,
Boolean reference)
at
System.Drawing.Design.Toolboxltem .CreateComponentsCore {I DesignerHost host)
at
System.Drawing.Design.Toolboxltem .CreateComponentsCore {I DesignerHost host, !Dictionary defaultValues)
at
System.Drawing.Design.Toolboxltem .CreateComponents {IDesi gnerHost host, !Dictionary defaultValues)
at Sy...'