Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report not displayed after deploying website

Status
Not open for further replies.
Oct 3, 2007
15
US
I have created a website using asp.net 4. In it I have a page with a crystal report viewer that is linked to a crystal report I have in the project. Everything works fine from my local machine, but when I deploy it to the web server nothing is displayed. not even an error message. the web server is running IIS7 and we have installed the crystal report runtime engine for .net 4. any thoughts on why its not displaying?

Thanks,
 
check the event logs. this may provide some insight. is the crystal web files installed/deployed on the server as well. i believe this is part of the runtime engine, but it would be good to check. this has all the client scripting and CSS files required for the report viewer control.

also check the http response to confirm you are getting data back from the server. FireBug or Fiddler will visualize the request/response.

You may also want to ensure you are connecting to the database and returning data. I don't think this is the problem since you are getting a blank page, but you never know.

also, are you using any try/catch blocks in your code to display reports. if so what are you doing with the error?

is the report deployed to the server? IIRC webforms treats crystal reports as an external resource that must be loaded. it doesn't embed the report into the assembly as a resource.

are you deploying to a staging or production server? Hopefully you have a staging server to test your website on before deploying to production. this way you can diagnose true client/server/security problems before releasing to the end users. you can also use staging configurations as a reference for production configurations.

going straight from local development to a production server is never a good idea. the environments are drastically different and you cannot account for the production environment with local production.

if you are still having problems post the code, it may be something simple.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
This has been resolved. The web server was missing a directory that the crystalreportviewer was looking for. Sorry I don't have more detail, but my server team fixed the problem.

Thanks anyway,
 
no, that's great. any time a problem is resolved it's a good thing :)

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top