c# project transfer to other PC - c#

i have created a project written c# using visual studio 2010 with crystal report.
Now my question is it is gonna work on other PC or do i need to install visual studio also and crystal report.
PS
i'm just gonna copy the project file and open the app in bin folder.
Thank you hope you all understand me.

You need to install the SAP Crystal Reports Runtime Engine (32 bit or 64 bit, depending on what version your app is targeting). You get that install from: https://www.crystalreports.com/crystal-reports-visual-studio/
hth,
- Ido

Related

Crystal Report made in VS2008, not opening in VS2012

I had a project in VS2008. It was deployed without a problem. However now I need to make some changes and upgraded that project to VS2012 (because VS2008 is not working).
In that project I have a Crystal report, but I am not able to open that in VS2012. When I open the report, all I see is numbers and letters.
Also tried deploying it on client machine; it just shows the report viewer and Crystal report is missing.
Can anyone tell me how to fix this, or do I need to build whole crystal report from scratch?
SAP updates their drivers from time-to-time, to work with newer versions of Visual Studio.
Here is their landing page, with the current driver and a list of all older drivers:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
Here's a direct link to the latest installation package (SP9) for the Visual Studio IDE:
SAP Crystal Reports, developer version for Microsoft Visual Studio
I'd close Visual Studio while installing the driver, but you shouldn't need to reboot afterwards.
Make sure you install the "install executable" (exe) file, not one of the msi files. That won't integrate Crystal into VS, as they mention on that page:
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" into VS 2010 or 2012 (SP 7 and higher) or VS 2013 (SP 9 or higher), you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.

Not able to load crystal reports in visual studio 2010

I want to use crystal reports for my windows forms application
I installed the msi file from official site
It was installed successfully and When i want to add new item the Crystal reports option is displayed but when it is loaded it shows me a link to download the crystal reports inside the VS2010 .
I have changed the.NET Profile to .NET profile from client version
But still no luck !
Thank you for help !
Any Msi file is not sufficient for Crystal Reports for Visual Studio ,An executable file is also needed for it load in the VS10
I didnot install the Exe file but the MSI file
Silly one !

Crystal Reports reference: File Version

I'm using Visual Studio 2012 and working with .NET 4.0 C#.
I've downloaded and installed Crystal Reports developer version 13.0.7 (the latest service pack). When I include a reference to one of the DLLs, CrystalDecisions.Shared for example, the version in Properties in my Solution Explorer says 13.0.2000.0 (rather than 13.0.7.1136).
When adding the reference (Reference Manager>>Assemblies>>Extensions) if I click on the name then Visual Studio shows "Version" 13.0.2000.0 and "File Version" 13.0.7.1136.
Does anyone with Crystal Reports experience have ideas about this? I think everything's ok, but the version number is confusing me.
Thank you
When you installed CR, did you use the msi installer or the exe? It is important to use the exe on the development machine. Also, if you install a new version it is recommended to uninstall the old version.

Unable to open .RPT file in VS 2010

I have installed Visual Studio 2010,it doesn't include crystal Reports,so i downloaded SAP Crystal Report externally from MSDN and installed SAP Crystal Reports
When i open Visual Studio 2010 i am unable to design existing .RPT files, but when i run an application existing Reports opens
so what can be reason that i cant design .rpt files?
You probably need to install Crystal Reports For Visual Studio 2010 on your developer machine as well as Runtime Engine.
There are actually two versions of Crystal Reports provided :
- Crystal Reports Redistribution Version.
- Crystal Reports For Visual Studio.
Be sure that you have downloaded the right one.
If the problem insists try to uninstall CR and clean registry and all stuff and then re-install again.
Hope it helps

Visual Studio 2010, Crystal Report for Visual Studio 2008 and ClickOnce

I'm in a bit of trouble here. I upgraded one of our Winforms products from VS2008 to VS2010 about 4 weeks ago. The conversion was fine but we used Crystal Reports so had to install the VS2010 Crsytal Reports for Visual Studio 2010 Beta 2. This was fine and gave me the designer etc. back for crystal. I chose not to convert the reports when the solution opens so they are still setup for the original version of crystal.
We then continued with 4 weeks worth of development and now I come to do my first ClickOnce deploy under Vsiaul Studio 2010 and I'm having serious issues. ClickOnce Application files are set to having CrystalReports related modules as Prerequisites. I still want the end user to use the Crystal Reports for VS2008 rather than the runtime for 2010 which is ridiculously big and a beta.
When I publish the manifest is saying that the dependency for crystal is on version 14.0.2000.0 (VS2010 version of crystal report) but all the DLL references in the projects are set to use specific version and to point to 10.5.3700.0 (VS2008 version of crystal report). This means when trying to install from ClickOnce it fails saying:
"Unable to install or run the application The application requires that assembly CrystalDecisions.CrystalReports.Engine Version 14.0.2000.0 be installed in the Global Assembly Cache (GAC) first)"
I can't work out why the manifest is intent on using that version number given all the references are pointing to another version. If I bundle the VS2010 crystal runtimes that are beta into the ClickOnce deploy then the client gets the opposite error message saying that 10.5.3700.0 is required. If I install 10.5.3700.0 on the client they get a working system but I have to install the 10.5.3700.0 version manually and before that they've first had to endure an epic install of the 2010 runtime (14.0.2000.0) which doesn't even get used.
Essentially I am trying to get the manifest to say 10.5.3700.0 or figure out why VS2010 is intent on putting a newer version number in there.
Please help. Thanks
I converted the solution back to VS2008. Going back was relatively seamless. Since Crystal is in beta, the runtimes used to be ridiculously big, and I was losing large amounts of time on the ClickOnce deploys. The rollback solved all three.
I'm not happy about going back but the realities of using Crystal Reports in the year 2010 are pretty bad. I'll monitor progress from SAP as I know they are aiming to reduce runtimes this quarter and move out of beta.
Do you have the new CR stuff installed on your computer where you are building the application? If so, it's probably referencing the assemblies in the GAC.
You can try copying the assemblies you need into the project and setting the reference to point at the local copies, then on the reference set "copy local" to true. This will make sure it is referencing the local copies and not the ones in the GAC.
If that doesn't work, I would try copying the prerequisite for the previous version of Crystal Reports from the VS2008 folder to the VS2010 folder. You will find the packages here:
C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages (64-bit machine)
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages
Then close and reopen Visual Studio, and the old prerequisite should show up in VS and allow you to select it.

Categories

Resources