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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:14:58+00:00 2026-06-02T08:14:58+00:00

I have the following, rather irritating, warning appearing my visual studio error list: The

  • 0

I have the following, rather irritating, warning appearing my visual studio error list:

The element 'behavior' has invalid child element 'silverlightFaults'. List of possible elements expected: 'clientVia, callbackDebug, callbackTimeouts, clear, clientCredentials, transactedBatching, dataContractSerializer, dispatcherSynchronization, remove, synchronousReceive, enableWebScript, webHttp, endpointDiscovery, soapProcessing'.

It originates from web.config. The application compiles fine, I just want to suppress the error.

What doesn’t work:

  • Right click > Suppress (it’s not an fxcop error)
  • Locating the warning ID in the build window and supressing it via project properties dialog (the warning does not show up in the build window).

Any way to hide this warning, or do I have to live with it?

  • 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-02T08:14:59+00:00Added an answer on June 2, 2026 at 8:14 am

    Solution found. You can update the schema file VS validates again to get rid of the warning. It will only work for your local pc, but if you’re anal-retentive about warnings like myself it’s worth it.

    • Open up the schema file in visual studio located at:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas\DotNetConfig.xsd

    • Click the link to open the XML Schema Explorer

    • Find the node system.serviceModel\behaviors\endpointBehaviors\behavior and double click it.

    XML Schema Explorer

    This will take you to the offending area in the schema file, which begins with:

    <xs:element name="behavior" vs:help="configuration/system.serviceModel/behaviors/endpointBehaviors/behavior">

    Two lines below that, you will see:

    <xs:choice minOccurs="0" maxOccurs="unbounded">

    Inside that node is where you want to add the offending element. In my case, I added the following:
    <xs:element name="silverlightFaults">
    </xs:element>

    • Save the file, navigate back to web.config and see that the warning is gone.

    Of course, make sure you make a backup of the file before doing this in case anything goes wrong.

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

Sidebar

Related Questions

Code which I have inherited keeps crashing out rather powerfully with the following error
I have the following class, which as you will see has rather a rather
I have following rather simple query select count(*) from tbl t1, tbl t2 For
Suppose I have the following (rather common) model Client invokes web service request ->
I found the following rather strange. Then again, I have mostly used closures in
I have the following tricky problem: I have implemented a (rather complicated) class which
I have following query which has select query that returns data in 5sec. But
I've got a problem that I'm rather confused about. I have the following lines
I have a rather complicated question (for me at least) I have the following
I currently have the following URL but it searchs for a keyword rather than

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.