Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Henry #1
The file failed to load in the Web Form designer ... Unable to cast object of type myServicedComponentClass ...
I have a user control that inherits from a base user control class. I can
view and edit the base user control in the designer. However, my child user
control fails to load in the web form designer. The error looks like this:
The file failed to load in the Web Form designer. Please correct the
following error, then load it again: An exception occured while trying to
create an instance of baseUserControl. The exception was "Unable to cast
object of type myServicedComponentClass to type myServicedComponentClass. "
..
I get no build errors, and my webforms with all their user controls function
properly when browsed.
Henry Guest
-
how to type cast getjsobject form vb.net to c#
how to type cast getjsobject form vb.net to c# -
How to cast cfquery object to type java.util.Map
In the LiveDocs it says: "..The following table lists how ColdFusion converts ColdFusion data values to Java data types when passing arguments. The... -
using text file to load my cast ......
I have a projector file that loads a web page first and then a swf movie and then some power point slides.How can I make a text file that shows me... -
file failed to load in web form designer
since deriving my class for a web form from an abstract class I get the following error when tryinh to load the page in the designer 'The file... -
failed to load in the web form designer...
I have web pages that inherit from a custom page class. I now get the following error: "The file failed to load in the web form designer. ...... -
Henry #2
Re: The file failed to load in the Web Form designer ... Unable to cast object of type myServicedComponentClass ...
Nevermind, i fixed it. In my 'baseUserControl' i moved the
'myServicedComponentClass' from being a class member to within a function.
VS.Net can now modify all the child classes in the designer.
"Henry" <henry@s.com> wrote in message
news:EETkb.12538$W77.1262@bignews6.bellsouth.net.. .user> I have a user control that inherits from a base user control class. I can
> view and edit the base user control in the designer. However, my child"> control fails to load in the web form designer. The error looks like this:
>
> The file failed to load in the Web Form designer. Please correct the
> following error, then load it again: An exception occured while trying to
> create an instance of baseUserControl. The exception was "Unable to cast
> object of type myServicedComponentClass to type myServicedComponentClass.function> .
>
> I get no build errors, and my webforms with all their user controls> properly when browsed.
>
>
Henry Guest



Reply With Quote

