[Mono-bugs] [Bug 554656] New: Cannot run any kind of ASP.NET web application (Argument cannot be null. Parameter name: path)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 11 14:16:01 EST 2009


           Summary: Cannot run any kind of ASP.NET web application
                    (Argument cannot be null. Parameter name: path)
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: bosak.tomas at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: System Test

Description of Problem:
OS: Ubuntu Server 9.10
Mono: mono- (compiled from source)
XSP: xsp-2.4.2 (compiled from source)
Web server: Nginx 0.7.62

I installed on KVM virtual above stuff. Everything was running fine and then
after few days CPU load run up to 100% and fastcgi-mono-server2 process was not
responding, so I killed the process and run it again. Very same day out of
nowhere with every ASP.NET web application I get this error: "Argument cannot
be null. Parameter name: path". So I removed whole virtual and set it up again
with exactly same configuration but the problem is still the same.

Mono and XSP installation procedure:

Nginx configuration (in /etc/nginx/sites-enabled/default):
server {
    listen   80;
    server_name  localhost;

    access_log  /var/log/nginx/localhost.access.log;

    location / {
        root   /var/www/nginx-default;
        index  index.html index.htm index.aspx default.aspx Default.aspx;
        fastcgi_index Default.aspx;
        include /etc/nginx/fastcgi_params;

    location /doc {
        root   /usr/share;
        autoindex on;
        deny all;

    location /images {
        root   /usr/share;
        autoindex on;

fastcgi server startup command:

Actual Results:
Server Error in '/' Application

Argument cannot be null. Parameter name: path

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentNullException: Argument cannot be null.
Parameter name: path
  at System.IO.FileSystemInfo.CheckPath (System.String path) [0x00000] 
  at System.IO.DirectoryInfo..ctor (System.String path, Boolean
simpleOriginalPath) [0x00000] 
  at System.IO.DirectoryInfo..ctor (System.String path) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor
  at Mono.WebServer.FastCgi.WorkerRequest.GetFilePath () [0x00000] 
  at Mono.WebServer.FastCgi.WorkerRequest.GetUriPath () [0x00000] 
  at System.Web.HttpRequest.get_Path () [0x00000] 
  at System.Web.Configuration.WebConfigurationManager.GetSection (System.String
sectionName, System.String path, System.Web.HttpContext context) [0x00000] 
  at System.Web.Configuration.WebConfigurationManager.GetSection (System.String
sectionName, System.String path) [0x00000] 
  at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection
(System.String sectionName) [0x00000] 
  at System.Web.Compilation.AppCodeCompiler.Compile () [0x00000] 
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
context) [0x00000] 
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:

Expected Results:
Run web application.

How often does this happen? 

Additional Information:

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list