بتاريخ: 12 مارس 20179 سنة comment_284130 السلام عليكم ،، قمت بعمل تقرير في jaspersoft Studio عبارة عن main report و subreports ويعمل بشكل صحيح في جهازي .. ولكن عند نقله للسيرفر لا تظهر أيا من subreports فقد التقرير الرئيسي يظهر بشكل صحيح رغم وجودهم في نفس الملف ... وقمت بتجربت نقله لجهاز أخر وأيضا لا تعمل فقط في جهازي يعمل التقرير بشكل صحيح... تم تعديل 12 مارس 20179 سنة بواسطة AlQutaiti تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة comment_284132 Check SUBREPORT_DIR to be located in your server or make it variable تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة كاتب الموضوع comment_284133 Check SUBREPORT_DIR to be located in your server or make it variable can you explain more , please. تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة comment_284135 Open master report jrxml file and find this parameter change red underlined to real path of subreport in the server and save ..compile *note : there is other ways تم تعديل 12 مارس 20179 سنة بواسطة Darwiesh.fci تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة كاتب الموضوع comment_284137 Open master report jrxml file and find this parameter change red underlined to real path of subreport in the server and save ..compile *note : there is other ways <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["//reports//Inspection//Statement_Report_files//"]]></defaultValueExpression> </parameter> IT's correct .AND I try to change (//) with (\\) but nothings change. تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة comment_284139 Open master report jrxml file and find this parameter change red underlined to real path of subreport in the server and save ..compile *note : there is other ways <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["//reports//Inspection//Statement_Report_files//"]]></defaultValueExpression> </parameter> IT's correct .AND I try to change (//) with (\\) but nothings change. make it real path like "c:\\app\\report\\INV\\" ... not relative path like " \\report\\INV"" OK ******* IN SERVER MACHINE تقديم بلاغ
بتاريخ: 12 مارس 20179 سنة كاتب الموضوع comment_284143 Finally, the report works fine. The issue not in the subreport_dir it was in the property of the frame which contain the fields I try to put all the fields without frame then it works fine . Thank you تقديم بلاغ
بتاريخ: 13 مارس 20179 سنة كاتب الموضوع comment_284202 تأكد من صحة المسار المسار صحيح ،، ولكن المشكلة سببها وجود الحقول في frame عندما قمت بإزالة الـframe ظهرت بشكل صحيح.. شكرا لك.. تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.