Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Failed to Export the report while mailing report thru vb6 application

Posted on 2011-02-14
12
Medium Priority
?
1,651 Views
Last Modified: 2012-05-11
i have vb 6 & crystal report 8.5 application. till now i am able to send email via following code. but suddenly it is not working an dgiving error  - RUN-TIME '-2147190908(80047784)';
FAILED TO EXPORT THE REPORT.

code is \
report1.exportoptions.DestinationType = crEDTEMailMAPI
report1.exportoptions.FormatType = crEFTPortableDocFormat
report1.exportoptions.MailtoList = "abc@yahoo.com" ' email id
report1.exportoptions.NailSubject = "Subject "  ' subject
report1.exportoptions.PDFExportAllPages = true
report1.Export False <--- it gives error here --->>

0
Comment
Question by:nitin_s_shah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 3
12 Comments
 
LVL 12

Expert Comment

by:JayConverse
ID: 34887162
"Suddenly it is not working"  

What changed on the PC?  What other software was installed, like another program that uses Crystal?  Does it export with different selection criteria?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34888804
Agree.  Something must have changed.

Is this on a client machine or is Crystal and VB6 installed?

mlmcc
0
 

Author Comment

by:nitin_s_shah
ID: 34894117
The computer has got VB6, crystal report and sql 2000. application generate reports from DSR and export it in pdf format as attachment in mail.  operating system in windows 7. i can export in report mode thru export option in crystal report as pdf file. but not as attachment in mail
0
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

 
LVL 101

Expert Comment

by:mlmcc
ID: 34894188
What Crystal references are you using in the report?

mlmcc
0
 

Author Comment

by:nitin_s_shah
ID: 34894311
Crystal References are

1. crystal report viewer control
2. crystal report 8.5 activex designer design and runtime library
3. crystal report 8.5 activex designer runtime library

Crystal Components are
1. crystal report viewer control (crviewer.dll)
0
 
LVL 12

Accepted Solution

by:
JayConverse earned 2000 total points
ID: 34895712
Windows 7 does not allow MAPI, that's why email isn't working.  Crystal XI has a hot fix, but 8.5 is way too old for Windows 7.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34903608
Also you don't need both 2 and 3.  2 is a superset of 3 and may require additional licensing.  I would just use 3 since it has the features you need.

mlmcc
0
 

Author Comment

by:nitin_s_shah
ID: 34960715
can it work with crystal  8.5?
0
 
LVL 12

Expert Comment

by:JayConverse
ID: 34960727
As I said before, Crystal 8.5 is way too old for Windows 7.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34961861
I read in one of these threads that Win 7 doesn't support MAPI mail which is the only mail that CR8.5 does support.  

I would tend to agree that CR8.5 may also have problems on Win7.

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 35213355
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question