Solved

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

Posted on 2004-04-06
2
1,822 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

22 Experts available now in Live!

Get 1:1 Help Now