PDA

View Full Version : مشکل با دیتاریدر بعد از آپلود برنامه



armangara
پنج شنبه 20 فروردین 1388, 20:00 عصر
سلام
من برنامه ام رو آپلود کردم اما تو یه صفحه خاص خطا میدهد که یک دیتاریدر مرتبط با این کامند باز هست. من کل سورس اون صفحه رو چک کردم و هیچ دیتاریدری باز نیست.
تو لوکال که اجرا می کنم مشکلی نداره و خطا نمی دهد.
ممنونم میشم راهنماییم کنید

online_mansoor2007
پنج شنبه 20 فروردین 1388, 20:35 عصر
نه پیغام رو گذاشتید و نه سورس برنامه رو . آخه از غیب چطور میشه جواب داد؟؟؟؟

armangara
شنبه 22 فروردین 1388, 01:18 صبح
دوست عزيز پيغام خطا اينه:


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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
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) +4846116 System.Data.SqlClient.SqlConnection.ValidateConnec tionForExecute(String method, SqlCommand command) +23 System.Data.SqlClient.SqlCommand.ValidateCommand(S tring method, Boolean async) +144 System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +87 System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32 System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method) +141 System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior) +70 fa_customer_code_step1.masirid() +214 fa_customer_code_step1.btnGo_Click(Object sender, EventArgs e) +687 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565