OOPS!!!
Crash!!!
I was giving the ASP.NET test and application crashed:
Well I scored 18 out of 25 by the time :)
Following is the URL:
http://www.quiznetonline.com/Practic...x?Group=aspnet
and Following is the error description:
Server Error in '/' Application.
There is already an open DataReader associated with this Command which
must be closed first.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: There is already
an open DataReader associated with this Command which must be closed
first.
Source Error:
Line 66: {
Line 67: Topic topic = new Topic();
Line 68: List<Topictopics =
topic.LoadTopics(Request.QueryString["Group"].ToString(),true);
Line 69: topic = topics[0];
Line 70:
Source File: d:\hosting\markcrosbie\PracticeTest.aspx.cs Line: 68
Stack Trace:
[InvalidOperationException: There is already an open DataReader
associated with this Command which must be closed first.]
System.Data.SqlClient.SqlInternalConnectionTds.Val idateConnectionForExecute(SqlCommand
command) +730343
System.Data.SqlClient.SqlConnection.ValidateConnec tionForExecute(String
method, SqlCommand command) +21
System.Data.SqlClient.SqlCommand.ValidateCommand(S tring method,
Boolean async) +56
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method, DbAsyncResult result) +73
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteReader() +84
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Reader(SqlConnection
connection, SqlTransaction transaction, CommandType commandType,
String commandText, SqlParameter[] commandParameters,
SqlConnectionOwnership connectionOwnership) in SQLHelper.cs:830
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Reader(SqlConnection
connection, CommandType commandType, String commandText,
SqlParameter[] commandParameters) in SQLHelper.cs:955
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Reader(SqlConnection
connection, String spName, Object[] parameterValues) in SQLHelper.cs:
985
QuizNetOnlineLogic.Topic.LoadTopics(String TopicCode, Boolean
IncludeMovie) in QuizNetOnlineComponents.cs:394
Exam.GetTopicDetails() in d:\hosting\markcrosbie
\PracticeTest.aspx.cs:68
Exam.Page_Load(Object sender, EventArgs e) in d:\hosting\markcrosbie
\PracticeTest.aspx.cs:28
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp,
Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object
sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1061
Well the test is having good questions :)
Best Regards,
Anup Daware
On Feb 2, 8:04 am, "Mark C" <MarkJohnCros...@gmail.comwrote:
Hi
I was in the progress of developing a web site whereby developers can
do free online tests on various programming languages. After initial
feedback I managed to fix quite a few issues and changed the look and
feel.
I would just like some futher comments\tips\hints or feedback
The site ishttp://www.quiznetonline.com
Thanks in advance
Mark