asp net running pages with masterpages

Posted on 2009-04-21
Last Modified: 2012-05-06

I'm receiving this error message when running my asp .net app in production server IIS,

BC30456: 'CreateResourceBasedLiteralControl' no es un miembro de 'ASP.masterpage2_master'.

I use masterpages and authentication mode="form"

while running within from VS 2008 there is no problem but when deployed.

Question by:daquinoz
    LVL 29

    Accepted Solution

    Hi daquinoz,
    There are quite some reasons to generate the errors as mentioned. You can check if these following solution helps:
    1. Make sure you have centralized namespace for the entire solution. If you have make any amendments lately, try delete the old DLL files and rebuild the solution before deploy again.
    2. Don't use ambiguous object declaration. You may use duplicate name for different classes or control in the solution.
    3. Invalid use of "Public" or "Private" usage in the classes. Double check this issue.

    Author Comment

    thanks a lot,
     the number 2 recomendation was the solution,

    (2. Don't use ambiguous object declaration. You may use duplicate name for different classes or control in the solution.)

    as I duplicated some aspx files and I didn't change the inherits and the name class in the copies ones it was causing the error.

    LVL 29

    Expert Comment

    by:David H.H.Lee
    Hi daquinoz,
    I'm glad you to hear good news from you regarding the resolved.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now