cancel
Showing results for 
Search instead for 
Did you mean: 

VS VB.net 2016 & Crystal Reports 2016

0 Kudos

I am using VB.net 2016 and Crystal Reports 2016.  This is a net upgrade.

I have been creating reports with crystal reports and saving them as rpt files then I can run them from crystal reports or execute them from within VB.net.  This I have done for years using CR 9 and VB.net 2008,2013.

New Problem:

When I run the reports from crystal reports they are fine but when executed from VB.net with the viewer the filter criteria are ignored.

Is there a solution.  I know this broke back in VS 2010. Is it resolved?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

I was able to correct the problem.  I don't know if any others have had this problem but this is what happened and how I solved it.  I did install correctly and no one was saying that this can't be done any more so.  Like I did with the last upgrade I check CR2011, I create a new small app that creates and runs a report.  To my surprise this time it worked (not like CR2011).  Therefore I knew the problem was within by old app code.  I removed the old CR viewer and added a new viewer back into the project and reran.  this time it worked.

Thanks for any help 

0 Kudos

Yes that can happen, sometimes when VS updates the assemblies it doesn't update the viewer so you do need to delete the old one and add the newer one onto your form.

Thanks for the info.

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Which version of the Crystal SDK are you using?  I'm not entirely sure that VS 2016 is supported, but VS 2015 is with the latest version.  Get it from here:  .  Use the "Install Executable" for integration into VS.  The other downloads are the various forms of runtime installs that you can use when you deploy your application - DO NOT install them on your development machine!

-Dell

0 Kudos

As of CR 2011 all CR .NET SDK downloads are from the link Dell posted.

Any other versions are not supported except the one for BOE .NET SDK download, you can get that from SMP under your user account access.

I don't recall any issues with record filtering in the viewer, code work flow would be handy to see.

Don

0 Kudos

I mistyped the VS as 2016 when I am using VS 2015. Sorry

For crystal reports I have installed the developer version "CRforVS_redist_install_32bit_13_0_17".

I think this is the most current.

Any thoughts?

0 Kudos

Would you like to see the .rpt and the code I execute?

0 Kudos

I can't copy and paste or attach files to these messages.

I there a way to send them?

former_member207665
Active Participant
0 Kudos

Hi John,

Use the "Use advanced editor" option in the right top corner of the reply box. You will find button to attach files to your reply.

Regards,

Vinit

0 Kudos

Hi John,

PLEASE read the warnings

Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.

and what Dell posted:

Use the "Install Executable" for integration into VS.  The other downloads are the various forms of runtime installs that you can use when you deploy your application - DO NOT install them on your development machine!

Uninstall what you did install and use the EXE, since you can't find it here's the direct link:

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_17.exe

Try again

Don

DellSC
Active Contributor
0 Kudos

And to attach a report, you need to change the ".rpt" file extension to ".txt" or add ".txt" after the ".rpt" - the editor won't let you upload files with a .rpt extension.

-Dell