Solved

How to deploy application developed using VB.net & crystal reports 9 ????

Posted on 2004-04-06
2
1,823 Views
Last Modified: 2008-03-06
Hello

I have developed a software application in VB.Net and SQL Server (sql server is on my network server)... For reporting purpose, i am using crystral reports which comes with VB.Net.. The application & crystal reports connects fine to the sql server and is working fine from my computer.  

Problem comes when i install the application on other computer... following are the error which i am facing.

1) I am using OLEDB connection + Sql user Authenticate for the crystal report connection. So whenever i run a report it shows me the Database Login form, which requires a username & password from me.... then i used following code a passed user information to the crystal report....

        Dim frm As New frmPreview()
        Dim rpt As New rptOverDue()
 
        Dim TLIs As New CrystalDecisions.Shared.TableLogOnInfos()
        Dim TLI As New CrystalDecisions.Shared.TableLogOnInfo()
        Dim con As New CrystalDecisions.Shared.ConnectionInfo()

        con.ServerName = modDBConnect.GetODBC
        con.DatabaseName = modDBConnect.GetODBC
        con.UserID = modDBConnect.GetUser
        con.Password = modDBConnect.GetPwd

        TLI.ConnectionInfo = con
        TLI.TableName = tab
        TLIs.Add(TLI)
        frm.cView.LogOnInfo = TLIs

        frm.reportConn("DM_Issue")
        rpt.DataDefinition.RecordSelectionFormula = whereQuery

        frm.cView.ReportSource = rpt
        frm.MdiParent = MdiParent
        frm.Show()

Now what happed is that it is woking fine on some computers and on other computers it generates error saying "File Missing" or "keycodev2.dll missing". I also checked for this file and it was present on the other computers but still it is generating the same error... I donot know which file is missing??? I first installed the Microsoft Framework 1.1 and then my software on the computers, then i also created ODBC connection... but all is of no use

can anyone tell that what do i need to do now.??? What are the essentials which we need ot install before making crystal report work??? WHAT IS THIS ERROR ABOUT...

Waiting for answers......

Majid
0
Comment
Question by:majidbhatti
2 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10765360
0
 
LVL 42

Accepted Solution

by:
frodoman earned 60 total points
ID: 10765564
Majid,

The keycodev2.dll missing error is a simple one to fix.  In your installation package for the application you need to make sure regwiz is included in the package and you need to set the license number property of it to the license number shown in Visual Studio's Help->About.  

This is simply a security safeguard to insure that any redestributed Crystal modules are properly licensed.  Note that this applies even if you use the modules given in mlmcc's link above - you must specify your license number or it won't work on client computer.

frodoman
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sub Report Graphs In Main Report. 36 46
C# Crystal Reports Formula 6 79
Crystal Reports 2008 6 20
Crystal Reports CSV data source, field types 6 60
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now