asp net running pages with masterpages

Posted on 2009-04-21
Medium Priority
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
  • 2
LVL 29

Accepted Solution

David H.H.Lee earned 2000 total points
ID: 24201197
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

ID: 24207874
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
ID: 24212218
Hi daquinoz,
I'm glad you to hear good news from you regarding the resolved.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month16 days, 1 hour left to enroll

850 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