Hi
I am working on Visual Basic 6.0 and I've use crystal report 9.2 for report printnig.
But when I made the setup using Package and Deployment Wizard.
While installing the setup in the client's machine setup gives error -
An error occured while registering these files...
crtslv.dll
exportModeller.dll
filedialog.dll
crqe.dll
Due to which my report does not show up. when I call my report system gives error - "Load report failed"
Please help.
PuneetInclude these dlls while making setup.|||I've tried that. I've addid these file while making setup but invane its still not working.
Actually the prob is when I run setup on the win 98 machine it gives error
"An error occured while registering these files..."
even after the inclusion of these files while making the setup.
Now what should I do.|||It seems the dll is corrupted
Showing posts with label deployment. Show all posts
Showing posts with label deployment. Show all posts
Monday, March 19, 2012
Thursday, March 8, 2012
Crystal Report and Deployment
I have a winform application that I want to deploy.
It has a password protected Access database in the bin folder where it pulls all its information.
I have set up a crystal report to read the information and all works well when I am debugging it on my machine. Meaning it connects to the password protected database without asking what the server name, database name, or password was.
However when I deploy the application, if I click to view the crystal report, it opens a screen labeled Database Login. Asking for the Server Name, Database, Login ID and Password. However I don't want this box to pop up and just have the crystal report connect to the database deployed with the application.
The problem is that I think it is trying to look in the folder that the database was in on the computer I was developing it on.
I connnect to the database like so for the crystal report
Dim crpt_Attendance As New Attendance
Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim Login As CrystalDecisions.Shared.TableLogOnInfo
For Each myTable In crpt_Attendance.Database.Tables
Login = myTable.LogOnInfo
Login.ConnectionInfo.Password = "RTr@.k"
Login.ConnectionInfo.UserID = ""
myTable.ApplyLogOnInfo(Login)
Next
crptv_Attendance.ReportSource = crpt_Attendance
I have included the Access Database in the Application folder when I deploy it. And before I create the report, I have a datagrid that reads the information from this database. So I don't know why the crystal report is looking at the location from the computer I created it on and not in the application folder.
Any help is greatly appreciated as I am not very familiar with crystal reports!Make sure you don't have the Database Path hardcoded somewhere in VB or Crystal.|||I only have CR 8.5 developer, but in it you have to set the .ReportSource and you can specify the .SetLogOnInfo.
oReport.Database.Tables(1).SetLogOnInfo sServer, sDatabase, sUserName, sUserPwd
It has a password protected Access database in the bin folder where it pulls all its information.
I have set up a crystal report to read the information and all works well when I am debugging it on my machine. Meaning it connects to the password protected database without asking what the server name, database name, or password was.
However when I deploy the application, if I click to view the crystal report, it opens a screen labeled Database Login. Asking for the Server Name, Database, Login ID and Password. However I don't want this box to pop up and just have the crystal report connect to the database deployed with the application.
The problem is that I think it is trying to look in the folder that the database was in on the computer I was developing it on.
I connnect to the database like so for the crystal report
Dim crpt_Attendance As New Attendance
Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim Login As CrystalDecisions.Shared.TableLogOnInfo
For Each myTable In crpt_Attendance.Database.Tables
Login = myTable.LogOnInfo
Login.ConnectionInfo.Password = "RTr@.k"
Login.ConnectionInfo.UserID = ""
myTable.ApplyLogOnInfo(Login)
Next
crptv_Attendance.ReportSource = crpt_Attendance
I have included the Access Database in the Application folder when I deploy it. And before I create the report, I have a datagrid that reads the information from this database. So I don't know why the crystal report is looking at the location from the computer I created it on and not in the application folder.
Any help is greatly appreciated as I am not very familiar with crystal reports!Make sure you don't have the Database Path hardcoded somewhere in VB or Crystal.|||I only have CR 8.5 developer, but in it you have to set the .ReportSource and you can specify the .SetLogOnInfo.
oReport.Database.Tables(1).SetLogOnInfo sServer, sDatabase, sUserName, sUserPwd
Wednesday, March 7, 2012
Crystal 9 deployment
Hello eveyone,
Iam using cystal reports 9 in my VB application and Ms Access. after packaging the applicarion, i start insatalling in Windows XP machine. It finishes installation up to "Updating System...." from there the machine almost hangs and it takes many hous unill a cant wait the process. ive icorpoated the dlls that i think should work with it. Please helpDid you solve this problem?
Restart and try it
Other search here
http://support.businessobjects.com/
Iam using cystal reports 9 in my VB application and Ms Access. after packaging the applicarion, i start insatalling in Windows XP machine. It finishes installation up to "Updating System...." from there the machine almost hangs and it takes many hous unill a cant wait the process. ive icorpoated the dlls that i think should work with it. Please helpDid you solve this problem?
Restart and try it
Other search here
http://support.businessobjects.com/
Labels:
access,
applicarion,
application,
crystal,
cystal,
database,
deployment,
eveyone,
iam,
insatalling,
microsoft,
mysql,
oracle,
packaging,
reports,
server,
sql,
windows
Subscribe to:
Posts (Atom)