PDA

View Full Version : سوال: مشکل در ریپورت



aghaghia1384
چهارشنبه 12 مرداد 1390, 23:06 عصر
سلام من ویزوال2010 نصب کردم و یه برنامه wpfنوشتم وقتی کریستال ریپورت رو اد میکنم چند تا اذوذ میده ازجمله

رفرنس هایی که نیاز داره رو اد کردم البته خودش اد بود دوباره اد کردم اما باز هم درست نشد تو ویندوزفرم درست کار میکنه اما اینجا نه..
هل من ناصرینصرنی
پیشاپیش از جوابتون ممنون

Amir Oveisi
پنج شنبه 13 مرداد 1390, 14:26 عصر
متن خطا رو قرار بدید

aghaghia1384
جمعه 14 مرداد 1390, 16:55 عصر
Error 2 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 14 11 amozeshkade

Error 3 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 15 11 amozeshkade

Error 4 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 16 11 amozeshkade

Error 5 The type or namespace name 'ReportClass' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 19 39 amozeshkade

Error 6 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 53 16 amozeshkade

Error 7 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 61 16 amozeshkade

Error 8 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 69 16 amozeshkade

Error 9 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 77 16 amozeshkade
Error 10 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 85 16 amozeshkade
Error 11 The type or namespace name 'ICachedReport' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 93 56 amozeshkade
Error 12 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 131 24 amozeshkade
Error 13 The type or namespace name 'RequestContext' could not be found (are you missing a using directive or an assembly reference?) D:\C#\amozeshkade\amozeshkade\CrystalReport_amar.c s 137 53 amozeshkade

aghaghia1384
جمعه 14 مرداد 1390, 16:58 عصر
تو ویندوزاپلیکیشن هیچ مشکلی ندارم.. یعنی طبیعتا نباید مشکلش از کریستال ریپورت باشه
شرمنه متن ارور رو یادم رفته بود کپی کنم تو سوالم:خجالت::اشتباه:

Amir Oveisi
جمعه 14 مرداد 1390, 18:46 عصر
شما رفرنس های مورد نیاز برای crystal report رو به رفرنس های پروژه اضافه کردید آیا؟

sunn789
شنبه 15 مرداد 1390, 00:10 صبح
خوب یه لطف بفرمایید از قسمت Properties پروژه تون و prerequerment باید از .et کامل استفاده نمایید نه از client version
حل میشه

aghaghia1384
شنبه 15 مرداد 1390, 14:49 عصر
شما رفرنس های مورد نیاز برای crystal report رو به رفرنس های پروژه اضافه کردید آیا؟
آره اینها رو اد کردم
CrystalDecisions.Shared;
CrystalDecisions.ReportSource;
CrystalDecisions.CrystalReports.Engine;
البته خودش اد کرده بود

sunn789
شنبه 15 مرداد 1390, 15:14 عصر
اونچه که خدمتتون عرض کردم من هم مشکل شما رو داشتم با این روش که گفتم حل شد

aghaghia1384
شنبه 15 مرداد 1390, 15:14 عصر
خوب یه لطف بفرمایید از قسمت Properties پروژه تون و prerequerment باید از .et کامل استفاده نمایید نه از client version
حل میشه

ممنونم از جوابتون
میشه مسیرش رو دقیق تر بگین
prerequerment رو فقط توی قسمت publish پیدا کردم که اونجا هم .et نداشت

sunn789
شنبه 15 مرداد 1390, 15:22 عصر
روی پروژه راست کلیک کنید و سپس propertice و در قسمت Application شما باید target Framework رو از .net frame work 4 client profile به .net framework 4 تغییر دهید