Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: error troubleshooting help needed Post Reply Post New Topic
Author Message
chuntley
Newbie
Newbie
Avatar

Joined: 19 Nov 2007
Location: United States
Online Status: Offline
Posts: 3
Quote chuntley Replybullet Topic: error troubleshooting help needed
    Posted: 19 Nov 2007 at 9:39am

I'm pretty new to developing crystal reports and have run into a snag.  I created a report and it runs fine on my PC I then loaded it to a server and I get the following error:

Load report failed.: System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the file specified.   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() :
 
My guess is that the applicaiton is trying to call this report by a name other than what I specified initally so it can't find it.  It's in the proper folder but I can't be sure why this error is occuring.  If anyone can help I would appreciate it.
 
Thanks,
 
Chris
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Nov 2007 at 10:49am
Make sure that the user that CR is impersonating has permmissions to access files in that folder. That is a common problem when switching to a production box which typically has tighter security than your dev box.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
chuntley
Newbie
Newbie
Avatar

Joined: 19 Nov 2007
Location: United States
Online Status: Offline
Posts: 3
Quote chuntley Replybullet Posted: 19 Nov 2007 at 10:55am
if I check this in right click "set datasource location" the user there is the admin so that would be ok unless I should check elsewhere.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Nov 2007 at 1:05pm
No, this is a file permission thing, not database. If you are running from a website then check the login that the website is impersonating. If running it from Windows, then the user who is logged in needs permission.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
chuntley
Newbie
Newbie
Avatar

Joined: 19 Nov 2007
Location: United States
Online Status: Offline
Posts: 3
Quote chuntley Replybullet Posted: 27 Nov 2007 at 9:54pm

I ended up figuring out the problem.  I was using ODBC which was fine on the desktop but the application I loaded it into only uses OLE so once I changed my connections it was all set. 

Thanks for your help.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.012 seconds.