c# - Sample web Page using Mono and XSP on windows box -
i'm attempting first asp.net web page working on windows using mono , xsp web server.
i'm following chaps example. first part of example works latest version of mono. web part seems fall on following error
'{path name}\index.aspx.cs' not valid virtual path.
here's full stack trace:
system.web.httpexception: 'c:\projects\mono\aspexample\simpleapp\index.aspx.cs' not valid virtual path. @ system.web.httprequest.mappath (system.string virtualpath, system.string basevirtualdir, boolean allowcrossappmapping) [0x00000] @ system.web.httprequest.mappath (system.string virtualpath) [0x00000] @ system.web.compilation.buildmanager.addtocache (system.string virtualpath, system.web.compilation.buildprovider bp) [0x00000] @ system.web.compilation.buildmanager.buildassembly (system.web.virtualpath virtualpath) [0x00000] @ system.web.compilation.buildmanager.getcompiledtype (system.string virtualpath) [0x00000] @ system.web.compilation.buildmanager.createinstancefromvirtualpath (system.string virtualpath, system.type requiredbasetype) [0x00000] @ system.web.ui.pageparser.getcompiledpageinstance (system.string virtualpath, system.string inputfile, system.web.httpcontext context) [0x00000] @ system.web.ui.pagehandlerfactory.gethandler (system.web.httpcontext context, system.string requesttype, system.string url, system.string path) [0x00000] @ system.web.httpapplication.gethandler (system.web.httpcontext context, system.string url, boolean ignorecontexthandler) [0x00000] @ system.web.httpapplication.gethandler (system.web.httpcontext context, system.string url) [0x00000] @ system.web.httpapplication+<pipeline>c__iterator5.movenext () [0x00000]
i wondering if knew error meant. guess i'm looking mono expert, who's tried out windows version.
can paste command line using start xsp? if running single webapp isn't needed, , source of problem:
xsp --applications /simplewebapp:c:\projects\mono\aspexample\
just cd aspexample directory , run xsp no parameters.
Comments
Post a Comment