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 816239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:47:57+00:00 2026-05-15T01:47:57+00:00

Hello I have an issue deploying my silverlight project to an existing website (normal

  • 0

Hello I have an issue deploying my silverlight project to an existing website (normal website with aspx pages).

Everything works fine except that when silverlight tries to connect to the RIA service, it fails because the website is redirecting each time to the login page.

I found this on the web.config of the site that seems to make the trouble:

<system.serviceModel>
    <bindings>
        <basicHttpBinding>
            <binding name="AdWsSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
                receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
                bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                useDefaultWebProxy="true">
                <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                <security mode="None">
                    <transport clientCredentialType="None" proxyCredentialType="None"
                        realm="" />
                    <message clientCredentialType="UserName" algorithmSuite="Default" />
                </security>
            </binding>
        </basicHttpBinding>
    </bindings>
    <client>
        <endpoint address="http://webserver/ADWS/AdWs.asmx" binding="basicHttpBinding"
            bindingConfiguration="AdWsSoap" contract="AdWs.AdWsSoap" name="AdWsSoap" />
    </client>


    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />


</system.serviceModel>

As you can see, the site is using a custom binding, and I guess that the RIA service pass through it and thats why it redirects to the login page of the site.
I can’t modify this custom binding (because it will affect many other applications that runs with this configuration).

Is there a way to solve this problem maybe specifying the RIA service not to use this custom binding??

I tried to create the .SVC file by myself and to override the AddEndpoints this way:

protected override void AddEndpoints()
    {
        foreach (Uri uri in this.BaseAddresses)
        {
            AddRestWithJsonEndpoint(uri);
        }
    }

But it keeps passing through the custom binding. Please help.

Thanks in advance.

  • 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-15T01:47:58+00:00Added an answer on May 15, 2026 at 1:47 am

    After playing around for some time, I found out how to solve my issue:

    First of all, everything depends on web.config and the tags it contains. For example, in my case, I was creating a separate config file for silverlight configurations, but at the end all I needed was to merge my silverlight’s project web.config with the one I got on the main web site.

    Second, pay attention to connection strings used around silverlight project, in my case, I got many connection strings in some layers around the project, so I forgot to copy a couple of the on the main web.config and that was the reason I was having errors.

    Hope It helps somebody.

    Bye.

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

Sidebar

Related Questions

No related questions found

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.