Application start in global.asax run before the data system is initialized so this would only work if you place your code after our unit code there. I'd suggest that you use our ApplicationStartup feature since we can then promise that everything is ready to rock, also across future releases.
↧