[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


http://bugzilla.novell.com/show_bug.cgi?id=554656


           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-2.4.3.2 (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:
http://blog.ruski.co.za/post/2009/10/14/Mono-Compile-Install-Script.aspx

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;
        fastcgi_pass 127.0.0.1:9000;
        include /etc/nginx/fastcgi_params;
    }

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

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

fastcgi server startup command:
fastcgi-mono-server2
/applications=vps-05-ubuntu-server.developmententity.sk:/:/var/www/nginx-default/
/socket=tcp:127.0.0.1:9000

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
(string)
  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:
2.0.50727.1433

Expected Results:
Run web application.

How often does this happen? 
Everytime.

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