Click here to Skip to main content
15,038,848 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i have VS 2010, without Crystal report, i have downloaded the SAP version of Crystal report and installed on my PC, but i could not find it on my project, how can i solve this problem??
Posted
Comments
CHill60 6-Apr-15 13:35pm
   
Are you saying that when you attempt to "Add New Item" Crystal Reports is not appearing in the list of options?
MeftahDAKHEEL 6-Apr-15 20:51pm
   
NO, i meant that the same error as when it was without SAP crystal insstalled
CHill60 7-Apr-15 3:06am
   
You made no mention of any errors in your question - you said "I could not find it on my project". I notice you've told Maciej Los that it "show errors on name spaces"
You have to tell us what those errors are if you expect help. We can't see your screen, examine your HDD nor read your mind
MeftahDAKHEEL 7-Apr-15 15:15pm
   
Error 1 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 9 7 Graduation System
MeftahDAKHEEL 7-Apr-15 15:17pm
   
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Shared;
using CrystalDecisions.Windows.Forms;


when i use those classes i face the errors as following:

Error 2 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 10 7 Graduation System
CHill60 7-Apr-15 18:08pm
   
Did you add Crystal Reports as a reference in your project??
MeftahDAKHEEL 7-Apr-15 18:17pm
   
How can i add it? please let me know
MeftahDAKHEEL 7-Apr-15 19:40pm
   
I have added all of them, after i searched on Google, but i still have the same problem

1 solution

   
Comments
MeftahDAKHEEL 6-Apr-15 21:21pm
   
i could not use CrystalReportViewer, always errorrs, i use also using CrystalDecisions.CrystalReports.Engine;
& using CrystalDecisions.Shared; ... but show errors on name spaces
MeftahDAKHEEL 7-Apr-15 15:43pm
   
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Shared;
using CrystalDecisions.Windows.Forms;

when i use those classes i face errors as following:

Error 2 The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?) D:\Graduation System\Graduation System\Form1.cs 10 7 Graduation System
MeftahDAKHEEL 7-Apr-15 21:55pm
   
i have solved it myself, thanks a lot to every body

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900