velkropie

velkropie

  • NA
  • 19
  • 0

Help with a web control

Feb 1 2007 10:05 PM

I'm currently building a website. i've created a control called Support.ascx, i'm getting the below warning....the website builds ok, and run ok during test and in my local server...however when i published the web, and try to navigate to the page that contains the control i get an error...

"Parser Error Message: The base class includes the field 'Support1', but its type (UserControls_Support) is not compatible with the type of control (ASP.usercontrols_support_ascx)."


this is the warning from VS2005, if i just build the web...does anyone know how to fix this...by the way i have created about 10 other controls that donot have a problem....

thanks

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\3c\8677333c\634e8e08\App_Web_u8vhruev.8.cs(156,43): warning CS0436: The type 'UserControls_Support' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\3c\8677333c\634e8e08\App_Web_u8vhruev.8.cs'

conflicts with the imported type 'UserControls_Support' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\3c\8677333c\634e8e08\App_Web_support.ascx.6bb32623.qqchhuir.dll'.

Using the one in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\3c\8677333c\634e8e08\App_Web_u8vhruev.8.cs'.
Validation Complete
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========