[Mono-list] System.UnauthorizedAccessException: Access to the path "/root/tmp/nobody-temp-aspnet/a7187684" is denied.

Ing. Michal Skala michal@orix.sk
Thu, 7 Oct 2004 13:52:43 +0200


This is a multi-part message in MIME format.

--=====003_Dragon546348767788_=====
Content-Type: text/plain;
	charset="windows-1250"
Content-Transfer-Encoding: 7bit

Hello,

I have problem with running mono via apache server.

When I run a application, this error is diplayed:

Server error in '/poll' application



Description: Error processing request. 
Error Message: HTTP 500. 
Stack Trace: System.UnauthorizedAccessException: Access to the path "/root/tmp/nobody-temp-aspnet/a7187684" is denied.
in <0x00058> System.IO.Directory:Exists (string)
in <0x00290> System.Web.Compilation.BaseCompiler:GetCompiledType ()
in <0x00251> System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x00070> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType (string,System.Web.HttpContext)
in <0x00047> System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)
in <0x00032> System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext)
in <0x0007a> System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
in <0x00132> System



How can I change the /root/tmp directory to btw. /tmp ?

Thanks for help me.

Michal

--=====003_Dragon546348767788_=====
Content-Type: text/html;
	charset="windows-1250"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=t></FONT><FONT face=Tahoma size=2>Hello,</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>I have problem with running mono via apache 
server.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>When I run a application, this error is 
diplayed:</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV>
<H1><FONT color=red>Server error in '/poll' application</FONT></H1>
<HR>

<H2><FONT color=maroon><I></I></FONT></H2><B>Description: </B>Error processing 
request. 
<P><B>Error Message: </B>HTTP 500. 
<P><B>Stack Trace: </B>
<TABLE width="100%" bgColor=#ffffc summary="Stack Trace">
  <TBODY>
  <TR>
    <TD><CODE><PRE>System.UnauthorizedAccessException: Access to the path "/root/tmp/nobody-temp-aspnet/a7187684" is denied.
in &lt;0x00058&gt; System.IO.Directory:Exists (string)
in &lt;0x00290&gt; System.Web.Compilation.BaseCompiler:GetCompiledType ()
in &lt;0x00251&gt; System.Web.Compilation.AspGenerator:GetCompiledType ()
in &lt;0x00070&gt; System.Web.UI.ApplicationFileParser:GetCompiledApplicationType (string,System.Web.HttpContext)
in &lt;0x00047&gt; System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)
in &lt;0x00032&gt; System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext)
in &lt;0x0007a&gt; System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
in &lt;0x00132&gt; System</PRE></CODE></TD></TR></TBODY></TABLE></P></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>How can I change the /root/tmp directory to btw. 
/tmp ?</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Thanks for help me.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Michal</FONT></DIV></BODY></HTML>

--=====003_Dragon546348767788_=====--