ورود

View Full Version : سوال: خطا هنگام اضافه کردن کنترل StiReport



moferferi
چهارشنبه 02 بهمن 1392, 14:16 عصر
سلام
من یه ورژن از گزارش ساز استیم را نصب کردم. ک ر ک ش را هم کپی کردم.اما موقعی که میخوان کنترل stiReport
به صفحه اضافه کنم خطای
---------------------------
Microsoft Visual Studio
---------------------------
Failed to create component 'StiReport'. The error message follows:

'System.InvalidCastException: [A]Stimulsoft.Report.StiReport cannot be cast to [B]Stimulsoft.Report.StiReport. Type A originates from 'Stimulsoft.Report, Version=2012.2.1304.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' in the context 'LoadNeither' at location 'C:\Users\Programer\AppData\Local\Microsoft\Visual Studio\10.0\ProjectAssemblies\z7crek8g01\Stimulsof t.Report.dll'. Type B originates from 'Stimulsoft.Report, Version=2012.2.1304.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2012.1 Trial\Bin\Stimulsoft.Report.dll'.

at Stimulsoft.Report.Design.StiReportDesigner.Initial ize(IComponent component)

at System.ComponentModel.Design.DesignerHost.AddToCon tainerPostProcess(IComponent component, String name, IContainer containerToAddTo)

at System.ComponentModel.Design.DesignerHost.PerformA dd(IComponent component, String name)

at System.ComponentModel.Design.DesignerHost.System.C omponentModel.Desi...'
---------------------------
OK
---------------------------

میده.
البته تو محیط web applicationمشکلی نداره.فقط توی windows application مشکل داره

systam
پنج شنبه 07 اسفند 1393, 21:37 عصر
سلام
منم همین مشکلو دارم دوستان راهنمایی کنند

systam
پنج شنبه 07 اسفند 1393, 23:03 عصر
سلام
من ورزن 2014 رو دانلود کردم و ابتدا dll های مرود نظر به برنامه اضافه کردم
درست شد