Hello, I'm creating a little form on ASP.NET with C#, at work I have Visual Web Developer 2010, since they don't have the license, but I included a Crystal report at home using Visual Studio 2010, I thought that, when you create a report, all the necessary
files are included into the project, so I didn't need to install anything at my work pc since Visual Web Developer does not work with Crystal reports, however, when I try to run my home project on it, it gives me a lot of errors related to Crystal reports
dependencies, so, is there any way that I can run my home project with Crystal reports on Visual Web developer? just need to run it, not editing, since I'm doing that at home :( thank you.
You can't just drop the Crystal Reports dlls into your bin folder. You need to install the Crystal Reports redistributable that is for your version of Crystal Reports as it make registry entrys and such. If you are using the version bundled with Visual
Studio there are redistributables located in the Visual Studio folders. If you are using the Standalone version, they will be in the Crystal Reports Directories.
Post back more information on your version of Crystal Reports.
Which is basically Crystal Reports for Visual Studio 2010, I have plenty of experience on Java Server Pages/Faces, and when I use iReport, I just need to add the proper .jar files, and that's enough to make it work on any computer, I'd like to do the same
with this ASP.NET project, thanks in advanced, have a nice day.
Download and install either the 32-bit or 64-bit depending on your OS and your Application you are trying to run. This will have to be done on each client machine that wishes to run your application.
You can't just include the Crystal Reports dlls to make your application work. You'll have to investigate further into either windows installer setup projects or installshield setup projects to achieve something "similar" but not the same. Crystal Reports
has to be installed via the "Runtime Engine" downloads or Merge Modules. Merge Modules requires a setup project of the types listed previously to "install" the crystal reports dll's.
Since I am not sure what your ultimate goal is, just downloading and installing the Runtime Engine will allow you to run your application on a machine without Visual Studio.
I'm designing a little form that uses Crystal report, I added the report at my home since I have Visual Studio 2010 Professional there, however, at work I only have Visual Web Developer, due to a lack of a license, to work with a full version; I want to be
able to run this project on my work computer, and being able to use the report, not editing it, but just run it, and it's not working...you're telling that, in order to do that, I need to install the runtime engine in every single pc that is going to work
as a client? :S it's not like, when you create the report, it creates all the proper files in the project folder? thank you!
Yes. In some way you will have to install the Crystal Reports Engine, not the full Crystal Report Program, on each computer that will use the application unless this is a Web Application (Site). If this will be hosted in IIS, then only the server will
need the Report Engine installed and not the users accessing the web app over the network. Crystal Reports is different from a lot of software in that you can't simply include the required DLLs to make it work. When developing the application, Visual Studio
will add references to the DLLs that are needed. However, even if you include these DLLs in you bin folder and copy the project over, you will not be able to use the reports you develop. Crystal Report Engine makes registry changes and other things that
are required to run the application hence why it is required to be "installed" some way.
If you are wanting to put this application on client machines after you have finished development, you can avoid manually installing the Crystal Report Engine on each machine by creating a setup project to basically install it for you. Since I am not an
expert at install projects or have a preferrence on which tool is the best to use, I can't offer more input other than it can be installed automattically for you if the setup project determines it's not installed already
Ok, so, since this is an ASP.NET web form, I just need to install on the pc that will act as server, using IIS in this case, am I right? once again, thanks for the help!
saman0suke
Member
1 Points
15 Posts
Running project with a Crystal Report included on Visual Web Developer?
May 04, 2012 04:01 PM|LINK
Hello, I'm creating a little form on ASP.NET with C#, at work I have Visual Web Developer 2010, since they don't have the license, but I included a Crystal report at home using Visual Studio 2010, I thought that, when you create a report, all the necessary files are included into the project, so I didn't need to install anything at my work pc since Visual Web Developer does not work with Crystal reports, however, when I try to run my home project on it, it gives me a lot of errors related to Crystal reports dependencies, so, is there any way that I can run my home project with Crystal reports on Visual Web developer? just need to run it, not editing, since I'm doing that at home :( thank you.
makwei88
Member
498 Points
115 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 04, 2012 04:29 PM|LINK
copy all crystal report dll file into the bin folder.
saman0suke
Member
1 Points
15 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 04, 2012 05:24 PM|LINK
Where can I get all the Crystal Report DLL's on my computer? Crystal report folder installed on Program files? thanks!
au_mikey
Member
84 Points
12 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 04, 2012 07:53 PM|LINK
You can't just drop the Crystal Reports dlls into your bin folder. You need to install the Crystal Reports redistributable that is for your version of Crystal Reports as it make registry entrys and such. If you are using the version bundled with Visual Studio there are redistributables located in the Visual Studio folders. If you are using the Standalone version, they will be in the Crystal Reports Directories.
Post back more information on your version of Crystal Reports.
saman0suke
Member
1 Points
15 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 04, 2012 09:36 PM|LINK
This is the version that I have at home:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_3.exe
Which is basically Crystal Reports for Visual Studio 2010, I have plenty of experience on Java Server Pages/Faces, and when I use iReport, I just need to add the proper .jar files, and that's enough to make it work on any computer, I'd like to do the same with this ASP.NET project, thanks in advanced, have a nice day.
au_mikey
Member
84 Points
12 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 07, 2012 01:16 PM|LINK
You need to install the "Crystal Reports Runtime Engine" from the following address: http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
Download and install either the 32-bit or 64-bit depending on your OS and your Application you are trying to run. This will have to be done on each client machine that wishes to run your application.
You can't just include the Crystal Reports dlls to make your application work. You'll have to investigate further into either windows installer setup projects or installshield setup projects to achieve something "similar" but not the same. Crystal Reports has to be installed via the "Runtime Engine" downloads or Merge Modules. Merge Modules requires a setup project of the types listed previously to "install" the crystal reports dll's.
Since I am not sure what your ultimate goal is, just downloading and installing the Runtime Engine will allow you to run your application on a machine without Visual Studio.
saman0suke
Member
1 Points
15 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 07, 2012 03:53 PM|LINK
Here's the scenario:
I'm designing a little form that uses Crystal report, I added the report at my home since I have Visual Studio 2010 Professional there, however, at work I only have Visual Web Developer, due to a lack of a license, to work with a full version; I want to be able to run this project on my work computer, and being able to use the report, not editing it, but just run it, and it's not working...you're telling that, in order to do that, I need to install the runtime engine in every single pc that is going to work as a client? :S it's not like, when you create the report, it creates all the proper files in the project folder? thank you!
au_mikey
Member
84 Points
12 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 08, 2012 04:00 PM|LINK
Yes. In some way you will have to install the Crystal Reports Engine, not the full Crystal Report Program, on each computer that will use the application unless this is a Web Application (Site). If this will be hosted in IIS, then only the server will need the Report Engine installed and not the users accessing the web app over the network. Crystal Reports is different from a lot of software in that you can't simply include the required DLLs to make it work. When developing the application, Visual Studio will add references to the DLLs that are needed. However, even if you include these DLLs in you bin folder and copy the project over, you will not be able to use the reports you develop. Crystal Report Engine makes registry changes and other things that are required to run the application hence why it is required to be "installed" some way.
If you are wanting to put this application on client machines after you have finished development, you can avoid manually installing the Crystal Report Engine on each machine by creating a setup project to basically install it for you. Since I am not an expert at install projects or have a preferrence on which tool is the best to use, I can't offer more input other than it can be installed automattically for you if the setup project determines it's not installed already
saman0suke
Member
1 Points
15 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 08, 2012 05:46 PM|LINK
Ok, so, since this is an ASP.NET web form, I just need to install on the pc that will act as server, using IIS in this case, am I right? once again, thanks for the help!
au_mikey
Member
84 Points
12 Posts
Re: Running project with a Crystal Report included on Visual Web Developer?
May 09, 2012 01:21 PM|LINK
Just install the Crystal Reports Runtime Engine on the server and your application should work unless there are some other issues