Sharepoint 2007 DirectoryNotFoundException

Yesterday we were working on one of the site-collection and it was having some issues on the performance side, although we did all the required Performance tunning stuff, we couldnt get it to perform. Also that was in the Stage environment so finally we decided to Create the web-app again and then attach the content…