Server Error in '/' Application.

The remote server returned an error: (503) Server Unavailable.

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.Net.WebException: The remote server returned an error: (503) Server Unavailable.

Source Error:


Line 386:            End If
Line 387:
Line 388:            Dim response_ As Byte() = client.UploadValues(AppSettings("API_URL") & "/override/JSON/requestusedbikedetails", New NameValueCollection() From {
Line 389:                {"ID", Page.RouteData.Values("AssetID")},
Line 390:                {"URL", Request.Url.ToString},

Source File: C:\inetpub\wwwroot\Applications\ContentManagedSites\YAMAHA_MANUFACTURER_SITES\YAMAHA-CORE\Live\model-enquire.aspx.vb    Line: 388

Stack Trace:


[WebException: The remote server returned an error: (503) Server Unavailable.]
   System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data) +483
   System.Net.WebClient.UploadValues(String address, NameValueCollection data) +35
   model_enquire.InitializeUsedBikePage() in C:\inetpub\wwwroot\Applications\ContentManagedSites\YAMAHA_MANUFACTURER_SITES\YAMAHA-CORE\Live\model-enquire.aspx.vb:388
   model_enquire.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Applications\ContentManagedSites\YAMAHA_MANUFACTURER_SITES\YAMAHA-CORE\Live\model-enquire.aspx.vb:37
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0