asp net running pages with masterpages


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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
daquinozAuthor Commented:
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.

David H.H.LeeCommented:
Hi daquinoz,
I'm glad you to hear good news from you regarding the resolved.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.