Error in Asp,net when Partial Keyword Missing





0/5 (0 vote)
IN ASP.NET WHILE COMPILING WE FOUND FOLLOWING ERROR SOME TIME ..
BASICALLY IT OCCURRED WHEN WE CUT PASTE ALL SOURCE CODE
ERROR DESCRIPTION-
Error 1 'ASP.mapstream_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mapserverviewer\873018e3\324f1da0\App_Web_hka7dgu6.0.cs
Error 2 'ASP.mapstream_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mapserverviewer\873018e3\324f1da0\App_Web_hka7dgu6.0.cs
Error 3 'ASP.mapstream_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mapserverviewer\873018e3\324f1da0\App_Web_hka7dgu6.0.cs
if you found error some thing like above then
1)first check out this in code behind file -
public class Classname: System.Web.UI.Page
2) replace it with -
public class partial Classname: System.Web.UI.Page
your Problem should Solved..
-abid