Hi,
If you look back at your original post, there were two <objects> tags in the XML.
Turning off the validation should have worked with the .dll in the distribution ./bin directory - so maybe it is some other issue. We'll look into that.
What version of spring are you using? In RC2 we changed the DTD to be 'type' instead of 'class', and I see the 'class' attribute in your XML so that looks suspicious but it isn't at the line indicated in your error log. (Current CVS now uses schema for parsing instead of the DTD.
) Also what version of DNN?
If you are editing inside web/app.config you can install a schema into the VS.NET program directory by typing 'nant deploy-schema'. Then adding <object xmlns="http://www.springframework.net" > will give you validation inside VS.NET. You can read a little more about that in the vs integration docs.
The errors you are showing look like some interaction with DNN because Spring doesn't print exceptions like that. Where are you creating the context and with what code?
A simple sample xml config file for app.config looks like this
Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/>
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
</sectionGroup>
</configSections>
<spring>
<context>
<resource uri="config://spring/objects"/>
</context>
<objects>
<description>An example that demonstrates simple IoC features.</description>
<object name="MyMovieFinder" type="Spring.Examples.MovieFinder.SimpleMovieFinder, MovieFinder"/>
</objects>
</spring>
</configuration>
If you can send me a private message in the forum we can exchange some email with your config files for DNN. (Click on member list and then you will see a PM icon to send a message.) It obviously it shouldn't be this hard to get started so it is probably something silly or subtle.
(BTW In CVS there is initial ASP.NET support to perform dependency injection on pages and other functionality. There are docs on our wiki, but lets tackle one thing at a time.)
Cheers,
Mark