Debug Mode Help!!! Please! |
Debug Mode Help!!! Please! |
Mar 24 2006, 02:00 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Jan 2006 Member No: 355,408 |
I have been trying for several days to load pictures on the photo upload. I'm a premium member and I should have 100MB each month. I have only used 53% of the MB. But when I click on a pic to be loaded, this below pops up....if anyone knows how to do anything, please let me know...and be specific about it. Thanks!
Server Error in '/' Application. -------------------------------------------------------------------------------- SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. 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.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Source Error: The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application: <configuration> <system.web> <compilation debug="true"/> </system.web> </configuration> Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. Stack Trace: [SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.] System.Data.SqlTypes.SqlDateTime.FromTimeSpan(TimeSpan value) +615869 System.Data.SqlTypes.SqlDateTime.FromDateTime(DateTime value) +150 System.Data.SqlTypes.SqlDateTime..ctor(DateTime value) +13 System.Data.SqlClient.MetaType.FromDateTime(DateTime dateTime, Byte cb) +56 System.Data.SqlClient.TdsParser.WriteValue(Object value, MetaType type, Int32 actualLength, Int32 encodingByteSize, Int32 offset, TdsParserStateObject stateObj) +229 System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) +3977 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +415 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) in C:\Documents and Settings\Janet\My Documents\Visual Studio 2005\Projects\Xanga.SqlClientHelper\Microsoft.ApplicationBlocks.Data\SQLHelper.cs:335 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in C:\Documents and Settings\Janet\My Documents\Visual Studio 2005\Projects\Xanga.SqlClientHelper\Microsoft.ApplicationBlocks.Data\SQLHelper.cs:252 Xanga.SqlClientHelper.DBConnection.ExecuteNonQuery(DBConnectionType iConn, String spName, SqlParameter[] commandParameters) in C:\Documents and Settings\Janet\My Documents\Visual Studio 2005\Projects\Xanga.SqlClientHelper\Xanga.SqlClientHelper\DBConnection.cs:34 PhotosUtility.PhotoDB.InsertPicture(Int32 userId, String md5, String extension, Int32 width, Int32 height, Int32 imageSize, Int32 privacy, String title, String caption, String tagNames, DateTime datecapture, Int32 albumId) in C:\Projects\Subversion\Xanga\Photos\XangaPhotoTags\trunk\XangaPhotoTags\PhotosUtility\PhotoDB.cs:54 PhotosUtility.Photo.Save(UploadedFile& uploadfile, Int32 userId) in C:\Projects\Subversion\Xanga\Photos\XangaPhotoTags\trunk\XangaPhotoTags\PhotosUtility\Photo.cs:611 XangaPhoto.upload.doImage() +910 XangaPhoto.upload.Button1_Click(Object sender, EventArgs e) +124 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBa kEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
|
|
|
Maestro It could be an error in xanga. Weird things like t... Mar 24 2006, 02:21 AM
fishcake-y Internal server error, it isn't your fault bas... Mar 24 2006, 10:02 AM
kaytlin1220 how do you restart the browser? Mar 24 2006, 07:26 PM
fishcake-y Could you read a little more carefully?
QUOTETry c... Mar 24 2006, 07:27 PM
kaytlin1220 Dont be rude, I didnt know what browser is. I thin... Mar 24 2006, 07:39 PM
Maestro Well there's your answer, xanga is doing some ... Mar 24 2006, 07:59 PM
kaytlin1220 I had posted a previous message about the debug mo... Mar 24 2006, 09:50 PM
fishcake-y Again, INTERNAL SERVER ERROR. And that's incor... Mar 24 2006, 09:54 PM![]() ![]() |