Print Page | Close Window

.net web page crystalreportviewer

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3335
Printed Date: 28 Mar 2024 at 10:31pm


Topic: .net web page crystalreportviewer
Posted By: Matt
Subject: .net web page crystalreportviewer
Date Posted: 04 Jun 2008 at 7:37am

This is driving me even madder!

This is my first attempt at using the crystalreportviwer on a wb page.
 
I'm using visual studio 2002, .net 1.1 and on my server is the test version of Crystal2008.
 
When using the push or pull method I'm gettig an error like this...
 
BC30201: Expression expected.
 
I think it's moaning about the REPORTSOURCE part of my CRYSTALREPORTVIEWER tag which reads "<%# file://\\HHdw1\wwwroot\webreport21\report1.rpt - \\HHdw1\wwwroot\webreport21\report1.rpt %>"
 
Any ideas folks?


-------------
With all due respect.



Replies:
Posted By: Matt
Date Posted: 04 Jun 2008 at 7:57am
Hold the front page!
 
Now I'm getting this error,
 
Load crpe32.dll failed
 
Once again, any advice appreciated.


-------------
With all due respect.


Posted By: BrianBischof
Date Posted: 04 Jun 2008 at 8:04pm
Sounds like either a bad install or the multiple versions are corrupting each other and CR doesn't know which to use.

Are you getting the errors on your server or your dev box? Both boxes have to have the EXACT same setup. Otherwise CR will never work b/c of version issues.


-------------
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>


Posted By: Matt
Date Posted: 05 Jun 2008 at 1:23am
Thanks for that Brian, it sounds likely.
 
Regarding how 2008 was installed, we simply chose 'complete' installation so I can't imagine we could anything else, or could we?
 
On my dev box I have .net 1.1 and Crystal XI
On the server I have Crystal 2008 and .net 1.0, 1.1 and 2.0
 
What do you recommend I do regarding the installations, what shall I install where?
 
Can I not just copy CRPE32.DLL from somewhere on my machine to somewhere on the server?
 
As you can tell from these questions I'm more of a coder than an installer so any help is greatly aoppreciated.


-------------
With all due respect.


Posted By: Matt
Date Posted: 05 Jun 2008 at 4:31am

Blimey! it worked.

I loaded 2008 onto a dev box to match the version on the server, knocked up an app and apart from a couple of rights type issues it all works.
 
Thanks very much for the advice.
 
I'm sure this opens a doorway on to a host of further questions but for now I'm up and running.
 
Many Thanks.
 
Matt
 
PS you beat B.O. to the solution by about 9 million years!


-------------
With all due respect.



Print Page | Close Window