[Mono-dev] xsp2 won't run when invoked as service

Tomasz Kubacki tomasz.kubacki at gmail.com
Wed Jan 12 17:18:01 EST 2011


Hi,
I've sheeva plug box (arm) with default mono 2.6.1 and facing strange
issue.
I can run my asp.net app from console without any problems, but when i try
to run it as a service i've got below error on request.
What can cause this ?

cheers,

Tomasz Kubacki
-------------------------------------

Error: System.UnauthorizedAccessException: Access to the path
"/root/Piecyk/[Unknown]" is denied.
  at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32
offset, Int32 count) [0x00000] in <filename unknown>:0
  at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset,
Int32 count) [0x00000] in <filename unknown>:0
  at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32
count) [0x00000] in <filename unknown>:0
  at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
  at System.IO.StreamReader.ReadLine () [0x00000] in <filename unknown>:0
  at System.IO.UnexceptionalStreamReader.ReadLine () [0x00000] in <filename
unknown>:0
  at System.IO.SynchronizedReader.ReadLine () [0x00000] in <filename
unknown>:0
  at System.Console.ReadLine () [0x00000] in <filename unknown>:0
  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root,
IApplicationHost ext_apphost, Boolean quiet) [0x00000] in <filename
unknown>:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110112/af08d4f6/attachment.html 


More information about the Mono-devel-list mailing list