<SCRIPT LANGUAGE="VBScript"> <!-- Sub Window_Onload
On Error Resume Next Dim webBroker Set webBroker = CreateObject("CrystalReports11.WebReportBroker.1") Dim webSource Set webSource = CreateObject("CrystalReports11.WebReportSource.1") webSource.ReportSource=webBroker webSource.URL="http://"+location.host+"/WebSite6/CrystalReport.rpt" CRViewer.ReportName="http://"+location.host+"/WebSite6/CrystalReport.rpt" webSource.PromptOnRefresh =false CRViewer.ReportSource = webSource CRViewer.ViewReport alert("hi") End Sub
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 28 Nov 2007 at 8:55am
Make sure you haver permissions for the ASPNET user to access that directory. As a quick test, you can put the report in the Windows\Temp folder and access it from there. All users have access to the temp folder and if it works then it's definitely a problem with permissions.
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>
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