ASP.NET 2.0 / VS.NET 2005 ANNOYING BUG

Discussion in 'ASP .Net' started by =?Utf-8?B?QW5kcsOpIFNpbHZh?=, Feb 25, 2006.

  1. "Unable to cast object of type 'ASP.masterpage_master' to type
    'ASP.masterpage_master'. "

    Every time I make a change on the web site and run it this error occurs. To
    fix it I must rebuild entire web site which takes a lot of time.

    How can I run the site after a change widhout seeing this annoying error?
     
    =?Utf-8?B?QW5kcsOpIFNpbHZh?=, Feb 25, 2006
    #1
    1. Advertising

  2. André,
    This often happens when the temporary ASP.NET assembly files get out of sync
    with the solution. Try going into the Temporary ASP.NET Files folder with
    your solution closed, and delete all the files. Then open the solution back
    up and rebuild.
    Peter

    --
    Co-founder, Eggheadcafe.com developer portal:
    http://www.eggheadcafe.com
    UnBlog:
    http://petesbloggerama.blogspot.com




    "André Silva" wrote:

    > "Unable to cast object of type 'ASP.masterpage_master' to type
    > 'ASP.masterpage_master'. "
    >
    > Every time I make a change on the web site and run it this error occurs. To
    > fix it I must rebuild entire web site which takes a lot of time.
    >
    > How can I run the site after a change widhout seeing this annoying error?
    >
     
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=, Feb 25, 2006
    #2
    1. Advertising

  3. Peter Bromberg,

    Your solution works but the issue happens all the time causing a big
    produtivity loss. Is there a more defenitive solution than delete the cache?



    André




    "Peter Bromberg [C# MVP]" wrote:

    > André,
    > This often happens when the temporary ASP.NET assembly files get out of sync
    > with the solution. Try going into the Temporary ASP.NET Files folder with
    > your solution closed, and delete all the files. Then open the solution back
    > up and rebuild.
    > Peter
    >
    > --
    > Co-founder, Eggheadcafe.com developer portal:
    > http://www.eggheadcafe.com
    > UnBlog:
    > http://petesbloggerama.blogspot.com
    >
    >
    >
    >
    > "André Silva" wrote:
    >
    > > "Unable to cast object of type 'ASP.masterpage_master' to type
    > > 'ASP.masterpage_master'. "
    > >
    > > Every time I make a change on the web site and run it this error occurs. To
    > > fix it I must rebuild entire web site which takes a lot of time.
    > >
    > > How can I run the site after a change widhout seeing this annoying error?
    > >
     
    =?Utf-8?B?QW5kcsOpIFNpbHZh?=, Apr 8, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nospam

    Annoying flaw / bug in ASP.NET

    nospam, Jun 6, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    775
    Kevin Spencer
    Jun 6, 2005
  2. Juan T. Llibre
    Replies:
    0
    Views:
    471
    Juan T. Llibre
    Jun 7, 2005
  3. RedEye
    Replies:
    2
    Views:
    588
    Jason Kester
    Dec 13, 2005
  4. =?ISO-8859-1?Q?Elmo_M=E4ntynen?=
    Replies:
    1
    Views:
    284
  5. Replies:
    15
    Views:
    152
    Richard Cornford
    Apr 24, 2005
Loading...

Share This Page