Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Re: Database logon failed when export to PDF

$
0
0

Hi Dell,

 

We are using Visual Studio 2010 to develop the app. We are trying to change the connection properties of the crystal report to another text file, then refresh the report so that new data will be fetched by the report before export in PDF to a local folder.

 

In my case, we not able to schedule the crystal report, because:

 

1) Data source is text file instead of database.
2) We will have multiple text file for 1 crystal report, for example after crystal report had fetched the data from 001.txt, export the report to PDF and send to a local folder, then we need to change the connection to 002.txt. The process will repeat until all text file had been processed. Therefore, if i have 20 text file, then i will have 20 same PDF report with different data set.

 

 

 

That is why we need to change the connection properties at run-time.

 

By the way, am i setting correct property details on the data source?Besides, since the data source is text file and it sitting in the same server as my crystal report server, then it should not prompt for database logon right?

 

 

 

 

Thanks and regards,
Derrick Tan


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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