[Mono-devel-list] Building XSP on Windows

Fabio Marini f_marini1976 at yahoo.co.uk
Sat Aug 14 11:12:38 EDT 2004


Hi guys,
I am trying to build XSP on Windows using Visual Studio and .NET Framework 1.1 - 
the idea is to 'port' XSP from a console app to a Windows service.

I can build it and run it OK, but when I try to get an .aspx page I get an 
exception. If anyone has tried this before I would appreciate if he could share 
his experience here. I used the code from xsp-1.0.1.tgz (only the classes in the 
server dir): if there's more info that I can provide let me know.

Thanks,
Fabio

<Server stack trace>

    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, 
Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, 
Assembly locationHint, StackCrawlMark& stackMark)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean 
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence 
assemblySecurity, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(String assemblyName, String typeName, 
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, 
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, 
StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(String assemblyName, String typeName)
    at System.AppDomain.CreateInstance(String assemblyName, String typeName)
    at 
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase 
mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, 
Object[]& outArgs)
    at 
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 
msg, Int32 methodPtr, Boolean fExecuteInContext)\n\nException rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type)
    at System.AppDomain.CreateInstance(String assemblyName, String typeName)
    at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, 
String virtualDir, String physicalDir)
    at Mono.ASPNET.VPathToHost.CreateHost(IWebSource webSource)
    at Mono.ASPNET.ApplicationServer.GetApplicationForPath(String vhost, Int32 
port, String path, Boolean defaultToRoot)
    at Mono.ASPNET.XSPWorker.Run(Object state)

</Server stack trace>



More information about the Mono-devel-list mailing list