Click here to Skip to main content
12,632,278 members (25,898 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.5K views
Posted

Error in Asp,net when Partial Keyword Missing

, 24 May 2010 CPOL
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

Abid_Inamdar
Founder
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 ...

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 24 May 2010
Article Copyright 2010 by Abid_Inamdar
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid