Microsoft JScript runtime error: Object doesn't support this action

Posted by Gayathri under ASP.NET on 1/6/2011 | Points: 10 | Views : 6499 | Status : [Member] | Replies : 1
I was trying to execute this code at page load and it raised this error while unloading the page.

the code which i wrote in page load is

string strCon = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"].ToString();

SqlConnection sqlcon = new SqlConnection(strCon);
sqlcon.Open();

The page executes fine but while unloading it raises error.
please help. this has no jscript or javascript




Responses

Posted by: SheoNarayan on: 1/6/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hello Gayathri,

Have a look at this link http://social.msdn.microsoft.com/Forums/en/wlcontrolsdev/thread/1cd93302-9204-422f-ae8f-1e583203d538 if not solved, read this http://forums.asp.net/t/1182393.aspx.

Hope this helps.

Thanks!

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Gayathri, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response