Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: error with Crystal Report Viewer on a web form


Message #1 by "C Osborne" <cosborne2000@h...> on Wed, 19 Mar 2003 20:57:46
I'm trying to work through the most basic sample for Crystal Reports on a 
web form.  The web page has a report viewer that uses a cached report as 
the data source.  I can see the report preview correctly while in design 
mode.  When I run the application I recieve the following error when I 
reach the
CrystalReportViewer1.DataBind();

---
Server Error in '/WebApplication1' Application.

Access to the path "C:\Program Files\Microsoft Visual Studio .NET\Crystal 
Reports\Viewers" is denied.
----

For testing I've given admin rights to ASPNET and I'm running as admin 
with windows security.  The window form examples work OK.
TIA
Message #2 by "Tim Musschoot" <Tim.Musschoot@a...> on Wed, 19 Mar 2003 21:52:30 +0100
Add the aspnet_wp.exe process (ASP.NET) to the authorized user list for the
Crystal Reports path.  Maybe that will help you out...

-----Oorspronkelijk bericht-----
Van: C Osborne [mailto:cosborne2000@h...] 
Verzonden: woensdag 19 maart 2003 20:58
Aan: aspx_beginners
Onderwerp: [aspx_beginners] error with Crystal Report Viewer on a web form


I'm trying to work through the most basic sample for Crystal Reports on a 
web form.  The web page has a report viewer that uses a cached report as 
the data source.  I can see the report preview correctly while in design 
mode.  When I run the application I recieve the following error when I 
reach the
CrystalReportViewer1.DataBind();

---
Server Error in '/WebApplication1' Application.

Access to the path "C:\Program Files\Microsoft Visual Studio .NET\Crystal 
Reports\Viewers" is denied.
----

For testing I've given admin rights to ASPNET and I'm running as admin 
with windows security.  The window form examples work OK.
TIA
---
[This E-mail scanned for viruses by Declude Virus]




Message #3 by "C Osborne" <cosborne2000@h...> on Wed, 19 Mar 2003 21:56:43
I forgot to mention that I'm running XP pro.
Message #4 by "C Osborne" <cosborne2000@h...> on Wed, 19 Mar 2003 22:05:38
I just rebooted and now it works fine--what the actual problem was I have 
no idea.
I hate the mystery reboot fixes!!!
Message #5 by "Paul Riley" <rilez@t...> on Wed, 19 Mar 2003 21:55:25 -0000
Heh. I used to work in it support and the first answer was always log
off, restart and log back on again. Annoying but it fixes 90 odd percent
of the problems I have seen which never come back again. Glad you sorted
it anyway

-----Original Message-----
From: C Osborne [mailto:cosborne2000@h...] 
Sent: 19 March 2003 22:06
To: aspx_beginners
Subject: [aspx_beginners] Re: error with Crystal Report Viewer on a web
form


I just rebooted and now it works fine--what the actual problem was I
have 
no idea.
I hate the mystery reboot fixes!!!


  Return to Index