Guess what... I'm stuck...
 
I used the iBATIS.NET files Common, DataMapper and DataAccess that I compiled myself... I used Npgsql 0.7beta6... All my statements create this error, and I can't seem to figure them out...
 
[snip]
 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: stream
[snap]
 
 
and the stack trace:
 
[snip]
Stack Trace:
 
[ArgumentNullException: Value cannot be null.
Parameter name: stream]
   System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) +126
   System.IO.StreamReader..ctor(Stream stream) +101
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ValidateSchema(XmlNode section, String schemaFileName) +230
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +106
 
[ConfigurationException:
- The error occurred while Validate SqlMap config.]
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +195
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureAndWatch(String resource, ConfigureHandler configureDelegate) +198
   IBatisNet.DataMapper.Mapper.InitMapper() +65
   IBatisNet.DataMapper.Mapper.Instance() +64
   BudgetModel.Model.Helper.BudgetValueHelper.GetAllAccountIdsDistinct() +116
   BudgetModel.Test.btnTest_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\Devolopment\smet\index.aspx.cs:40
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292
[snap]
 
Is it something about reading my .xml filen in sqlmap.config?
I really got stuck here....
 
/morten

>>>[EMAIL PROTECTED] 05/31/05 8:53 am >>>
hehe, yeah, .common that was the easy one ;o)
 
I used monodevelop ( http://www.monodevelop.com/ ). I didn't have log4net.dll and Castle.DynamicProxy.dll in my gac, so I pointed the references to th files in the External-bin, coming with svn...
 
Used build and there it was.... 0 errors, 0 warnings...
 
Then I did the same with DataMapper: 4 warnings on variables only used once and 1 warning of unreachable code. Last I build DataAccess (depends on DataMapper) which came out 0 errors, 0 warnings.
 
I didn't try to compile the tests, since I didn't think I needed them (do I?), and the extention part was the one that gave me the problems. What are the extentions? Do I need them?
 
If I can live without them, I should have a working build, right? I'll try them within the next our, with Npgsql 0.7beta 6, and see how it goes...
 
I haven't tried out that nant stuff yet, but this is coming one of these days you know... (Instaling as I type)
 
I read in one of the other mails in this thread, that Gilles beleives he has the next build ready : "I was thinking of the first June.". Would this be tomorrow, or sometime in the first part of June?
 
Thx for helping, I love these communities!!!
 
/morten

>>>[EMAIL PROTECTED] 05/30/05 5:56 pm >>>
Are you able to successfully compile IBatisNet.Common?

Roberto

On 5/30/05, Roberto R <[EMAIL PROTECTED]> wrote:
>
>Hmmm...you've had better luck than me! :-)
>
>Don't compile the IBatisNet.DataAccess.Extensions and
>IBatisNet.DataAccess.Test projects. They include the references to
>NHibernate.
>
>Are you using the NAnt build files for this?
>
>Roberto
>
>On 5/30/05, Morten Schmidt <[EMAIL PROTECTED]> wrote:
>>
>> OK, tries to walk the mile myself...
>> I have now downloaded the source from svn... I'm on Linux with Mono,
>>but that shouldn't matter. I corrected the assemply references, and tried to
>>compile. I got an error (or more than one that is ;o) regarding
>>NHibernate.dll
>> I then downloaded that from Sourceforge, but it seems I can't add a
>>reference to it... It tells me the file could net be found.... Weird,
>>because I see it ;o/
>> Anyone got an idea on how to get around this? Do I HAVE to compile on
>>windows?
>> /morten
>>
>

Reply via email to