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

  • Home
  • SEARCH
  • 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 8090041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:35:29+00:00 2026-06-05T19:35:29+00:00

I am using HSS Interlink to upload download files in my application. The issue

  • 0

I am using HSS Interlink to upload download files in my application. The issue i am facing is that my download handler is returning HTTPStatusCodes like 500,404 etc. but the issue is when i fiddle the request it properly shows the 500 status code that i really wanted to returned, but in silverlight client when i check HttpWebResponse.Status in exception i get 404..
i further investigated this on msdn and found a really weird remarks:

The only status code values returned for the HTTP and HTTPS schemes
are OK and NotFound.

http://msdn.microsoft.com/en-us/library/system.net.httpstatuscode%28v=vs.95%29.aspx

Is there anyone can shed some light on this? does it means silverlight webClient can only have OK and NotFound Status in response?

  • 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-06-05T19:35:30+00:00Added an answer on June 5, 2026 at 7:35 pm

    Found an answer to it.. silverlight need to register url scheme to that it can handle incoming httpstatus codes.

    bool httpResult = WebRequest.RegisterPrefix("http://", WebRequestCreator.ClientHttp);
    bool httpsResult = WebRequest.RegisterPrefix("https://", WebRequestCreator.ClientHttp);
    

    I am sure this is not the the only use of RegisterPrefix. i would like others to help me understand what are the potential usage of it..

    EDIT:

    silverlight offers to work in two modes with http stack. one is browserStack that is used by default. all cookies and auth header are handled by browser, but it will not send any status code in return to silverlight client.

    ClientHttp stack on other hand offers you to get status codes and other exception details but it requires you to manage everything by yourself including cookies, headers etc.

    Regards.

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

Sidebar

Related Questions

(Using WPF) In a small application that I wrote, I am using some count-down
Using Jenkins or Hudson I would like to create a pipeline of builds with
Using Yii, I want to delete all the rows that are not from today.
Using the opencart image manager how would I set the upload to automatically remove:
Using EF Code First I have an model object that has multiple properties that
Using Rails 3.2.0 with haml and sass: I Would like to link an external
Using Android TelephonyManager an application can obtain the state of data activity over the
using grep, vim's grep, or another unix shell command, I'd like to find the
Using php's DOMDocument->LoadHTMLFile('test.html'); keeps on returning an error to me, reporting for an error
Using report builder 3.0, I have a report that queries a cube. How do

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.