Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 934127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:56:54+00:00 2026-05-15T20:56:54+00:00

My sharepoint webpart is throwing an error on my client’s environment when calling HttpWebRequest.GetRequestStream

  • 0

My sharepoint webpart is throwing an error on my client’s environment when calling HttpWebRequest.GetRequestStream (and he’s using a proxy server). The error is “unable to connect to the remote server.”

What’s the best way to reproduce this scenario (hooking up a mock proxy) on my end so that my requests go out through the proxy server as well? This will help to debug…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:56:54+00:00Added an answer on May 15, 2026 at 8:56 pm

    You can configure a proxy server in the HttpWebRequest object. As well as specifying the server address you can add any bypass addresses.

    http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.proxy(v=VS.71).aspx

    The proxy can also be specified in the config file. This may make it easier for you to test the solution.

    http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My sharepoint webpart is throwing an error when calling HttpWebRequest.GetRequestStream when the request is
I'm using a Sharepoint WebPart to load a UserControl which has a button that
I want to get user names in active directory by using sharepoint webpart. any
I am searching a SharePoint Server 2007 Webpart which can do following * change
I'm working on Add to Calendar feature from my Sharepoint webpart (created using VS2010).
I have developed a sharepoint 2010 visual webpart application with multiple visual webparts using
I'm developing a custom webpart for SharePoint 2007 using C# and Visual Studio. I
I have built a sharepoint webpart in sharepoint 2007. I have used windows server
Using MVVM 4 ASP in a SharePoint Visual WebPart I am coming across a
I am having a datetime control in sharepoint custom webpart <SharePoint:DateTimeControl runat=server ID=txtUKdtofAdm LocaleId=2057

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.