asp.net web api - System.PlatformNotSupported exception with service stack -


i trying run service stack application, works fine on dev machine when deployed on box, system.platformnotsupported exception. stack trace below:

unhandled exception: system.platformnotsupportedexception: operation not supported on platform. @ system.net.httplistener..ctor() @ servicestack.host.httplistener.httplistenerbase.start(ienumerable`1 urlbases, waitcallback listencallback) @ servicestack.host.httplistener.httplistenerbase.start(string urlbase) @ excaliburapphost.program.main(string[] args)

i trying build restful app self hosting (with no iis support on other box).

var listeningon = args.length == 0 ? "http://*:8090/" : args[0]; var apphost = new apphost() .init() .start(listeningon);

error occurs in apphost().start() method

if have unmanaged .dlls e.g. sqlite3.dll may need set platform target of project x86.

you can try running console app administrator / sudo in-case it's permissions issue.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -