Mate - you were 100% correct. The code the developer had included one reference to a url:
var url = web.Url; crystalReportViewer1.ToolbarImagesFolderUrl = url + "\\aspnet_client\\system_web\\2_0_50727\\CrystalReportWebFormViewer4\\images\\toolbar"; Needless to say, that caused the error. I am now crystalled out. [Description: Description: Description: C:\Users\Brian\Pictures\EXD Logos\Extelligent logo no text.jpg]Ishai Sagi | Solutions Architect 0488 789 786 | is...@exd.com.au<mailto:is...@exd.com.au> | www.sharepoint-tips.com<http://www.sharepoint-tips.com/> | @ishaisagi<http://twitter.com/ishaisagi> From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Matthew Cosier Sent: Tuesday, 6 December 2011 4:21 PM To: 'ozMOSS' Subject: RE: CrystalReports on sharepoint I have experience with both. Sounds as though it's changed from accepting a relative path to a full path - I could be wrong, but perhaps you should check the report viewer with reflector on both versions and see whether this is the case... if it is, you'll just have to generate the URL differently. That's just my first guess though, would need to see the code to really give any better type of assessment than that. Matthew Cosier Hazaa From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> [mailto:ozmoss-boun...@ozmoss.com]<mailto:[mailto:ozmoss-boun...@ozmoss.com]> On Behalf Of Ishai Sagi Sent: Tuesday, 6 December 2011 3:44 PM To: ozMOSS Subject: CrystalReports on sharepoint I am desperate. anyone has ANY experience with CrystalReports on SharePoint2010? Code I am trying to upgrade from 2007 (written by someone else) downloads a rpt file from a document library to a temp folder on the server, then loads it, gives it the current parameters and then feeds it to a reportviewer object. This is where I get a "Invalid URI: The hostname could not be parsed." Error. Nothing in the logs, no exception thrown in the web part. Works in 2007, but in 2010 there is a new version of crystal report runtime so that could explain it. [Description: Description: Description: C:\Users\Brian\Pictures\EXD Logos\Extelligent logo no text.jpg]Ishai Sagi | Solutions Architect 0488 789 786 | is...@exd.com.au<mailto:is...@exd.com.au> | www.sharepoint-tips.com<http://www.sharepoint-tips.com/> | @ishaisagi<http://twitter.com/ishaisagi>
<<inline: image001.jpg>>
<<inline: image002.jpg>>
<<inline: image004.jpg>>
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss