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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:25:46+00:00 2026-06-01T04:25:46+00:00

I am getting an exception on my server side code, which is serving up

  • 0

I am getting an exception on my server side code, which is serving up a silverlight app,

Win32Exception – No such interface supported

Our server side C# code starts up a separate process for a short task because of a third party dll not being thread safe. So the error above occurs in part of the code like this,

Process process = new Process();

ProcessStartInfo processStartInfo = new ProcessStartInfo();

processStartInfo.CreateNoWindow = true;
processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;

processStartInfo.FileName = 
    Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin", "PreviewGenerator.exe");

process.StartInfo = processStartInfo;

process.Start(); // THIS IS WHERE THE EXCEPTION OCCURS
process.WaitForExit();

The PreviewGenerator.exe process does not start when it is not working, the exception occurs where the comment is above.

UPDATE:

I have run process monitor on the IIS server when the issue occurs. This shows that the w3wp process does this,

Thread Create
Access the file PreviewGenerator.exe
Hive unloaded (this is the registry)
Thread Exit

And it does this before calling the other process. If I compare this with a the process monitor log when it is working it does this,

Thread Create
Access the file PreviewGenerator.exe
Process Start
Does heaps of stuff with PreviewGenerator.exe including reading / writing / registry, etc.
Process Exit
Hive unloaded
Thread Exit

But process monitor does not show any information as to why the first case doesn’t work.

Is there a way I can see why the thread exits prematurely?

Also I think this problem relates to when my server is being loaded up more, and much more memory is being used. How can I prove this?

  • 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-01T04:25:47+00:00Added an answer on June 1, 2026 at 4:25 am

    I found the best thing to do was to create a separate app pool for my application in IIS and set an upper limit for the amount of RAM it could use. Also I found it useful to turn on the ‘Generate Recycle Event Log Entry’ items under the app pool settings.

    You can then go to the system event log and filter out the items with a source of ‘WAS’ to understand what is going on in the app pools, when they are restarting and when they stop from being idle etc.

    I think the main problem in our case is that the IIS box was running out of memory. Tuning the app pools and adding some extra RAM seems to have solved it.

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

Sidebar

Related Questions

Getting these errors in some java code http://tutorials.jenkov.com/java-multithreaded-servers/multithreaded-server.html Exception in thread Thread-0 java.lang.RuntimeException: Cannot
I am getting some response from server side which i need to parse but
i am getting exception while the server starts. (Server is started using Intelij IDE).
I have the following code. When deployed to a server, i m getting exception
Each time I try to deploy my server side code, the build fails. If
Hi following is my code...I am trying to synchronize 2 database.. but getting exception
I have some python code on both the client and server side. I am
i'm getting exception on Transformer transformer = tFactory.newTransformer(StreamXSL); but the error below is not
On my Arch Linux, Eclipse with Google Window Builder/SWT application, I am getting Exception
I'm getting an Exception while trying to insert a row in oracle table. I'm

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.