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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 vb.net

I inherited an application running crystal reports under VS2008, vb.net 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

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!

Shannon

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.

 

Thanks!

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.

Shannon

Suggest an answer

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

Importance of Self Realization

Knowing who you are is very important. Life depends on how you define yourself. Be yourself; everyone else is already taken. — Oscar Wilde You might have seen come across quotes like: I am here fo...

442 views 2 6
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