تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
عندى مشكله مع Crystal Reports
#1
Sad 
عندى مشكله مع Crystal Reports عند عرض التقرير على جهاز اخر )virtual machine( بتطلع هذه الرساله

failed to load database information
error in file temp_c33dbaf5-87c2-4105-b065-2a3738f9804a
1488_436_
EC95dB2B-F521-41DC-9980-02FFCFAB71D8}.rpt}


مع العلم انى قمت بتثبيت CRforVS_redist_install_32bit_13_0_20 
وال .netframe work على الجهاز 
ونظام التشغيل windows xp 32  sp3

اما على جهازى windows 10 64 
برنامج visual studio 2015 
ومثبت   CRforVS_13_0_21  64bit 
الاتصال sql server

وده الكود الى بيظهر التقرير 

كود :
 Try
            'Cursor = Cursors.WaitCursor
            Timer1.Enabled = True
            con = New SqlConnection(cs)
            con.Open()

            cmd = New SqlCommand("SELECT PID, RTrim(ProductName) , Photo from Product,Product_Join where Product.PID=Product_Join.ProductID and Product.PID=" & txtID.Text & "", con)

            adp = New SqlDataAdapter(cmd)
            dtable = New DataTable()
            adp.Fill(dtable)
            con.Close()
            ds = New DataSet()
            ds.Tables.Add(dtable)
            ds.WriteXmlSchema("Debtors.xml")
            Dim rpt As New rptDebtors
            rpt.SetDataSource(ds)
            'rpt.SetParameterValue("pid", txtID.Text)
            frmReport.CrystalReportViewer1.ReportSource = rpt
            frmReport.ShowDialog()
            ' frmReport.CrystalReportViewer1.Refresh()
        Catch ex As Exception
            MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
        End Try

وشكرا
الرد }}}
تم الشكر بواسطة:
#2
ممكن وينذوز XP لاتدعم أصدارات الفيجوال 2015
نزل أقل حاجة وينذوز 7
الرد }}}
تم الشكر بواسطة:
#3
شكرا ليكم انا غيرت التقرير ل report viewer واشتغل تمام
الرد }}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم