> Yeah, looks like it is, except I didn't modify any config file or whatever
in my case.
> And I have a db called nhibernate in the default instance and SQLExpress
instance both - SQL 2008 R2.

I modified the configuration because I don't want to use SQL Server Express
as I have SQL Server Dev installed. That shouldn't be an issue.




> NHibernate.HibernateException : The connection.driver_class must be
specified in the NHibernate configuration section.
TearDown : NHibernate.HibernateException : The connection.driver_class must
be specified in the NHibernate configuration section.

Well, that's the same exception I got then.




-- 
Regards,

Maximilian Haru Raditya



On Sat, May 14, 2011 at 7:24 PM, Mohamed Meligy <[email protected]>wrote:

> Yeah, looks like it is, except I didn't modify any config file or whatever
> in my case.
> And I have a db called nhibernate in the default instance and SQLExpress
> instance both - SQL 2008 R2.
>
> But still getting errors like:
>
>                             <failure>                              
> <message><![CDATA[NHibernate.HibernateException : The connection.driver_class 
> must be specified in the NHibernate configuration section.TearDown : 
> NHibernate.HibernateException : The connection.driver_class must be specified 
> in the NHibernate configuration section.]]></message>                         
>      <stack-trace><![CDATA[at 
> NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  100at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  64at 
> NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2
>  settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProviderFactory.cs:line
>  50at NHibernate.Test.TestCase.ExecuteStatement(String sql) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\TestCase.cs:line
>  277at NHibernate.Test.NHSpecificTest.NH1985.SampleTest.OnSetUp() in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\NHSpecificTest\NH1985\SampleTest.cs:line
>  15at NHibernate.Test.TestCase.SetUp() in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\TestCase.cs:line
>  141--TearDownat 
> NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  100at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  64at 
> NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2
>  settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProviderFactory.cs:line
>  50at NHibernate.Test.TestCase.ExecuteStatement(String sql) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\TestCase.cs:line
>  277at NHibernate.Test.NHSpecificTest.NH1985.SampleTest.OnTearDown() in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\NHSpecificTest\NH1985\SampleTest.cs:line
>  22at NHibernate.Test.TestCase.TearDown() in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\TestCase.cs:line
>  155]]></stack-trace>                            </failure>
>
> and
>
>                   <test-suite type="TestFixture" name="MsSqlDialectFixture" 
> executed="True" result="Failure" success="False" time="0.018" asserts="0">    
>                 <results>                      <test-case 
> name="NHibernate.Test.DialectTest.MsSqlDialectFixture.DialectFixture.CurrentTimestampSelection"
>  executed="True" result="Error" success="False" time="0.003" asserts="0">     
>                    <failure>                          
> <message><![CDATA[NHibernate.HibernateException : The connection.driver_class 
> must be specified in the NHibernate configuration section.]]></message>       
>                    <stack-trace><![CDATA[at 
> NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  100at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 
> settings) in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:line
>  64at NHibernate.Test.DialectTest.DialectFixture.CurrentTimestampSelection() 
> in 
> d:\Projects\Lib\nhibernate-trunk\nhibernate\src\NHibernate.Test\DialectTest\DialectFixture.cs:line
>  160]]></stack-trace>                        </failure>                      
> </test-case>
>
>
> *Mohamed Meligy
> *Readify | Senior Developer
>
> M:+61 451 835006 | W: readify.net
> [image: Description: Description: Description: Description: 
> rss_16]<http://gurustop.net>
> [image: Description: Description: Description: Description:
> cid:[email protected]] <http://www.linkedin.com/in/meligy>  
> [image:
> Description: Description: Description: Description:
> cid:[email protected]] <http://twitter.com/meligy>
>  
> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10>
>
>
>
> On Sat, May 14, 2011 at 9:07 PM, Maximilian Raditya <[email protected]>wrote:
>
>> I think this might be related to the issue I've reported here:
>> http://groups.google.com/group/nhibernate-development/browse_thread/thread/143b199e2753ab15
>> .
>>
>> What failed tests you got?
>>
>>
>>
>>
>> --
>> Regards,
>>
>> Maximilian Haru Raditya
>>
>>
>>
>>
>> On Sat, May 14, 2011 at 5:32 PM, Mohamed Meligy <[email protected]>wrote:
>>
>>> When I try to go the "ShowBuildMenu.bat", and choose option  "G.  Build
>>> Release Package (Also runs tests and creates documentation)"...
>>>
>>> At the end I get:
>>>
>>>                  [exec] 185) Ignored :
>>> NHibernate.Test.TypesTest.FixtureWithSqlType.TypeSqlTypeFixture.NotIgnoreSqlTypeDef
>>>                  [exec]    Not fixed yet.
>>>                  [exec] 186) Ignored :
>>> NHibernate.Test.UtilityTest.TypeNameParserFixture.ParseUnmatchedBracket
>>>                  [exec]    Not a big problem because the next type
>>> request will throw the exception
>>>                  [exec]
>>>
>>>             BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
>>>
>>>             External Program Failed:
>>> D:\Projects\Lib\nhibernate-trunk\nhibernate\Tools\NUnit\nunit-console-x86.exe
>>> (return code was 13)
>>>
>>>             Total time: 182.6 seconds.
>>>
>>>
>>> BUILD FAILED
>>>
>>> Nested build failed.  Refer to build log for exact reason.
>>>
>>> Total time: 238.5 seconds.
>>>
>>>
>>> Assuming the build succeeded, your results will be in the build folder.
>>>
>>> -----
>>>
>>> I do have the test DB and everything and I see many executing scripts
>>> before that, so, assuming this is not related.
>>> The problem seems to do with this NUnitx86 runner...
>>>
>>> When I try to that NUnit file and try to run it I get the following
>>> dialog:
>>>
>>> [Window Title]
>>> NUnit-Agent
>>> [Main Instruction]
>>> NUnit-Agent has stopped working
>>> [Content]
>>> Windows is checking for a solution to the problem...
>>> [Cancel]
>>>
>>>
>>> Yes, I have x64 Windows 7. Looks like this is what's showing the problem.
>>>
>>> Also, I have UAC enabled, but, I also tried to run the bat file with "Run
>>> as administrator" and this is still the same problem.
>>>
>>>
>>> *Mohamed Meligy
>>> *Readify | Senior Developer
>>>
>>> M:+61 451 835006 | W: readify.net
>>> [image: Description: Description: Description: Description: 
>>> rss_16]<http://gurustop.net>
>>> [image: Description: Description: Description: Description:
>>> cid:[email protected]] <http://www.linkedin.com/in/meligy>
>>>   [image: Description: Description: Description: Description:
>>> cid:[email protected]] <http://twitter.com/meligy>
>>>  
>>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "nhusers" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/nhusers?hl=en.
>>>
>>
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to