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

Error with reports since upgrading to 64

$
0
0

Upgraded to 64 bit.  I am able to run the report on my local box with Visual studio 2013.

Once installed on client workstation it does not work.

When try to open the report I get:

"Unable to find the report in the manifest resources.  Please build the project, and try again."

 

Funny thing is I put a Messagebox at certain points and moved the dll to the client (a test box).  When I did this

I got my messagebox messages and the report worked.  Take out the messageboxes and again broken with above error.

 

Seems like it has a problem in this part of the code:

 

TableLogOnInfos crTableLogonInfos = new TableLogonInfos();

foreach (crystalDecision.CrystalReports.engine.Table table in report.Database.Tables)

(

    TableLogOnInfo crTableLogonInfo = new TableLogOnInfo();

    crTableLogonInfo.TableName = table.name;

    crTableLogonInfo.ConnectionInfo = crConnectionInfo;

    crtableLogonInfos.Add(crTableLogonInfo);

    table.ApplyLogOnInfo(crTableLogonInfo);

 

Can anyone give me a better way to code this?

By the way this is not code I wrote.  This is old 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>