CS0115

G

GeezerButler

I have a UserControl called MyUserControl and a web page that contains
that user control. My solution builds nicely but when i run it, i get
this:

Compiler Error Message: The compiler failed with error code 1.
MyUserControl.ascx.cs(912305,33): error CS0115: 'ASP.myusercontrol
_ascx.FrameworkInitialize()': no suitable method found to override

I have not overriden any FrameworkInitialize in my ascx code. Same
error even if i try to override the FrameworkInitialize. I found a few
links related to this for ex. http://www.hanselman.com/blog/UpdatingFromEarlyASPNETBetaBuildsToBeta2.aspx
but they are about aspx pages not ascx controls.

Any ideas could help.
 
G

GeezerButler

Anyone has any idea on why a web project would compile from inside
Visual Studio but would show a compile error when the project is run
and the page is loaded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top