Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Report.Export() and Report.ExportToDisk() do not work under Visual Studio 2017 using

I inherited an application running crystal reports under VS2008, and Crystal worked just fine. When I compiled it under Windows 10 would work in development environment, but when published would fail at "SetDataSource(<dataTable>)" - there were no errors at all; it would just hang there forever. I spun my wheels until I decided to compile it under 2017. Under VS 2017 I actually got errors which enabled me to get past it and eventually get them to work. So I ran a few reports and all seemed to work well. I compiled and released to Production.

When released, several users had reports fail. Not all were failing; just some. After investigating I noticed the repors with "subreports" were failing. The simple ones worked. So I go back to the drawing board and find that those reports were failing at "Report.Export()" which is where I exported them to PDF. I also tried using Report.ExportToDisk() but same result. It will just hang there.

Yesterday I upgraded the Crystal Reports Project from Version 9 to the latest 2016 SAP for Visual Studio. Now I'm getting: "Failed to open the connection." & vbLf & "cb16d5b5-5c63-4d1e-a283-afb5bd1680b9 22412_10788_{0A17A498-33DA-4397-A8DA-E6094A6DB8DA}.rpt" & vbLf & "Details: [Database Vendor Code: 17 ]"

That's where I'm currently at. Any input would be appreciated.

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Shannon Atlassian Team Nov 08, 2018

Hi there,

It's not clear which Atlassian product you're referring to with your case.

Can you let us know how this relates to our products so we can properly categorize your question?

Thank you!


Hi, Shannon.  I posted that on every forum I could find.  I was a banging my head on the wall for a while.  To answer your question it is not particular to Atlassian.  It was about a Crystal Report being run on Visual Studio 2017.  


The answer to my question in case anyone is interested was simply to point to the 4.0 framework.  I was pointed to the 3.5 framework.



Shannon Atlassian Team Nov 09, 2018

Thank you for letting us know! We don't tend to get a lot of users asking about Crystal Reports here, since our forum is dedicated solely to Atlassian software, but glad to hear you were able to resolve it. 

Take care, and have a pleasant weekend.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Off-topic

🏸 Atlympic Event: Community!

Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! badges! fun!) please read...

916 views 31 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you