[Mono-aspnet-list] Mono not working

CrisKolkman cris.kolkman at pro-shells.eu
Tue Dec 8 09:00:28 UTC 2015


Hello,

I have installed Mono on my CentOS 7 with ISPConfig 3 running.
I installed an HelpDesk package via ISPConfig, named SmarterTrack.
This is a website build in aspx and I installed all the required packages
needed to run aspx pages on Linux (as far as I could find which packages
were needed).

When I try to reach the website I get an error 500:

System.UnauthorizedAccessException
Access to the path "/\var\www\mydomain.com\web\testing\" is denied.

Description: HTTP 500.Error processing request.

Details: Non-web exception. Exception origin (name of application or
object): mscorlib.
Exception stack trace:
  at System.IO.Directory.CreateDirectoriesInternal (System.String path)
<0x40f1b550 + 0x0017f> in <filename unknown>:0 
  at System.IO.Directory.CreateDirectory (System.String path) <0x40f1b370 +
0x000c4> in <filename unknown>:0 
  at System.IO.DirectoryInfo.Create () <0x40f1c340 + 0x0001b> in <filename
unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
  at System.IO.Directory.CreateDirectoriesInternal (System.String path)
<0x40f1b550 + 0x00122> in <filename unknown>:0 
  at System.IO.Directory.CreateDirectory (System.String path) <0x40f1b370 +
0x000c4> in <filename unknown>:0 
  at SmarterTrack.MRS.HelperClasses.PathFactory.GetPhysicalPath
(System.String virtualFromRoot) <0x40f1e8b0 + 0x00049> in <filename
unknown>:0 
  at SmarterTrack.MRS.HelperClasses.PathFactory.get_ConfigPath ()
<0x40f1e820 + 0x0004b> in <filename unknown>:0 
  at SmarterTrack.MRS.HelperClasses.GlobalSettings..cctor () <0x40f1d0b0 +
0x00043> in <filename unknown>:0 

What could be the problem?
I do see that the path is incorrect where it is looking:
"/\var\www\mydomain.com\web\testing\"

Because the real path is:
"/var/www/clients/client1/mydomain.com/web/testing"

But how do I change the path Mono is looking and should this solve the error
500?



--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-not-working-tp4667109.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list