how to enable crystal report viewer in Visual Studio 2010
-
jueves, 28 de octubre de 2010 23:23
I had installed Crystal Report for Visual Studio 2010, and I can create a report but I can´t attach it to a Window Form because in my toolbox I can´t find CrystalReportViewer tool. How can I put this tool in the toolbox?
Thanks,
flaquitqm
Todas las respuestas
-
lunes, 01 de noviembre de 2010 9:17Moderador
Hello flaquitqm,
Thanks for your post.
Crystal Reports has been a component of Visual Studio since its first release in 2002. In VS2008 or previous editions, you could add it to toolbox successfully. In VS2010, We could not use it from toolbox. Crystal Reports no longer be included in Visual Studio 2010. Instead, it is be provided by SAP. AFAIK, SAP still has no production release of CR for VS 2010,your only option is to download and install their beta.
http://blogs.msdn.com/b/vbteam/archive/2010/04/08/crystal-reports-for-visual-studio-2010.aspx
(Crystal Reports for Visual Studio 2010)In addition, if you still have any problems about Crystal Reports, you could ask questions here:
http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/threads/
(Crystal Reports for Visual Studio)Best regards,
Liliane
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. Thanks- Marcado como respuesta Liliane TengModerator jueves, 04 de noviembre de 2010 9:01
-
jueves, 04 de noviembre de 2010 9:04Moderador
Hello flaquitqm,
What about your problem? When you come back, if you think it provides no help, please unmark and follow up. Thanks.
Best regards,
Liliane
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. Thanks -
miércoles, 24 de noviembre de 2010 0:50
It seems like all threads say the same thing which never answers the actual question.
Workin it out baby -
jueves, 25 de noviembre de 2010 2:36
I think I found a solution. It worked for me at least.
The CrystalReport Viewer control is a .Net assembly. By default, when you create a new .net 4 Windows Form application, it uses the .net 4 Client Profile framework, not the standard .net 4 framework. After I converted my project (Properties-> Compile -> Advanced Compile Options - Target Framework) to the standard framework, the Crystal Report Viewer control became available under the Reports section.
I have yet to research what the differences are between the two types of frameworks, or why we need them...
- Editado YTN jueves, 25 de noviembre de 2010 2:37 Fixing typos...
- Marcado como respuesta Liliane TengModerator jueves, 09 de diciembre de 2010 1:37
-
sábado, 27 de noviembre de 2010 1:09I see thank you
Workin it out baby -
miércoles, 08 de diciembre de 2010 22:25
Thank you very much YTM, It worked really charming for me. I can see the icon in the Reporting Toolbox area now.
Verney
-
martes, 11 de enero de 2011 19:05
I had installed Crystal Report for Visual Studio 2010, and I can create a report but I can´t attach it to a Window Form because in my toolbox I can´t find CrystalReportViewer tool. How can I put this tool in the toolbox?
Thanks,
flaquitqm
-
martes, 15 de febrero de 2011 6:37thanks YTN ( i was searching it for many days)
-
lunes, 13 de junio de 2011 12:44Thanks ytn your suggestion is very beneficial for me. it really worked. thank again.
-
jueves, 16 de junio de 2011 9:26Thanks. It really worked for me!
-
domingo, 13 de noviembre de 2011 23:02Thanks it worked!!!
-
lunes, 21 de noviembre de 2011 5:52Thanks! Thanks it also worked for me!!
-
lunes, 12 de diciembre de 2011 21:30
I had installed Crystal Report for Visual Studio 2010, and I can create a report but I can´t attach it to a Window Form because in my toolbox I can´t find CrystalReportViewer tool. How can I put this tool in the toolbox?
Thanks,
flaquitqm
I am also having the problem that once I have gotten the CrystalReportViewer tool to show up and put it on a form, I am getting a System.IO.FileNotFoundException.
It says "Could not load file or assembly 'file:///C:\Program Files\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.
Source=mscorlib
FileName = file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
FusionLog==== Pre-bind state information ===
LOG: User = AmbersHackBox\Atsuko
LOG: Where-ref bind. Location = C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
LOG: Appbase = file:///C:/Users/Atsuko/Documents/Visual Studio 2010/Projects/Ch09DatasetSBS/Ch09DatasetSBS/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Atsuko\Documents\Visual Studio 2010\Projects\Ch09DatasetSBS\Ch09DatasetSBS\bin\Debug\Ch09DatasetSBS.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Program Files/SAP BusinessObjects/Crystal Reports for .NET Framework 4.0/Common/SAP BusinessObjects Enterprise XI 4.0/win32_x86/dotnet1/crdb_adoplus.dll. -
viernes, 16 de diciembre de 2011 11:43
Millions of THANKS to YTN..!!
thanks mate
-
lunes, 09 de enero de 2012 6:08YTN! I really need your help. Can you pls elaborate more to me on how did you do this one? I could not find the installed CRViewer in the toolbox. Do I have to compile first my project before selecting options to show the CRV? Pls respond. Thanks.
-
miércoles, 11 de enero de 2012 12:52
YTN! I really need your help. Can you pls elaborate more to me on how did you do this one? I could not find the installed CRViewer in the toolbox. Do I have to compile first my project before selecting options to show the CRV? Pls respond. Thanks.
I had installed Crystal Report for Visual Studio 2010, and I can create a report but I can´t attach it to a Window Form because in my toolbox I can´t find CrystalReportViewer tool. How can I put this tool in the toolbox?
Please help my email id is harshad.panchal@gmail.com
Thanks in Advance.
Hp.
-
jueves, 12 de enero de 2012 7:34
thanx a lot YTN.. it really worked..thanx a lot
-
domingo, 15 de enero de 2012 8:29Found thanks to you!
-
miércoles, 18 de enero de 2012 13:08
Thank Buddy it works for me..
but i cant load the component called crystal document...
do u have any idea?
-
lunes, 23 de enero de 2012 19:19
Hello Jehyne and Harshad
You should not recompile your project yet, until you change the framework type.
Once you have Crystal Reports installed, load up your Visual Studio application. In the Project menu, select Properties (at the bottom of the list). In here, click on the "Compile" tab and click on the "Advanced Compile Options..." button at the bottom.
On the Advanced Compiler Settings window, change the Drop Down box for Target framework to ".NET Framework 4" (It probably says ".NET Framework 4 Client Profile" right now, so change it to just the plain Framework).
If you don't see that option, you may need to re-install the .Net 4 Framework from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718
-
lunes, 23 de enero de 2012 19:21
Thank Buddy it works for me..
but i cant load the component called crystal document...
do u have any idea?
I have seen that before. Can you explain more about what your code/form is doing when you see this error? -
lunes, 02 de abril de 2012 4:07Thanks, Resolve my problem. Thanks again
-
jueves, 19 de abril de 2012 9:47
I think I found a solution. It worked for me at least.
The CrystalReport Viewer control is a .Net assembly. By default, when you create a new .net 4 Windows Form application, it uses the .net 4 Client Profile framework, not the standard .net 4 framework. After I converted my project (Properties-> Compile -> Advanced Compile Options - Target Framework) to the standard framework, the Crystal Report Viewer control became available under the Reports section.
I have yet to research what the differences are between the two types of frameworks, or why we need them...
yeah it also worked for me
-
miércoles, 16 de mayo de 2012 0:25
I have the same Problem
System.IO.FileNotFoundException was unhandled
Message=Impossible de charger le fichier ou l'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' ou une de ses dépendances. Le fichier spécifié est introuvable.
Source=mscorlib
FileName=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
FusionLog==== Informations d'état de liaison préalable ===
JRN : utilisateur = Elkobi-PC\El kobi
JRN : liaison where-ref. Emplacement = 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
JRN : Appbase = file:///C:/Users/El kobi/documents/visual studio 2010/Projects/GestionParckInfo/GestionParckInfo/bin/Debug/
JRN : PrivatePath initial = NULL
Assembly appelant : (Unknown).
===
JRN : cette liaison démarre dans le contexte de chargement de LoadFrom.
AVT : l'image native ne sera pas détectée dans le contexte LoadFrom. Elle sera détectée uniquement dans le contexte de chargement par défaut, comme pour Assembly.Load().
JRN : utilisation du fichier de configuration de l'application : C:\Users\El kobi\documents\visual studio 2010\Projects\GestionParckInfo\GestionParckInfo\bin\Debug\GestionParckInfo.vshost.exe.Config
JRN : utilisation du fichier de configuration d'hôte :
JRN : utilisation du fichier de configuration de l'ordinateur à partir de C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
JRN : tentative de téléchargement de la nouvelle URL 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.
StackTrace:
à System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
à System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
à System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
à System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
à System.Reflection.Assembly.LoadFrom(String assemblyFile)
à CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr arg)
InnerException:
thinks for your help :)
-
viernes, 01 de junio de 2012 9:51
THanks YTN,
For the time being my problem has been resolved. but i also would like to know that is there any kind of data lost if we change the compile engine
Regards
Anil Shah
-
domingo, 10 de junio de 2012 20:06
Hello Liliane Teng:
I have tried and it works. Thank you very much.
-
domingo, 17 de junio de 2012 16:02
I'm sorry im stuck in nowhere, i dunno what to do to get crystal reports for my vb .net 2010.
I dunno which packages to download and in which order to install .... please help me!
http://adonetaccess2003.blogspot.com http://vb6access2003.blogspot.com http://evry1falls.freevar.com
-
lunes, 18 de junio de 2012 14:51
Hello Anil.Shah007.
No, I have never had an issue where any data or coding was lost during the change over, however, depending on how complex your code is, there may be some syntax errors that you may need to fix up after the change.
-
lunes, 18 de junio de 2012 15:26
Hello evry1falls.
The installation proceedure is basically a standard install, but I can't specifically help you unless I can get some more information from you. What version of Visual Studios are you using (I know you said 2010, but it is the free version, the Pro version, or just the VB portion of it)?
If you have the full version of Visual Studios already installed, then all you will need to download is the Crystal Reports add on from here: http://www.businessobjects.com/jump/xi/crvs2010/default.asp
After that, make sure Visual Studios is closed, and install Crystal Reports. That is normally all there is to it. After it is installed, you can open Visual Studios and just to test it, create a new VB .Net application and change the .Net framwork to .Net 4 (as mentioned above). You should then see the Crystal Reports items on the tool bar on the left.
Steve.
-
lunes, 18 de junio de 2012 19:58
I've found my solution and posted it hereI'm sorry im stuck in nowhere, i dunno what to do to get crystal reports for my vb .net 2010.
I dunno which packages to download and in which order to install .... please help me!
http://adonetaccess2003.blogspot.com http://vb6access2003.blogspot.com http://evry1falls.freevar.com
http://adonetaccess2003.blogspot.com http://vb6access2003.blogspot.com http://evry1falls.freevar.com
-
lunes, 18 de junio de 2012 20:02
@YTN
i have the Pro Version, and i found the solution already thanx.
My problem was that i did not know which Package to download and install, so i just downloaded the standard 288 MGB package and installed it, and everything is ok now ... Thanx alot !
I'm just wondering, how to install the Click-Once Package
[SAP Crystal Reports, version for Visual Studio 2010 - Click Once
Click once installation package used to create self-updating Windows-based applications which can be installed and run with minimal user interaction.]http://adonetaccess2003.blogspot.com http://vb6access2003.blogspot.com http://evry1falls.freevar.com
-
martes, 03 de julio de 2012 10:33Thank u very much.It is helpful .
-
sábado, 14 de julio de 2012 1:40thank YTN in advance
-
lunes, 16 de julio de 2012 11:50Thank you very much. It helped me a lot, not only to download CR but also to work properly with CR reports. Thanks a ton again.
-
lunes, 30 de julio de 2012 8:34Thank you very much !
-
miércoles, 01 de agosto de 2012 11:06
What version of Crystal are you running?
I have done this with crystal 2011 and VS2010 but still I can't find the Crystal report viewer on my tool box.
-
miércoles, 01 de agosto de 2012 11:10Am using VS2010 Professional and Crystal reports 2011 Enterprise but still even after changing the target Framework, recompiling and all I stiil can't see the crystal report viewer component on my toolbox.
-
miércoles, 15 de agosto de 2012 17:44
Am using VS2010 Professional and Crystal reports 2011 Enterprise but still even after changing the target Framework, recompiling and all I stiil can't see the crystal report viewer component on my toolbox.
Try this one :
http://evry1falls.freevar.com/VBNet/VS2010DataBaseBook/sap_Crystal_Reports_2010.htmlhttp://adonetaccess2003.blogspot.com http://vb6access2003.blogspot.com http://evry1falls.freevar.com
-
viernes, 31 de agosto de 2012 9:26
Many thanks to evry1falls.
Why MS or the authors of CR make this procedure so damned obscure is anyone's guess.
-
viernes, 31 de agosto de 2012 20:21
Thx buddy,
You have got the solution. just need to change the .net 4 framework type.
kaiser Lorson
-
miércoles, 05 de diciembre de 2012 9:26I am devlopin hospital system mgmt in ado in v.s 2010 professionl ,i cant user cystral reports in it ,i had also download SAP model den also i have a problem so plzz suggest me any other way of use of cyrstral reports .....naitikgosar99@hotmail.com
- Propuesto como respuesta NaitikGosar miércoles, 05 de diciembre de 2012 9:30
- Votado como útil NaitikGosar miércoles, 05 de diciembre de 2012 9:30

