Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# adribeiro 9/11/2005 1:55 PM
Hi,

I using cuyahoga over Windows with Microsoft.Net and all be fine, but when i try recompile with nant e run over Mono-1.0 and XSP. I get this error: log4net:ERROR DOMConfigurator: ConfigureFromXML called with null 'element' parameter

Somebody had a problem similar?

Thanks for help.

# martijnb 9/11/2005 3:12 PM
It looks like log4net is trying to find a section in the web.config, but this fails. Normally this doesn't raise an exception, but maybe Mono or XSP halt on every exception even when they are 'eaten' somewhere.

Do you have logging turned on in the web.config? If not, remove the comments around the log4net section and see if it still happens.
# adribeiro 9/13/2005 7:48 PM
Hi, i again...

I uncommented log4net tag's and it work. I changed log4net debug mode to false for no show logs.

But XSP yet stop without show any pages, I can navigate in admin page, but, in generate page by cuyahoga i can't.

I receive null reference exception.

If i run over MS .net framework all works fine.

Somebory now about this?

Very, very thanks for help.
# martijnb 9/14/2005 1:15 AM
Could you give an example url of your application that doesn't work? There appear to be some issues with url mappings.
# adribeiro 9/15/2005 10:45 AM
Hi,

My environ site name http://localhost:8080

Url that works: http://localhost:8080/cuyahoga/admin

I can do any operations with modules, sections, users, templates, etc.

But when try access site home http://localhost:8080/cuyahoga

i receive this exception: System.NullReferenceException.

This is log4net output:

type [log4net.Repository.Hierarchy.Hierarchy]
log4net:ERROR RendererMap: Exception while rendering object of type [System.NullReferenceException]
log4net:ERROR [RollingFileAppender] Failed in DoAppend
log4net:ERROR AppenderAttachedImpl: Failed to append to appender [rollingFile]

This problem happen only over Mono, not in Microsoft.Net.

Thank very much, for help.



# martijnb 9/15/2005 12:18 PM
Try to set the site url to http://localhost:8080/cuyahoga and see if that will work.