1
Vote

if ((Convert.ToInt32(web.Site.Usage.Storage) / 1024 / 1024) >= 1000) throws exception

description

Not sure what exactly are the conditions on this exception... it happens when I create a blank web (sub site) and then delete it without changing it.
 
It says something on the lines of ToInt32() argument to big or to small for conversion.
 
I simply commented out the line but there must be a better solution than that.

comments