ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Svar: Re: A concurrent acces has occurred.
Date Wed, 01 Jun 2005 13:45:43 GMT
I've never used Mono so some of these comments may not be 100% correct.
In .Net there are two kinds of assemblies: Debug and Release. It looks
like you're compiling the IBatisNet libaries in Release mode because
there aren't line numbers in the exception. Had you compiled in Debug
mode, you would most likely see something like this:

section, String schemaFileName):365

I don't think that is the exact syntax, but you get the idea.

According to the helpful people on #monodevelop, try this to get
MonoDevelop into Debug mode:

 Right click the project -> Options.
 Then right click the configuration you want to use
 Click set active.

You should get .pdb files in addition to the normal .dll files. Copy
those to the bin directory of your application. The .pdb contain the
line number offset information.

Someone on the #mono channel suggested you run a program called
'monodis' to verify the embedded resource exsits inside the DataMapper
assembly. I suspect that is the problem. In Visual Studio when I add a
file to a project and I want to mark it as being an embedded resource,
I need to right click on the file and select Properties, then change
its Build Action from Content to Embedded Resource. You may need to do
something similiar in MonoDevelop for the .xsd files.

Have you noticed anything else not working? Are you using IBatisNet in
an Asp.Net application under Mono (XSP?) or in another type of project?

- Ron

--- Morten Schmidt <sch@knowledgelab.sdu.dk> wrote:

> Ron Grabowski, close to being my hero!!! 
> I have no idea how to build in debug mode... BUT... 
> I commented line 356 out, recompiled, did nothing else, and now it
> works! 
> I compiled Common, DataMapper and DataAccess (DataMapper without line
> 356 in DomSqlMapBuilder.cs) and it works like a charm! 
> But Ron... to really be my hero, I need that line to work ;o) What du
> I
> do? 
> Thanks a billion! 
> /morten

View raw message