Save Dynamic images in webfarm
I'm using Crystal reports for visual studio 2005, and when i deploy the reports the images are, SOMETIMES, showed as a red X. This because I have a 2 mirrored webservers, and when one server writes the dynamicimage to the temp catalogue the other server is trying to read from its c:/temp catalogue.
server1 writes the dynamic image to c:/temp in server1
server2 try to read the dynamic image from server2
is there a way to tell crystal to write these images to file server like
myfileserver\crystaltemp (like a registry value, ini file, web.config, a workaround.........)??
Thanks in advance for helping me
I'm loosing my mind...
Edited by: janne Sossi on Sep 5, 2008 4:57 PM
Edited by: janne Sossi on Sep 5, 2008 4:58 PM
David Hilton replied
I tested this in-house and it worked for me.
Did you make sure to open up permissions for the shared directory you chose? If this is a file server you need to permit the ASPNET account from each computer to write to the directory.
I would suggest trying this to a non-standard temp directory on the web server first. Try C:\MyTemp and ensure the ASPNET account has full rights to the directory.
If that doesn't work please tell us what you've done so far. Be as detailed as possible.