Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
How to Deploy your App for Embarassment
posted

Just a heads up to folks.

My humbling experience this morning is Do Not Copy ChartImages file into test from development. Everything worked fine in development, so I copied the project to test using a simply file copy. Of course, I ended up including all those images in the ChartImages folder. I thought that some of them might be useful or required. Well, what happened was, the images I copied over had different security settings than those on the test server, meaning the app pool identity configured in test could not modify those image files. Since the default sequential naming convention rotates chart names after 100 iterations, everything seemed to work fine in test. So I went to bed after an 18 hr work day. Of course, during the BIG DEMO this morning, the server created charts 97, 98, 99.... and then when it went back to chart 1, BANG! it couldn't delete the existing file and the entire application stopped working just as the demo was beginning.

The error was: Unable to write chart image files at the given file path. please check and correct UltraChart's DeploymentScenario property....

So, there are a million ways to prevent this, once I realize the problem. Hopefully somebody else will benefit too.

 

Eric