Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net nginx&;fastcgi mono服务器:运行dmcs时出错:找不到指定的文件_Asp.net_Nginx_Fastcgi - Fatal编程技术网

Asp.net nginx&;fastcgi mono服务器:运行dmcs时出错:找不到指定的文件

Asp.net nginx&;fastcgi mono服务器:运行dmcs时出错:找不到指定的文件,asp.net,nginx,fastcgi,Asp.net,Nginx,Fastcgi,我一直在试用nginx&fastcgi-mono-server4(在ubuntu11natty上),发现以下asp.net运行时错误: 描述:HTTP 500。处理请求时出错。 System.SystemException:运行dmcs时出错:找不到指定的文件 我本来打算把这个问题发到stackoverflow上,但在打字的中途(实际上正确地阅读了邮件!)我找到了解决方法。参见答案。参见原始问题的评论 这解决了它 $PATH=$PATH:/opt/mono-2.10/binmono已经安装在我的

我一直在试用nginx&fastcgi-mono-server4(在ubuntu11natty上),发现以下asp.net运行时错误:

描述:HTTP 500。处理请求时出错。 System.SystemException:运行dmcs时出错:找不到指定的文件


我本来打算把这个问题发到stackoverflow上,但在打字的中途(实际上正确地阅读了邮件!)我找到了解决方法。参见答案。

参见原始问题的评论

这解决了它


$PATH=$PATH:/opt/mono-2.10/bin

mono已经安装在我的系统的/opt/mono-2.10中,所以我只需要将/opt/mono-2.10/bin添加到PATH环境变量中&这就解决了问题。