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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:43:05+00:00 2026-05-17T02:43:05+00:00

I try to execute this code in Silcerlight 4 contol hosted in webpart: clientCtx

  • 0

I try to execute this code in Silcerlight 4 contol hosted in webpart:

clientCtx = new ClientContext(ApplicationContext.Current.Url);
clientCtx.ValidateOnClient = true;
clientCtx.Load(clientCtx.Web);
clientCtx.ExecuteQueryAsync(updateConnectionStatus, Failed);

but it fails and go Failed method and I recive error: “The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.”

When I turn off security validation in central administration everything works. How to avoid this issue?

  • 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-17T02:43:05+00:00Added an answer on May 17, 2026 at 2:43 am

    You might have a cross-domain posting issue. See the following SO question that deails how to provision the clientaccesspolicy.xml file to prevent cross-domain posting issues.

    How can I add a ClientAccessPolicy.xml file to the SharePoint 2010 root folder?

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

Sidebar

Related Questions

My framework is raising a syntax error when I try to execute this code:
Today I got a really strange problem. Try to execute this C# code: class
I have this code to create new sql table when i execute this its
I try to execute raw SQL in Grails with this code: class PlainSqlService {
When I try and execute this code to print out an Arabic string: print(إضافة);
When I try to execute this code: package uk.org.infectogenomics.agent; import uk.org.infectogenomics.Agent.qa.Quasr; public static void
When I try to execute an external program from java I use this code
I get the following error when I try to execute this code segment :
When I try to execute this statement in Oracle SQL Developer 2.1 a dialog
Okay, I'm getting this error when I try to execute this procedure. The thing

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.