Support Forum [ All Topics | New Topic ]

Thread: The remote server returned an error: (500) Internal Server Error.


When I use below code we are getting an below error : 

The remote server returned an error: (500) Internal Server Error.

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: (500) Internal Server Error.

Source Error:

Line 42:             reqStream.Write(postArray, 0, postArray.Length); Line 43:             reqStream.Close(); Line 44:             StreamReader sr = new StreamReader(webRequest.GetResponse().GetResponseStream()); Line 45:             string Result = sr.ReadToEnd(); Line 46:             Result = Result.ToString().Substring(39);

Source File: D:\Application\VegaJeweldiam\Vega.Web.UI\RepnetpriceUpload.aspx.cs Line: 44

Please update me if any solution

>> add a comment
Vega Jeweldiam
12/22/2017 05:37

2 Replies:

Hello, Thank you for contacting the Tech Forum.
From the details provided above, I can not tell what you were attempting to do, if this error just started or if you always get this error.

Please send a few more details to, along with your customer number (94472), so we can help more.

-  Which TechNet API and function (end-point) is this and can you please send a copy of the API request (sent to TechNet) and response (from TechNet)?

- Is this about a Rapnet price update - like 
      string URL = "";
      URL = " ";

Looking forward to your response,

>> add a comment
Tech customer support -Zalman
12/24/2017 4:03:00 AM
How are you?  Are you still getting the (500) Internal Server Error?

It would help knowing what function you are trying when you get this error.

You can send any details to us at  Awaiting you response - Thank you.

>> add a comment
Tech customer support -Zalman
12/28/2017 11:05:00 AM