Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2003, 07:35 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error: Failed to render the page

I am posting a question already made by
Stephan Krueger" <s.krueger@g...> (March)
I had the exact same problem:
I am trying to view some reports with ASP.NET using
MS SQLSERVER. When I'm trying to view them from
the user who's administrator on the machine running the
IIS everything works fine, however when I'm trying to
view them from another user there us an
error: Failed to render the page
displayed on The Viewer (where I can see the titles
etc. but not the data.) TestConnectivity returns TRUE.
Anyone?

-- kimon
 
Old June 6th, 2003, 07:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

This sounds like a security problem. How is your database set to manage security? Windows Security or it's own security? Check the rights of the user trying to access the SQL Server.



Hal Levy
Daddyshome, LLC
 
Old June 17th, 2003, 11:31 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I believe ... the problem is with a setting in your .config file (either web.config or machine.config). Either way, you can correct the problem by making the following entry in your web.config file which takes priority over the machine.config file for it's corresponding web.

The following should be placed between the system.web tags
     <identity impersonate="false" />

A true value for this setting tells the web server (IIS) to impersonate the validated user instead of using the ASPNET user. Therefore, the logged in user must have appropriate permissions to the crystal directories. This can be tedious to maintain, so unless you need to do this, it is advisable to set impersonate to false which tells the web server to just use the ASPNET user, with it's permissions. The permissions should be set up properly for the ASPNET user to run the Crystal scripts and you won't have to manage permissions for all the possible user of your web.

Anyway, it's a quick and simple try. Make the change to the web.config file, save and then you can try the web app again without having to rebuild.

Hope this helps.
 
Old July 2nd, 2003, 12:09 PM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi kimonkod,

did you solved the problem? I've encountered this error message before
and I've solved it by changing the "username=machine" line to "username=system" in the machine.config file. May be this helps.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please!The compiler failed with error code 1. nichola_x_rose BOOK: ASP.NET Website Programming Problem-Design-Solution 0 July 1st, 2008 02:34 AM
Call to Server.Execute failed while loading page i_shahid Classic ASP Basics 1 February 21st, 2008 04:48 PM
html:text render the value when error comes in jsp srikanth_bsb Struts 0 February 20th, 2007 03:54 AM
Fail to Render the page gokul_blr Crystal Reports 2 September 22nd, 2004 06:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.