Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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