mojoPortal is no longer supported on mono. This forum is here for archival purposes.
(mono 1.2.4 in openSuse 10.2 32 bit):
I did two things:
1) In MonoDevelop, then run xsp2 like you show it in your pages, but I just can to see: Error parsing a resource requiered to service this request. Review your source file and modify it to fix this error. Cannot find type mojoPortal.Web.Global. File name ../mojo/2.0/Web/Global.asax in Line 1.
2) In VS 2005 and deploy in mono : I just can to see: Server Error in '/' Application. Object reference not set to an instance of an object. Error Message: HTTP 500. System.NullReferenceException. Object reference not set to an instance of an object.
perhaps I am omitting something, but I don't know wath...
Thanks in advance...
I'm still with the problem. I have done some things, but my way is still dark...
1) First, I simply put it in default /htdocs folder, and then changed /etc/apache2/modules.d/70_mod_mono.conf and everything worked fine. May be there's a problem with default mono version set to 1.0? You should check your configs.
2)Try and compile in monodevelop to ward off possible bugs.
Thanks Bob, I will try this.
I did it !!!!!!!!
I have mojoportal working very good in my openSuse 10.2 with MonoDevelop.
My problems were:
I write this in case to somebody it serves to him more...
If you have Mono 1.2.4 it should not have any need to comment out the webparts section of web.config. WebParts won't work but it does not throw an error there if using 1.2.4 or newer.
Ops!!!... jejejeje.... Ok.
Too late, but dont worry about. It's very good to know this. And, finally are all work fine.
Thanks Joe, and I will be close...