HRESULT 80131019 - trying to design a usercontrol

S

Scott

I am trying to make changes to a user control using the designer view. I
get error HRESULT 80131019 whenever I try to open the .ascx file.

I have done some experimenting and found the following --

-- My user control is derived from a custom class. The custom class is
derived from System.Web.UI.UserControl.

-- If I change my class to derive directly from System.Web.UI.UserControl
the file opens with no errors and the designer works

-- When I change it back to use my custom class as the base, the error
returns and the designer wont load.

Can anyone help me with this? It's driving me nuts. It should work!

Scott Lorenz
 
N

Natty Gur

Scott Hi,

Check that you call the base method for every method that you override
(including constructor).

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
 

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
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top