vahid.rafiei
یک شنبه 05 تیر 1390, 15:33 عصر
سلام
من یه پروژه بزرگ رابا ای اس پی . نت شروع کردم . در ابتدا مشکلی نداشت ولی هر روزکه درخواست ها زیاد می شد و بازدیدکنندگان افزایش پیدا میکرد به مشکلات جدیدی بر میخورم . این پروژه روزانه شاید 2 ملیون رکورد داخل دیتابیس اضافه می کنه و گزارش گیریهای سنگینی هم داره
خطاهای عجیب قریبی رخ میده که همش در پیوست اومده .ولی همیشه این خطا ها رخ نمیده . شاید یه ساعت خوبه بعد یه دفعه میریزه گله هم
در زیرهم خطایی که مدیر سرور از لاگ سرور گرفته اومده . گفت بهم این خطا یه خطای یونیکه که راه حلش مشخصه ولی من چیزی سر در نمی یارم
ممنون میشم راهنماییم کنین
Event ID: 1309
Source: ASP.NET (http://asp.net/) 4.0.30319.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 25-06-2011 17.15.00
Event time (UTC): 25-06-2011 12.45.00
Event ID: 9ce42ed84324463692e5b8ec88aa4e9e
Event sequence: 19806
Event occurrence: 51
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/29423/Root-1-129534736957305000
Trust level: Full
Application Virtual Path: /
Application Path: D:\Inetpub\vhosts\smsbox.co (http://smsbox.co/)\httpdocs\
Machine name: PAYAMPAR-1F144B
Process information:
Process ID: 6984
Process name: w3wp.exe
Account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Exception information:
Exception type: InvalidCastException
Exception message: Unable to cast object of type 'System.Decimal' to type 'System.String'.
at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int3 2 i)
at Read_tb_admin(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.Ob jectReader`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at service_class.isActive(Decimal userCode, Decimal sCode)
at wf_user_sendGroupLatency.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request path: /wf_user_sendGroupLatency.aspx
User host address: 91.99.165.107
User:
Is authenticated: False
Authentication Type:
Thread account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Thread information:
Thread ID: 38
Thread account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Is impersonating: False
Stack trace: at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int3 2 i)
at Read_tb_admin(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.Ob jectReader`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at service_class.isActive(Decimal userCode, Decimal sCode)
at wf_user_sendGroupLatency.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
7160771608716097161071611
sayere khataha :
1)new reuest in not allowed to start because it should come with valid transaction descriptor
2)string or binary data would be truncated.the statement has been terminated
من یه پروژه بزرگ رابا ای اس پی . نت شروع کردم . در ابتدا مشکلی نداشت ولی هر روزکه درخواست ها زیاد می شد و بازدیدکنندگان افزایش پیدا میکرد به مشکلات جدیدی بر میخورم . این پروژه روزانه شاید 2 ملیون رکورد داخل دیتابیس اضافه می کنه و گزارش گیریهای سنگینی هم داره
خطاهای عجیب قریبی رخ میده که همش در پیوست اومده .ولی همیشه این خطا ها رخ نمیده . شاید یه ساعت خوبه بعد یه دفعه میریزه گله هم
در زیرهم خطایی که مدیر سرور از لاگ سرور گرفته اومده . گفت بهم این خطا یه خطای یونیکه که راه حلش مشخصه ولی من چیزی سر در نمی یارم
ممنون میشم راهنماییم کنین
Event ID: 1309
Source: ASP.NET (http://asp.net/) 4.0.30319.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 25-06-2011 17.15.00
Event time (UTC): 25-06-2011 12.45.00
Event ID: 9ce42ed84324463692e5b8ec88aa4e9e
Event sequence: 19806
Event occurrence: 51
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/29423/Root-1-129534736957305000
Trust level: Full
Application Virtual Path: /
Application Path: D:\Inetpub\vhosts\smsbox.co (http://smsbox.co/)\httpdocs\
Machine name: PAYAMPAR-1F144B
Process information:
Process ID: 6984
Process name: w3wp.exe
Account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Exception information:
Exception type: InvalidCastException
Exception message: Unable to cast object of type 'System.Decimal' to type 'System.String'.
at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int3 2 i)
at Read_tb_admin(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.Ob jectReader`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at service_class.isActive(Decimal userCode, Decimal sCode)
at wf_user_sendGroupLatency.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request path: /wf_user_sendGroupLatency.aspx
User host address: 91.99.165.107
User:
Is authenticated: False
Authentication Type:
Thread account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Thread information:
Thread ID: 38
Thread account name: PAYAMPAR-1F144B\IWPD_4(smsbox)
Is impersonating: False
Stack trace: at System.Data.SqlClient.SqlBuffer.get_String()
at System.Data.SqlClient.SqlDataReader.GetString(Int3 2 i)
at Read_tb_admin(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.Ob jectReader`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at service_class.isActive(Decimal userCode, Decimal sCode)
at wf_user_sendGroupLatency.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
7160771608716097161071611
sayere khataha :
1)new reuest in not allowed to start because it should come with valid transaction descriptor
2)string or binary data would be truncated.the statement has been terminated