Failed to create component StiReport

Stimulsoft Reports.NET discussion
Post Reply
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Failed to create component StiReport

Post by stvhui »

Hello to you,
I'm using VB.NET 2010, sucessfully installing Stimulsoft Report 2017.2.2
I tried to create new "Windows form Application" then I drag StiReport control from toolbox. The error occured shown as below :
Failed to create component 'StiReport' . The error message follows: 'System.InvandCastException: [A]Stimulsoft.Report.StiReport cannot be cast to Stimulsoft.Report.StiReport. Type A originates from 'Stimulsoft.Report, Version=2017.2.2.0, Culture=neutral, Publid(eyToken=ebe6666cba19647a' in the context 'LoadNeither' at location 'C: \Users \Steven TASIAppDataocal \MicrosoftWisualStudio 10.01ProjectAssembhes \ocsn6pue011,Stimulsoft.Report.d11'. Type B originates from 'Stimulsoft.Report, Version=2017.2.2.0, Culture=neutral, Publid<eyToken=ebe6666cba19647a' in the context 'LoadFrom' at location 'C. \Program Files (x86) \Stimulsoft Reports 2017.2.2 \LibsINet \Stimulsoft.Report.d111. at Stimulsoft.Report.Design.StiReportDesigner.Initialize(IComponent component) in D:\Stimulsoft \Stimulsoft.Reports \Stimulsoft.Design \StiReportDesig ner.cs:line 340 at System.ComponentModel.Design.DesignerHost.AddToContainerPo stProcess(IComponent component, String name, IContainer containerToAddio) at System.ComponentModel.Design.DesignerHost.PerformAdd(ICom ponent component, String name)

I also tried to a newer version as version 2018 or 2019 but the error also same.
Please help and guide me.

Thanks & Regards
Steven
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Failed to create component StiReport

Post by HighAley »

Hello.

There are different assemblies loaded in memory from different places.
https://stackoverflow.com/questions/299 ... he-context
https://social.msdn.microsoft.com/Forum ... arpgeneral

Thank you.
Post Reply