Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-04-06
2
Medium Priority
?
1,829 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 10765360
0
 
LVL 42

Accepted Solution

by:
frodoman earned 180 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

598 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