Server Error in '/' Application.

The remote server returned an error: (401) Unauthorized.

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: (401) Unauthorized.

Source Error:


Line 78:                 }
Line 79: 
Line 80:                 redirectUrl = new Billing.Services.BillingService().GetPaymentUrl(parameters, contractId);
Line 81: 
Line 82:                 Response.Redirect(redirectUrl,true);

Source File: C:\Webydo\ReleaseCandidates\rc-1.0.25-new\march19\dashboard\CMTWebsite\SpecialOffers.aspx.cs    Line: 80

Stack Trace:


[WebException: The remote server returned an error: (401) Unauthorized.]
   System.Net.HttpWebRequest.GetResponse() +1751
   Billing.Services.PlimusService.GetApiResponse(String uri, String type, String reqBody) +464
   Billing.Services.PlimusService.encryptParams(Dictionary`2 parameters) +569
   Billing.Services.PlimusService.PrepareBuyNowUrl(Dictionary`2 dict, String contractId) +862
   Billing.Services.BillingService.GetPaymentUrl(Dictionary`2 dict, String contractId) +81
   SpecialOffers.Page_Load(Object sender, EventArgs e) in C:\Webydo\ReleaseCandidates\rc-1.0.25-new\march19\dashboard\CMTWebsite\SpecialOffers.aspx.cs:80
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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