Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

Report asks for database login in deployed version using crystal runtime for vs2008

$
0
0

I am developing an application with VS2008 .Net with an Interface to use external Crystal  reports.

I created a Report using Crystal Reports 2011 "doku.rpt".

I am using a CrystalReportViewer "crpv" on a form.

I am using a ReportDocument object (Variable "ReportDocumentM"), to which I load the file "doku.rpt"  and assign the logon Settings of main and subreports (which are the same for all tables).

Using crpv.ReportSource = ReportDocumentM I assign the reportDocument to the ReportViewer.

 

On my develop System everything works fine, the Report is shown in the Viewer.

 

I created a Setup for my application and isnatalled it on another System. I also installed the CrystalRuntime for VS2008.

 

When I try to Show the Report, a dailog "Database Login" appears and aks for the Connection.

where the SERVER, USERID and (sometimes the PWD) Input fields are filled with  the correct values, but always the DATABASE field is empty.

SERVER and DATABASE fields are READONLY.

Hours and hours I tried differnt things, I also filled the logon info of the ReportViewer himself, nothing helped.

 

The code:


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>