[Mono-list] Service do not start
sergio.charrua at voip.pt
Tue Aug 4 19:15:00 EDT 2009
i followed your advice, Eric, and uninstalled everything and reinstalled
Mono using the following procedures:
so now everything resides in /opt/mono
export is now:
and $PATH is
so, seems that everything is ok now! (well, at least some webservices and a
website are running correctly)
now, if i run my Windows Service using:
i get in /var/log/messages the following:
Aug 5 00:01:45 sip mono: GameServer: An exception was thrown by the type
initializer for System.Windows.Forms.XplatUI
Aug 5 00:01:45 sip mono: GameServer: Could not open display (X-Server
required. Check you DISPLAY environment variable) Parameter nam
I do not have X-Server / XWindows running (this is a server machine, pure
text mode), and i've checked once again my code and there is nothing require
form controls (this is indeed a Windows Service...), BUT, i'm using a TIMER
control, which Type is System.Windows.Forms.Timer .
Could there be a problem regarding Timer controls in Mono build 220.127.116.11 ???
View this message in context: http://www.nabble.com/Service-do-not-start-tp24806538p24817935.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list