Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Error in Asp,net when Partial Keyword Missing

, 23 May 2010
Rate this:
Please Sign up or sign in to vote.
IN ASP.NET WHILE COMPILING WE FOUND FOLLOWING ERROR SOME TIME ..
 
BASICALLY IT OCCURRED WHEN WE CUT PASTE ALL SOURCE CODE
 
ERROR DESCRIPTION-
 
<pre lang="msil">Error   1   &#39;ASP.mapstream_aspx.GetTypeHashCode()&#39;: 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   &#39;ASP.mapstream_aspx.ProcessRequest(System.Web.HttpContext)&#39;: 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   &#39;ASP.mapstream_aspx&#39; does not implement interface member &#39;System.Web.IHttpHandler.IsReusable&#39;   c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mapserverviewer\873018e3\324f1da0\App_Web_hka7dgu6.0.cs</pre>
 
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

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

abidinamdar
Founder Limrass Technologies Kolhapur India
India India
I believe that identifying and nurturing the right team culture and following agile methods are keys to successful software engineering. Working on New Fresh Teams has been an enjoyable part of my career. I

My career focus has been on Microsoft Windows products for the consumer and enterprise markets. and Started working on new Technologies Like WPF WCF ...
Follow on   Twitter

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web03 | 2.8.140905.1 | Last Updated 24 May 2010
Article Copyright 2010 by abidinamdar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid