Friday, October 16, 2009

Generation of designer file failed: The method or operation is not implemented.

Working with AJAX and ReportViewer controls with VS2008 in an Web Application, we've got suddenly a problem: the designer file for a WebForm won't update.
The error in VS error pane sounds:

Generation of designer file failed: The method or operation is not implemented.

After a numerous tries and web searches the workaround is:
1. Delete designer file.
2. Restart VS and reopen the project (important step!).
3. Open a context menu on a victim page (.aspx) and select "Convert to Web Application"

The designer file with correct entries appears immediately.

Enjoy!

11 comments:

Jacob Grande said...

I followed your instructions (just with a f***** up usercontrol, .ascx), and it worked like a charm - Thanks a lot!!

Shawn said...

that saved me a lot of time, thank you!

Marc Scheuner said...

*FINALLY* a solution that works reliably! This was driving me crazy - thanks so much for your tip! Worth its weight in gold :-)

oceanwhale said...

Thank you. Worked for me as well.

Anonymous said...

Thanks a lot, it worked!

Anonymous said...

Just wanted to say thanks.

Nathan said...

Thanks! Solved my problem.

Anonymous said...

It doesnt work for me!
The designer file remain excluded from the project and even the "Convert to Web Application" dose not generate any new file

winmike said...

ensure you do not just exclude the designer file, but really delete it

Lukas said...

Thanks a million! Was about to shoot myself

Lukas said...

Thanks a million, was about to shoot myself in the head!