my asp.net application was working fine initially when i was using Mysql 4 and mysql connector/net 5.2.2
but now i changed to mysql5 and mysql connector/net 6.3.6
now the following error occured....
System.NullReferenceException: Object reference not set to an instance of an object.
protected void Page_Load(object sender, EventArgs e)
Line 16: {
Line 17: String token=Membership.GetUser().UserName.ToString();
Line 18: MySqlConnectionClass ms = new MySqlConnectionClass();
Line 19: ms.sql_cmd.CommandText = "select * from employee_master where Token_no='" + token + "' and Allowed!='YES'";
...
Go to the complete details ...