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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:25:32+00:00 2026-05-17T15:25:32+00:00

We have an application generated using the Sculpture software package . That means the

  • 0

We have an application generated using the Sculpture software package. That means the project is roughly equivalent to the code in a Prism application.

Part of their model is that all WCF Service calls are performed synchronously, but on background threads (actually they are async calls as well, but the Sculpture background thread methods wait around for the response before executing any following code).

When we deployed the application, we found that around 50% of all machines tested would not get past the first service call. We cannot see any pattern in the machines that fail as they are have a mixture of both Debug and Release Silverlight runtime and Windows 7 on machines that work as well as fail. It fails the same on different browser so is machine specific. The only clue is they all seem to be older PCs.

Ideas anyone?

  • 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-17T15:25:33+00:00Added an answer on May 17, 2026 at 3:25 pm

    Found the cause. There is a schoolboy error in their generated service calls.

    What’s wrong with this picture?:

    while (true == userState.IsBusy)
    {}
    

    Ignoring the old-school use of true == (not needed in C#), basically their while loop locks up so tight on some machines the IsBusy state is never set. It also means that the application is always running 100% processor use whenever a service call was made.

    We have fixed the problem by adding Thread.Sleep(100) in all the service call while loops. e.g.:

    while (userState.IsBusy)
    { 
        Thread.Sleep(100);
    }
    

    Our app is now working on all Silverlight capable machines (as it should) and is using a lot less processor to boot.

    To be fair we are not using the very latest release of sculpture, but it was quite suprising to see such a silly mistake in a commercial package.

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

Sidebar

Related Questions

I'm using C# and i have written a locally installed application that dynamically generates
i have a console application that generated from bison (a parser) and i want
I have a legacy C++-based application that timestamps incoming network traffic using the CRT
I am not familiar with dojo. I have this application I am using that
We have an application that generates simulated data for one of our services for
Background: we have an application that generates reports from HTML (that may or may
I have an application that uses window.open() to generate dynamic popups. Unfortunately, I've had
I have a flex application that needs the ability to generate and execute JavaScript.
I have an application that sends messages to an external web service. I build
I have some C# code which is using CSharpCodeProvider.CompileAssemblyFromSource to create an assembly in

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.