“/WebSite”应用程序中的服务器错误。

来源:互联网 发布:店宝宝软件下载 编辑:程序博客网 时间:2024/06/05 03:59

SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlTypes.SqlTypeException: SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间。

源错误:

行 49:         JobApplyR.EduExp = txtEduExp.Value;行 50: 行 51:         JobSys.AddJobApply(JobApplyR.JobID, JobApplyR.RealName, JobApplyR.Sex, JobApplyR.BirthDay行 52:             , JobApplyR.Cenaddress, JobApplyR.Graduate, JobApplyR.Education, JobApplyR.Speciality行 53:             , JobApplyR.EnglishLevel, JobApplyR.Province, JobApplyR.Address, JobApplyR.Postcode

源文件: e:/ilinoi/WebSite/html/workform.aspx.cs    行: 51

堆栈跟踪:

[SqlTypeException: SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间。]   System.Data.SqlTypes.SqlDateTime.FromTimeSpan(TimeSpan value) +331   System.Data.SqlTypes.SqlDateTime.FromDateTime(DateTime value) +147   System.Data.SqlTypes.SqlDateTime..ctor(DateTime value) +21   System.Data.SqlClient.MetaType.FromDateTime(DateTime dateTime, Byte cb) +68   System.Data.SqlClient.TdsParser.WriteValue(Object value, MetaType type, Int32 actualLength, Int32 encodingByteSize, Int32 offset, TdsParserStateObject stateObj) +1161   System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) +4085   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1038   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +314   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +413   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +115   ilinoi.DataAccess.dsJobTableAdapters.JobApplyTableAdapter.AddJobApply(Nullable`1 JobID, String RealName, Nullable`1 Sex, Nullable`1 BirthDay, String Cenaddress, String Graduate, String Education, String Speciality, String EnglishLevel, String Province, String Address, String Postcode, String TEL, String Mobile, String Email, String JobExp, String EduExp, Nullable`1 PublishDate, Nullable`1 Process) in E:/ilinoi_WebSite/ilinoi_beifen/3_14_17:59/ilinoi/DataAccess/dsJob.Designer.cs:4685   ilinoi.Business.JobSystem.AddJobApply(Int32 JobID, String RealName, Int32 Sex, DateTime BirthDay, String Cenaddress, String Graduate, String Education, String Speciality, String EnglishLevel, String Province, String Address, String Postcode, String TEL, String Mobile, String Email, String JobExp, String EduExp) in E:/ilinoi_WebSite/ilinoi_beifen/3_14_17:59/ilinoi/Business/JobSystem.cs:123   html_workform.btnAdd_Click(Object sender, EventArgs e) in e:/ilinoi/WebSite/html/workform.aspx.cs:51   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4926


版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832