2007-07-19, 12:34 AM
Hello,
Below is an error I have started to get when choosing "Play All" in Music Library tab (built 64). Thank you
Server Error in '/gbpvr' Application.
--------------------------------------------------------------------------------
Length cannot be less than zero.
Parameter name: length
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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
Source Error:
Line 365: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Url.Authority,
Line 366: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Headers["Host"]);
Line 367: urlroot = urlroot.Substring(0, urlroot.IndexOf("public\\download.ashx"));
Line 368: foreach (string filename in filenames)
Line 369: {
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs Line: 367
Stack Trace:
[ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2848225
System.String.Substring(Int32 startIndex, Int32 length) +11
gbweb.Download.handleLibraryFolder(HttpRequest Request, HttpResponse Response, Boolean direct, String vpath) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:367
gbweb.Download.ProcessDownload(HttpRequest Request, HttpResponse Response, Boolean direct, Int32 rid, String path) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:146
gbweb.Download.ProcessRequest(HttpContext context) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:63
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +317
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Below is an error I have started to get when choosing "Play All" in Music Library tab (built 64). Thank you
Server Error in '/gbpvr' Application.
--------------------------------------------------------------------------------
Length cannot be less than zero.
Parameter name: length
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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
Source Error:
Line 365: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Url.Authority,
Line 366: Request.Url.Scheme + Uri.SchemeDelimiter + Request.Headers["Host"]);
Line 367: urlroot = urlroot.Substring(0, urlroot.IndexOf("public\\download.ashx"));
Line 368: foreach (string filename in filenames)
Line 369: {
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs Line: 367
Stack Trace:
[ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2848225
System.String.Substring(Int32 startIndex, Int32 length) +11
gbweb.Download.handleLibraryFolder(HttpRequest Request, HttpResponse Response, Boolean direct, String vpath) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:367
gbweb.Download.ProcessDownload(HttpRequest Request, HttpResponse Response, Boolean direct, Int32 rid, String path) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:146
gbweb.Download.ProcessRequest(HttpContext context) in c:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:63
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +317
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210