Link to home
Start Free TrialLog in
Avatar of Bagur
Bagur

asked on

Crystal Report Error 2147206463 - Object Required

Hi,

 I have upgraded crystal 8 to crystal XI on windows 2003 server. I am getting problem while opening report from ASP page. I am getting error  along with error number from my ASP page as, "Error Occured creating Report Object: 2147206463". I searched for this error number on businessobjects website but didn't find anything about this error. Please help if you have any solution on this problem.

Thanks.
Avatar of Mike McCracken
Mike McCracken

Did you also upgrade the application to use the CR XI dlls?

mlmcc
Avatar of Bagur

ASKER

In my application I have done CR XI settings at two places,

First one while creating session("oApp") object
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")

and second is cab settings
<OBJECT ID="CRViewer"
      CLASSID="CLSID:460324E8-CFB4-4357-85EF-CE3EBFE23A62"
      WIDTH=100% HEIGHT=99%
      CODEBASE="/viewer11/crystalreportviewers11/ActiveXControls/ActiveXViewer.cab#Version=11,0,0,893" VIEWASTEXT>

 I am getting this error after creating session("oApp") and session("oRpt") object before I do cab settings.May be this will give you some idea.

-Bagur
I checked the Crystal knowledge base.  The error is related to CR8 so I wonder if you still havve a CR8 object that you are trying to create.

mlmcc
Try this
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11.5")

Your code should work for xi, but maybe you have xi r2 installed?

IF the above this fails, try this
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application")
So if the machine only has one cr version installed, it iwll take whatever version that is
Avatar of Bagur

ASKER

I tried that last solution, but it is still giving the same error.
Avatar of Bagur

ASKER

In case anyone has this same problem, I found the solution (at least for my problem). Our web application was installed to the D drive, and that's where the RPT file is. It turns out that Crystal will open the root D:\ folder when it is trying to navigate to the RPT file. The NTFS permissions did not allow the IUSR account any permission to the root folder. After granting the Read permission to the IUSR account in the root folder, the problem went away.

Cheers.
Avatar of Bagur

ASKER

I found the solution by myself...
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial