PDA

View Full Version : سوال: مشکل اساسی با نمایش داده ها در کریستال ریپورت بعد از نصب نرم افزار روی سیستم کاربر



reza4359
دوشنبه 30 دی 1392, 13:23 عصر
سلام دوستان من تمام کارها رو انجام دادم
از جمله نصب .net framwork 4 نصب کریستال ربپورت، نصب runtime cristal report و بقیه موارد بانکمم میشناسه و بخوبی کار میکنه ولی موقع لود شدن صفحه گزارش این پیامو میده
{"Could not load file or assembly 'crdb_adoplus, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)":"crdb_adoplus, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"}
این فایلو crdb_adoplus هم دانلود کردن و در پوشه dotnet قرار دادم
اینم اخطارش
115654

mousa1992
دوشنبه 30 دی 1392, 13:42 عصر
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>


این تگ رو به فایل app.config اضافه که ، درون تگ <Configuration> باید اضافه بشه

reza4359
دوشنبه 30 دی 1392, 17:07 عصر
ممنون دوست عزیز ولی این تگ رو هم قبلا اضافه کردم
بیشتر کارها رو انجام دادم تو سایتهای خارجی هم خیلی سرچ کردم و لی نمیدونم چرا باز درست نمیشه
من برنامم رو روی یک شبکه اجرا میکنم و خوب کار میکنه با کانکشن ip و مشکلی نداره و لی با نمایش گزارشات مشکل داره
باید چکارکتم؟؟؟؟؟؟

shahriar_1363
یک شنبه 13 فروردین 1396, 10:01 صبح
با سلام خدمت دوستان

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

Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.

وقتی مسیر ارور فوق رو بررسی کردم دیدم فولدر dotnet1 در سیستم من بصورت dotnet نوشته شده که اسم فولدر رو به dotnet1 تغییر دادم که با ارور زیر میده

Could not load file or assembly 'crdb_adoplus, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

البته کدی muosa1992 گفته در قسمت app.config اضافه کنیم انجام دادم که 4 تا مسیج زیر رو برام میده

Message 1 Could not find schema information for the attribute 'useLegacyV2RuntimeActivationPolicy'.

Message 2 Could not find schema information for the element 'supportedRuntime'.

Message 3 Could not find schema information for the attribute 'version'.

Message 4 Could not find schema information for the attribute 'sku'.


من پس از جستجوی فراوان تو اینترنت دیدم نتونستم راه حلی پیدا کنم کدهای متفاوتی رو امتحان کردم باید بگم که از visual studio 2010 استفاده می کنم تو زیر نمونه کدی که برای لود کردن تو crystalReportViewer1 نوشتم

ReportDocument rcoc = new ReportDocument();
DataSet1 ds1 = new DataSet1();
rcoc.Load(@"c:\users\tabatabae\documents\visual studio 2010\Projects\crystal3\crystal3\CrystalReport1.rpt");
rcoc.SetDataSource(ds1);
crystalReportViewer1.ReportSource = rcoc;
لطفا در این مورد راهنماییم کنین که نیاز شدید به این پروژه دارم
باتشکر

shahriar_1363
دوشنبه 14 فروردین 1396, 15:39 عصر
تو لینک زیر توضیحاتی برای رفع پیامها داده
http://stackoverflow.com/questions/5303476/how-to-fix-error-could-not-find-schema-information-for-the-attribute-element
کسی می تونه بهم بگه چی کار باید بکنم
نمی تونم متن های زیر بفهمم


In Visual Studio, open your app.config or web.config file.
Go to the "XML" menu and select "Create Schema". This action should create a new file called "app.xsd" or "web.xsd".
Save that file to your disk.
Go back to your app.config or web.config and in the edit window, right click and select properties. From there, make sure the xsd you just generated is referenced in the Schemas property. If it's not there then add it.

leily2
دوشنبه 14 اسفند 1396, 22:52 عصر
سلام
من مشکلی مشابه دارم
نرم افزار و گزارشم رو سیستم سرور درست کار می کنه، ولی رو سیستم کلاینت گزارشم باز نمی شه
۱۰ روزه سوال پرسیدم اینجا هیچ کسی نیست جواب بده