0

based on this question I was able to start xsp (web server from mono) as standalone webserver to serve some aspx sites. It is said that xsp depends on some dlls that are stored for this purpose at the \bin directory. If someone try to run xsp without those dlls an error is thrown.

What I am trying to do is run this approach as service on windows in order to start it automatically without the need of log in to the computer. I know that services execute in a separate session, and when I try to execute xsp inside a service, I am having the same error as if I was trying to execute it without the dlls.

That gave me the idea that the service is not finding those dlls and, I may be wrong but, I think that if I could "register" those dlls inside the scope of the service, xsp (or any dll dependant .exe) could in fact execute without trouble inside a windows service.

The errors, both, the one inside the service execution and the one trying to run without dlls is as follows:

execution error

What I want to know is: is there a path where I can drop those dlls in order to the service to find them? is there a correct way to achieve this (I may be doing something wrong)?

If someone could help me it would be great.

Community
  • 1
  • 1
Puma
  • 126
  • 5
  • why do you need xsp in Windows? what are you trying to solve? – knocte Oct 03 '16 at 05:02
  • It is just a requirement, I need to have a standalone webserver that works with .net. I have already tried the iis express approach but I couldn't make it work for external requests. The final target is to have this standalone webserver in order to execute it from a service. – Puma Oct 05 '16 at 14:48
  • I recommend you Suave – knocte Oct 05 '16 at 16:21
  • Could you please be more specific? Perhaps provide a short description of what it is and a link?? thx in advance – Puma Oct 05 '16 at 22:43
  • https://suave.io/ – knocte Oct 06 '16 at 01:37

0 Answers0