R
robseflops
Hi!
I have a Asp.net 2.0 application that uses a masterpage. It works fine
on the development machine but when I move the app to a Win 2003 server
thinks go wrong: When I navigate to a page that uses the masterpage I
get the CS0246 error:
Compiler Error Message: CS0246: The type or namespace name
'TemplateContainer' could not be found (are you missing a using
directive or an assembly reference?)
Source Error:
Line 117: }
Line 118:
Line 119: [TemplateContainer(typeof(System.Web.UI.MasterPage))]
Line 120:
[TemplateInstanceAttribute(System.Web.UI.TemplateInstance.Single)]
Line 121: public virtual System.Web.UI.ITemplate
Template_ContentPlaceHolder1 {
Pages that don't use the masterpage work OK,
any ideas?
many thanks in advance
I have a Asp.net 2.0 application that uses a masterpage. It works fine
on the development machine but when I move the app to a Win 2003 server
thinks go wrong: When I navigate to a page that uses the masterpage I
get the CS0246 error:
Compiler Error Message: CS0246: The type or namespace name
'TemplateContainer' could not be found (are you missing a using
directive or an assembly reference?)
Source Error:
Line 117: }
Line 118:
Line 119: [TemplateContainer(typeof(System.Web.UI.MasterPage))]
Line 120:
[TemplateInstanceAttribute(System.Web.UI.TemplateInstance.Single)]
Line 121: public virtual System.Web.UI.ITemplate
Template_ContentPlaceHolder1 {
Pages that don't use the masterpage work OK,
any ideas?
many thanks in advance