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 |
|
|
|
Mar 24 2006, 02:21 AM
Post
#2
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 |
It could be an error in xanga. Weird things like that happen. I've seen that exact same error, but when I restarted my browser it worked. Try closing and opening up your browser.
|
|
|
|
Mar 24 2006, 10:02 AM
Post
#3
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Internal server error, it isn't your fault basically. I'd suggest actually restarting the whole computer or surfing around for a bit before trying again.
|
|
|
|
Mar 24 2006, 07:26 PM
Post
#4
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Jan 2006 Member No: 355,408 |
how do you restart the browser?
|
|
|
|
Mar 24 2006, 07:27 PM
Post
#5
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Could you read a little more carefully?
QUOTE Try closing and opening up your browser. Hence, restart. Wait a few minutes before opening it again tho.
|
|
|
|
Mar 24 2006, 07:39 PM
Post
#6
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Jan 2006 Member No: 355,408 |
Dont be rude, I didnt know what browser is. I think it worked because when I clicked on the pic button, this pops up
IMAGE SERVER MAINTENANCE We are currently performing maintenance to our Image Servers and this feature is temporarily disabled. Please visit TheXangaTeam site for status updates |
|
|
|
Mar 24 2006, 07:59 PM
Post
#7
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 |
Well there's your answer, xanga is doing some work. They should be finished shortly.
|
|
|
|
Mar 24 2006, 09:50 PM
Post
#8
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Jan 2006 Member No: 355,408 |
I had posted a previous message about the debug mode on xanga. I have restarted the browser, HENCE restarted the computer. Please, anyone please help me figure this out and be really really specific on the directions so I can understand it. And it's still showing this:
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() +907 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 |
|
|
|
Mar 24 2006, 09:54 PM
Post
#9
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Again, INTERNAL SERVER ERROR. And that's incorrect use of hence, unless you restarted your computer to restart your browser... Which would have been slightly redundant.
Contact Xanga if it bothers you that much. edit// Merged. |
|
|
|
![]() ![]() |