简体   繁体   中英

C# ASP.NET crystal reports on server/hosting

I need some help about displaying crystal report on server/hosting, I created account on some free hosting just to check how does my application work when it's UP and not on localhost as allways, and I've found out my crystal reports are not working on web (THEY ARE NOT DISPLAYED, PAGE WHERE I AM CALLING REPORT IS OPENING BUT ITS BLANK - WHITE ) ..

Before when I used to test it on localhost I had similar issue, so I copyed aspnet_client folder to my project folder and I solved error on localhost, but what now when its UP on hosting? I guess I have to do something like I did on localhost but I dont know exactly what..

Thank you guys, I will appreciate any kind of help

I FINALLY SOLVED THIS, AND HERE IS HOW:

FIRST OF ALL DO THE FOLLOWING: AFTER YOUR BLANK PAGE LOADS, GO TO INSPECT PAGE AND FIND CONSOLE ERROR, IN MY EXAMPLE I SAW THAT MY APPLICATION IS LOOKING FOR FOLDER WITH NAME 4_6_1069/crystalreportviewer13 etc.. AND WITH SOME OTHER FILES, SO I MANUALLY CREATE THAT FOLDER ON MY SERVER/HOSTING, AND I COPIED FILES FROM EXISTING FOLDERS ON THIS PATH aspnet_client/system_web/ FOLDERSTHATINEED to my new created folder "4_6_1069".. and that's it

:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM