Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 6th, 2003, 08:35 AM
Registered User
 
Join Date: Jun 2003
Location: , , Greece.
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
Reply With Quote
  #2 (permalink)  
Old June 6th, 2003, 08:52 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
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
Reply With Quote
  #3 (permalink)  
Old June 17th, 2003, 12:31 PM
Registered User
 
Join Date: Jun 2003
Location: , , .
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.
Reply With Quote
  #4 (permalink)  
Old July 2nd, 2003, 01:09 PM
Registered User
 
Join Date: Jul 2003
Location: London, , United Kingdom.
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03: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 07:08 AM



All times are GMT -4. The time now is 10:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.