Steps to follow for deploying my vb.net project - vb.net

I am ready to deploy my vb.net project to my client computer.
In my development computer I have crystal report 9, sql server express and .net framework 3.5 installed.
My Client computer hasn't got anything installed there...
I am trying to making msi installer so that it will be easy for my client to install.
I created the new solutions -> setup type project, added the project on it and build it.
it successfully created the msi installer but it doesn't installs the sql server express and crystal report.
How do i make the installer with crystal report and sql server and also with db

I'm not sure what version of Visual Studio you are using but assuming you have 2008:
To add the crystal reports files to the setup project:
Go to the deployment project's properties page.
Click the "Prerequisites" button.
Add the "Crystal Reports Basic for Visual Studio 2008"
Alternatively search for the correct Merge Modules for your Crystal Reports version.
I am yet to see an 'easy' install that includes Crystal Reports but you never know.
You'll have to deploy the database seperately, just install SQL Server Express and do a backup-restore on the database.

Related

Cant Deploy the Crystal Report Viewe Forms in Client Computers

I'm new to VB.Net and I'm trying to develop a desktop app using VB.Net 2019 and Crystal reports. I have few questions which i need some clarifications.
My project is is working fine in my development machine.(VB.Net , MS SQL , Crystal Reports). But when trying to deploy it to clients, I get some errors when trying to load reports. I have installed CR13SP27MSI32_0-10010309 in development pc and CR13SP27MSI32_0-10010309 for clients.
I Have inserted and designed the Crystal Reports inside Visual studio IDE. So, when loading reports crystal report viewer, I do not use a report path in the code. I just declare a new instance of the existing report. Is this correct or do i always have to show the physical path of the report source?
I tried to to create a setup project but It fails during the build. So, I copied the exe to a client machine and I get a error when trying to load a form with a Crystal Report Viewer. Is it because the required files are missing from the client PC?. Do i have to install both Visual studio and Crystal report in client computers?
Client machines don't need Crystal Designer. They need Crystal Runtime for .NET framework, which has separate installs (one for 32-bit and one for 64-bit).
Here is a good official resource: https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Connect Crystal Report with DataSet

I have a problem when I want to connect Crystal Report with DataSet in c#.
Error
failed to load database information, details: unable to load database connector 'crdb_adoplus.dll'. the correct version of the database client for this type of database may not be installed.
Here's a Screenshot
Can you help me please?
I had the same problem on Microsoft Visual studio 2019 by installing SP26 "SAP Crystal Reports runtime engine for .NET Framework (64-bit)" before "SAP Crystal Reports, version for Microsoft Studio".
The main problem is that the run-time engine doesn't copy crdb_adoplus.dll file which need to Crystal Report to load data from ADO.Net dataset.
If you also followed my installation sequence, you must:
Remove "SAP Crystal Reports runtime engine for .NET Framework (XX-bit)" and "SAP Crystal Reports, version for Microsoft Studio" by the control panel.
Run the "SAP Crystal Reports, version for Microsoft Studio" installer as Administrator. After the installation, it will automatically ask you to install the correct engine.
See also:
Crystal Report SP26 SetDataSource() Method failed in computers of clients in Visual Studio 2019
We are using Crystal Report's on 20+ server and we always install x32 and x64bit version.Today i installed SP30 from here for VS2019 https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/ , also today i tried to add a field to dataset and gave me 'crdb_adoplus.dll' error. After a lot of search, i installed x32 bit runtime both x64bit, it worked.
I had the same problem.
I uninstalled all crystal reports (for visual studio and runtime) and install only the version for Visual Studio and installed the runtime checking the last checkbox on the installation wizard (to install the correct runtime).
I think that when installing on top of an existing crystal some files are missing.

I'm having problems connecting to TFS VS2010 from VS 2008

If you are not able to connect to TFS VS2010 from VS2008. This might save you some time.
Connecting from VS2008 to TFS VS2010
Step:1 Make sure that Service Pack 1 is installed with Sql Server 2008
Step:2 Make sure that Service Pack 1 is installed with VS2008
Step:3 Make sure that Team Explorer is installed in VS 2008
Step:4 Make sure that Service pack 1 is updated for Team Explorer
Step:5 After all these Service Packs are installed on your machine, follow the below path
CmdPrompt> regedit
Hkey_Current_User>Software>Microsoft>VisualStudio>9.0>TeamFoundation> Right Click Servers>New>String Value
Give the complete URL path which look like ‘http://swstfs:8080/tfs/DefaultCollection’
Step:6 Close everything and open VS2008
File>Open>TeamProject
Step: 7 Connect.
I connected to TFS, but the problem is while I am trying to open the solution through VS2008 into TFS it is showing me an error
"This project (fmPilot.SSIS.ClientIntegrations.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.
If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."
I also tried it through VS2010 but it is showing me an error
"Cannot be openned because its project type(/dtproj) is not supported bby this version of the application."
Can somebody help me on that..... I google it some says that permission might be the reason.. Please help me...
Thanks,
Karthik
Make sure that you have Business Intelligence Development Studio (BIDS) installed on your machine. Having just Visual Studio 2008 doesn't mean that you can open SSIS packages.
To verify whether you have BIDS installed:
Open Visual Studio 2008 IDE. Click Help and About Microsoft Visual Studio.
Make sure that you see SQL Server Integration Service.
Another way to verify is by trying to create a new project in VS 2008. You should see Business Intelligence Projects under Project types.
If you do not see this, then it means you don't have BIDS installed on your local machine. You can install BIDS by installing SQL Server 2008 client tools.
Following link shows how to install SQL Server 2008 client tools.
SQL Server 2008 Client Tools Installation

Business Intelligence Development Studio

I can't find Business Intelligence Development Studio in Sql Server 2005.
I have installed Visual Studio 2008 and Sql Server 2005 Standard edition.
How can i view
You can tell if it is installed by looking at "new project" in Visual Studio. Do you have BI projects available?
If so, this is it. You can now develop BI stuff.
If not, did you check the box under client tools when installing? Run install again.
BIDS isn't a separate install but a Visual Studio plug-in
You do need to select it when installing though. You could probably run a reinstall and add it if you don't have it already.
while installing, you might have not selected the feature. in this case, re run the Installation process.
You Must Install SSDT(Sql Server Data Tools) Tools
When you Installed that , and you want Create New Project, you must see Business Intelligence Section in part of Template

how do you setup a db data source in a visual studio 2005 deployment

I'm working on deploying a visual studio 2005 windows application executable with an embedded crystal report using visual basic. It seems to install everything just fine, however, the system dsn isn't being setup.
How do you configure a setup project to setup the system dsn during the installation?
Use a custom action to create your DSN