PDA

View Full Version : Error with Spring.Net



dungnq06
03-13-2009, 02:29 AM
hello everyone.
sorry! i am a vietnamese. so myeglish is not well.
please help me
iam a new depeloper. so i wrotten a small project. but when i run it i has got the error.
No context registered. Use the 'RegisterContext' method or the 'spring/context' section from your configuration file.
this is my app.config
<?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" />
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHand ler, Spring.Core" />
</sectionGroup>
</configSections>
<spring>
<context>
<resource uri="config://spring/objects" />
<object id="MessageDAO" type="MessageSpring.MessageDAO, MessageSpring">
</object>
</objects>
</spring>
</configuration>

I have got all file.DLL for spring
THANKS

bribribul
12-09-2009, 10:47 PM
I accept with error:
<configSections>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core" />
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler , Spring.Core" />
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSecti onHandler, Spring.Core" />
</sectionGroup>
</configSections>

__________________
Calcul pret immobilier simulation en ligne | (http://pretimmobiliersimulation.org/)Taux simulation rachat de pret immobilier lcl | (http://pretimmobiliersimulation.org/)Pret immobilier simulation gratuit caisse d'epargne (http://pretimmobiliersimulation.org/)