Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# crippledcanary 5/5/2006 12:01 AM
I just checked out Cuyahoga from svn (rev 453).

For starters I had to modify the nant .build script to include the Castle.* files as references at apropiate places but that isn't my real problem.

After doing build and deploy and having changed to MySql (at what I think the right places) I launched XSP (the mono ASP.NET webserver) and tried to browse to the site at localhost:8080 (wich is the default start for XSP).
Doing this generates a 500 Error because of the following..

-- snip --
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Castle.Model.Resource.ResourceException: File /home/petmag/src/cuyahoga/build/mono-1.0.unix/Cuyahoga-1.0.0-debug/config/properties.config could not be found
in <0x00068> Castle.Model.Resource.FileResource:CheckFileExists (System.String path)
-- end snip--

Note the lower case "confing" in the path to properties.config. Since Linux has a Case sensitive filesystem this file is not to be found when the directory is called "Config" with upper case.

Is this path configurable somewere? Does anyone have any suggestions to what I should do?
# martijnb 5/5/2006 3:19 AM
The Web.config references the config files with a capital C. Probably Castle makes this lowercase. A workaround is to make both lowercase, the directory and the reference in the Web.config. I'll ask the Castle team if this behaviour is by design.

I'm very interested to see how things work out on Mono, because to behonest, I haven't done any testing on Mono yet since the shift to Castle.
# crippledcanary 5/5/2006 11:39 AM
After changeing "Config" to "config" and installing the datbase manualy and patching for #CUY-79 (PageParser error in mono) the ISiteService now gives me a hard time...

-- snip ---
Cuyahoga.Core.SiteNullException: No site found at http://localhost:8080
in <0x006bd> Cuyahoga.Web.UI.PageEngine:OnInit (System.EventArgs e)
in <0x00235> System.Web.UI.Control:InitRecursive (System.Web.UI.Control namingContainer)
in <0x00045> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a4> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
-- end snip --

The site is there, thats for sure... Any hints?
# martijnb 5/6/2006 6:41 AM
Check the setting for the site url (via http://localhost:8080/admin). It has to be http://localhost:8080 in your case.