?
Solved

ActiveX component can't create object

Posted on 2003-03-26
4
Medium Priority
?
498 Views
Last Modified: 2008-03-10
I'm trying to open a crystalreport from the sql server but when I try doing that using the crystal report object I get this error message "ActiveX component can't create object"
Here's my code:

Private m_objRepApp As CRAXDRT.Application
Private m_objRep As CRAXDRT.Report

Set m_objRepApp = CreateObject("CrystalRuntime.Application")
Set m_objRep = m_objRepApp.OpenReport(m_strReportPath)
m_objRep.EnableParameterPrompting = False

It gives me this message when this statement is executed
Set m_objRepApp = CreateObject("CrystalRuntime.Application")

Can anyone help me with this problem. Thanks
0
Comment
Question by:teaminfinite
[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
4 Comments
 

Author Comment

by:teaminfinite
ID: 8214126
Help
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 100 total points
ID: 8214338
Is this on the a mshine with CR loaded or a client machine?

If it is a client machine you are missing some dlls.

To find the required dlls use
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/depends20.zip.asp


Take a look at

http://support.crystaldecisions.com/library/kbase/articles/c2001738.asp


mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 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