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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:05:53+00:00 2026-05-28T18:05:53+00:00

After a server restart I sometimes get random CompilationException errors like this: CompilationException: CS0006:

  • 0

After a server restart I sometimes get random CompilationException errors like this:

CompilationException: CS0006: Metadata file `/tmp/apache-temp-aspnet-0/ca373c84/assembly/shadow/10cad1cb/02cb7ade_1201ab15_00000001/ZedGraph.dll' could not be found -> HttpException: Single file build failed

and you can’t access the application. If I restart the server again then the problem disappears.

The file that triggers the error can be one of my own dll’s or a dependency, like mysql.dll for instance.

I am using mono 2.10.2, CentOS release 5.7 (Final), Apache and mod_mono on a Linode VPS.

Any idea of what can be the cause?

Edit: Since my troubles started when I moved to Linode and they use XEN, I have found the option –with-xen_opt=yes that looks promissing:
http://mono-project.com/Advanced_Mono_Compile_Options

  • 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-28T18:05:54+00:00Added an answer on May 28, 2026 at 6:05 pm

    Sounds like a bug (race condition?) with the shadow copying and compilation. There have been others found and fixed before… see http://grendello.blogspot.com/2007/08/new-modmono-and-xsp-developments.html

    And this is a report of a similar problem in 2006 http://lists.ximian.com/pipermail/mono-list/2006-March/030970.html

    Rather than rebooting the system, you can try restarting apache. Note, I have found it can help to stop apache and then start, rather than a restart.

    You can also enable the mod_mono control panel and restart the application from there. Add this in apache config.

    <Location /monocp>
      SetHandler mono-ctrl
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1 <YOURIP>
    </Location>
    

    To automate this process take a look at Monit.

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

Sidebar

Related Questions

Sometimes I edit a file that represents a server restart. I would like to
I'd like to automatically restart the server after particular files are edited. Is there
After installing VMware Server I get the following error when I try to access
i want to automatically restart sql server after nightly rebuild index (in a job)
I am posting to the server using jquery ajax using $.post. After server returns
I'm creating a trigger in SQL Server after INSERT, UPDATE and DELETE. Is there
Anyone point my at a utility for syncing sql server logins after restoring a
After downloading files from a remote UNIX FTP server, you want to verify that
After laying out my schema diagram in SQL Server (both 2000 and 2005), I
After installing the VSTS Database GDR and importing a SQL Server 2005 database that

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.