VB.net - Crystal Reports Login failure. 
Author Message
 VB.net - Crystal Reports Login failure.

Hello

I have a Huge problem,.. I have build a form, with a Crystal Reports viewer
on it, (+ included report) in
my project.. The report uses a connection to a SQL database..  Se code.
Everything works fine om my devel machine, but for some reason CR pops up
asking for a DB connection when i deploy the application. (I have included
all of the CR merge modules, + entered the licence key in regwiz.msm)
Nothing works even if i enter the correct db info.)?

Anybody have a clue on whats wrong ????

Thanx

//Carlos

My code.(Parts of it is from support.crystaldecisions.com)
-----------------------
crReportDocument = New CrystalReport1()

crTableLogonInfo = New TableLogOnInfo()

crConnectionInfo = New ConnectionInfo()

crConnectionInfo.DatabaseName = "databasename"

crConnectionInfo.ServerName = "servername"

crConnectionInfo.UserID = "userid"

crConnectionInfo.Password = "password"

crTableLogonInfo.ConnectionInfo = crConnectionInfo

For Each crTable In crReportDocument.Database.Tables

crTable.ApplyLogOnInfo(crTableLogonInfo)

Next

CrystalReportViewer1.ReportSource = crReportDocument



Sat, 01 Jan 2005 15:55:30 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

2. Crystal Reports and VB.Net Login Error

3. Getting Login Failure with Web App in VB.net

4. VB.net and crystal reports.net Multiple reports

5. vb .net crystal reports not compatible with Crystal Reports 8.5

6. Crystal Report based on ADO.Net dataset prompts for database login

7. i am using vb.net and crystal reports for visual studio.net

8. SetDataSource not working with Crystal Reports .NET in VB.NET

9. Error in temp file in running crystal report for .net in vb.net

10. Crystal Reports from ASP.NET without compiling VB.NET on SQL/ADO changes

11. Web Reports (ASP.NET and Crystal Reports for .Net)

12. Linking Crystal Report with a stored Procedure -- crystal report for visual studio.net

 

 
Powered by phpBB® Forum Software