This afternoon i had changed the name of one of the Assembly which was refered by ASP.net web site. I had removed the Old reference and re-added the new assembly.
Few moments later i tried to build the website and it's not possible due to a failure in the build process. Error List had several errors. I clicked on the error descrpition and it opened a class file. This file doesn't belong to my current project. It was a temporary asp.net file , this file is related to a real class file on my project and the code is same.
I put off the Cassini and tried rebuild again, the result was same.
Solution :
Remove the related ASPX and .CS file from the ASP.Net web solution, re-build and run the solution. if it doesnt spit any more wiered errors then re-add the ASPX and .CS file to the solution it should compile.
Note: ASP.Net is just a code generator