Monday, 23 March 2009

Compiler error

Ever got this one?:
"An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately"
"The compiler failed with error code 1"

Beautiful and helpful all at the same time. Anyway, in my case this was caused by the inherits in the top of the aspx file pointing to the correct name of class but not the correct namespace. For some reason it is not a build error you just get this wonderful error instead. The detail of the error says, "....._ascx.FrameworkInitialize()': no suitable method found to override" which is equally unhelpful.
Post a Comment