[Mono-list] 2013/08/01 master (mono/xsp) issue..

fldash fldash at gmail.com
Thu Aug 1 20:20:18 UTC 2013


I switched to tag 3.0.11 of XSP and I'm now getting an error message on the
URL that was blank before, but I'm not understanding why I'm getting it
based on the applications setting string I'm using...


On Thu, Aug 1, 2013 at 3:16 PM, fldash <fldash at gmail.com> wrote:

> I have a test MVC app (razoronmono) that doesn't seem to want to work
> below one level deep from the site root.  I just mono and xsp from master
> today around 11:00AM est.  I'm running Ubuntu 13.04 minimal.
>
> This works:
> http://coh2.us.to/razoronmono/
>
> This doesn't:
> http://coh2.us.to/apps/razoronmono/ (blank screen)
>
> All code in the subdirectories is the same...
>
>
> applications="/:/srv/www,/razoronmono:/srv/www/razoronmono,/apps/razoronmono:/srv/www/apps/razoronmono"
>
> nginx config:
>         location / {
>
>         }
>         location /razoronmono {
>                 include /etc/nginx/fastcgi_params;
>                 fastcgi_pass 127.0.0.1:9000;
>                 fastcgi_index /;
>         }
>
>         location /apps/razoronmono {
>                 include /etc/nginx/fastcgi_params;
>                 fastcgi_pass 127.0.0.1:9000;
>                 fastcgi_index /;
>         }
>         location ~ \.(aspx|asmx|ashx|asax|ascx|
> soap|rem|axd|cs|config|dll)$ {
>             fastcgi_pass   127.0.0.1:9000;
>             include        /etc/nginx/fastcgi_params;
>         }
>
> In addition to this issue, I'm also experiencing this which I don't
> understand:
> http://askubuntu.com/questions/327530/mono-3-0-mvc3-mvc4-libraries-still-required
>
>
> Basically I still have to include the DLLs that according to posts I'm not
> supposed to since Mono 2.12 (not show stopper but I'd still like to know
> why).
>
> Final note before I paste the DEBUG TRACE of the working and non-working.
> I noticed when I don't upload the .DLLs to the /bin folder, instead of
> getting a proper error about them, I get this: System.ArgumentException
> Destination array was not long enough. Check destIndex and length, and the
> array's lower bounds
>
> Description: HTTP 400.Error processing request.
>
> Details: Non-web exception. Exception origin (name of application or
> object): mscorlib.
> Exception stack trace:
> at (wrapper xdomain-invoke) Mono.WebServer.FastCgi.Responder:SendOutput
> (byte[],int) at (wrapper remoting-invoke-with-check)
> Mono.WebServer.FastCgi.Responder:SendOutput (byte[],int) at
> Mono.WebServer.FastCgi.WorkerRequest.SendResponseFromMemory (System.Byte[]
> data, Int32 length) [0x0000f] in
> /usr/src/xsp/src/Mono.WebServer.FastCgi/WorkerRequest.cs:109 at
> System.Web.HttpRuntime.FinishWithException (System.Web.HttpWorkerRequest
> wr, System.Web.HttpException e) [0x00071] in
> /usr/src/mono/mcs/class/System.Web/System.Web/HttpRuntime.cs:677 at
> System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest req) [0x0006b]
> in /usr/src/mono/mcs/class/System.Web/System.Web/HttpRuntime.cs:526 at
> System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00028] in
> /usr/src/mono/mcs/class/System.Web/System.Web/HttpRuntime.cs:487 at
> System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest wr)
> [0x0002b] in
> /usr/src/mono/mcs/class/System.Web/System.Web/HttpRuntime.cs:592 at
> Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00012] in
> /usr/src/xsp/src/Mono.WebServer/MonoWorkerRequest.cs:390
>
> DEBUG TRACE ON WORKING:
> Accepting an incoming connection.
> Record received. (Type: BeginRequest, ID: 1, Length: 8)
> Now handling record (with type BeginRequest)
> Record received. (Type: Params, ID: 1, Length: 1048)
> Now handling record (with type Params)
> Record received. (Type: Params, ID: 1, Length: 0)
> Now handling record (with type Params)
> Read parameter. (QUERY_STRING = )
> Read parameter. (REQUEST_METHOD = GET)
> Read parameter. (CONTENT_TYPE = )
> Read parameter. (CONTENT_LENGTH = )
> Read parameter. (SCRIPT_NAME = /razoronmono//)
> Read parameter. (REQUEST_URI = /razoronmono/)
> Read parameter. (DOCUMENT_URI = /razoronmono/)
> Read parameter. (DOCUMENT_ROOT = /srv/www)
> Read parameter. (SERVER_PROTOCOL = HTTP/1.1)
> Read parameter. (GATEWAY_INTERFACE = CGI/1.1)
> Read parameter. (SERVER_SOFTWARE = nginx/1.5.3)
> Read parameter. (REMOTE_ADDR = 68.97.71.12)
> Read parameter. (REMOTE_PORT = 53351)
> Read parameter. (SERVER_ADDR = 192.227.157.144)
> Read parameter. (SERVER_PORT = 80)
> Read parameter. (SERVER_NAME = localhost)
> Read parameter. (REDIRECT_STATUS = 200)
> Read parameter. (PATH_INFO = )
> Read parameter. (SCRIPT_FILENAME = /srv/www/razoronmono//)
> Read parameter. (HTTP_HOST = coh2.us.to)
> Read parameter. (HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64;
> rv:22.0) Gecko/20100101 Firefox/22.0)
> Read parameter. (HTTP_ACCEPT =
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8)
> Read parameter. (HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5)
> Read parameter. (HTTP_ACCEPT_ENCODING = gzip, deflate)
> Read parameter. (HTTP_DNT = 1)
> Read parameter. (HTTP_COOKIE = ASP.NET_SessionId=263602B93212FD778A265195;
> SMFCookie956=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%221%22%3Bi%3A1%3Bs%3A40%3A%2242f2a3b82974ae4665ba4716c29c8163106c5941%22%3Bi%3A2%3Bi%3A1564288760%3Bi%3A3%3Bi%3A0%3B%7D;
> PHPSESSID=usq516a7p8cqkub1anem7vi872;
> ASP.NET_SessionId=C50AD03F8787551F25E3300A)
> Read parameter. (HTTP_CONNECTION = keep-alive)
> Read parameter. (HTTP_CACHE_CONTROL = max-age=0)
> Record received. (Type: StandardInput, ID: 1, Length: 0)
> Now handling record (with type StandardInput)
> Record sent. (Type: StandardOutput, ID: 1, Length: 158)
> Record sent. (Type: StandardOutput, ID: 1, Length: 335)
> Record sent. (Type: StandardOutput, ID: 1, Length: 0)
> Record sent. (Type: EndRequest, ID: 1, Length: 8)
>
> DEBUG TRACE OF NON-WORKING (blank page):
>  Accepting an incoming connection.
> Record received. (Type: BeginRequest, ID: 1, Length: 8)
> Now handling record (with type BeginRequest)
> Record received. (Type: Params, ID: 1, Length: 1068)
> Now handling record (with type Params)
> Record received. (Type: Params, ID: 1, Length: 0)
> Now handling record (with type Params)
> Read parameter. (QUERY_STRING = )
> Read parameter. (REQUEST_METHOD = GET)
> Read parameter. (CONTENT_TYPE = )
> Read parameter. (CONTENT_LENGTH = )
> Read parameter. (SCRIPT_NAME = /apps/razoronmono//)
> Read parameter. (REQUEST_URI = /apps/razoronmono/)
> Read parameter. (DOCUMENT_URI = /apps/razoronmono/)
> Read parameter. (DOCUMENT_ROOT = /srv/www)
> Read parameter. (SERVER_PROTOCOL = HTTP/1.1)
> Read parameter. (GATEWAY_INTERFACE = CGI/1.1)
> Read parameter. (SERVER_SOFTWARE = nginx/1.5.3)
> Read parameter. (REMOTE_ADDR = 68.97.71.12)
> Read parameter. (REMOTE_PORT = 53385)
> Read parameter. (SERVER_ADDR = 192.227.157.144)
> Read parameter. (SERVER_PORT = 80)
> Read parameter. (SERVER_NAME = localhost)
> Read parameter. (REDIRECT_STATUS = 200)
> Read parameter. (PATH_INFO = )
> Read parameter. (SCRIPT_FILENAME = /srv/www/apps/razoronmono//)
> Read parameter. (HTTP_HOST = coh2.us.to)
> Read parameter. (HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64;
> rv:22.0) Gecko/20100101 Firefox/22.0)
> Read parameter. (HTTP_ACCEPT =
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8)
> Read parameter. (HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5)
> Read parameter. (HTTP_ACCEPT_ENCODING = gzip, deflate)
> Read parameter. (HTTP_DNT = 1)
> Read parameter. (HTTP_COOKIE = ASP.NET_SessionId=A16657F3B3AB1726209D9C5A;
> SMFCookie956=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%221%22%3Bi%3A1%3Bs%3A40%3A%2242f2a3b82974ae4665ba4716c29c8163106c5941%22%3Bi%3A2%3Bi%3A1564288760%3Bi%3A3%3Bi%3A0%3B%7D;
> PHPSESSID=usq516a7p8cqkub1anem7vi872;
> ASP.NET_SessionId=C50AD03F8787551F25E3300A)
> Read parameter. (HTTP_CONNECTION = keep-alive)
> Read parameter. (HTTP_CACHE_CONTROL = max-age=0)
> Record received. (Type: StandardInput, ID: 1, Length: 0)
> Now handling record (with type StandardInput)
> Record sent. (Type: StandardOutput, ID: 1, Length: 152)
> Record sent. (Type: StandardOutput, ID: 1, Length: 0)
> Record sent. (Type: EndRequest, ID: 1, Length: 8)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130801/b875aaec/attachment-0001.html>


More information about the Mono-list mailing list