Sometimes in my web applications I used to get this sort of error, I have no clue why is it coming however if I refresh the page few times the page is loading normally.

I am using .net framework 2.0 and visual web developer 2005.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have only ever seen this error message when the class that is contained in your file is diffrent from the class being called in the HTML page
For example at the top of your html page there will be a line of code that goes something like this:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="@whereyourcodeis.aspx.cs" Inherits="@ClassName" Title="whatever" %>and in your whereyourcodeis.aspx.cs file there should be a constructor method that has the same name as the inherits line in your html. ie
Class ClassName{ rest of your code}If for some reason these two names do not match you get the error you have, hope this can shine some light on where your code is going wrong