This example uses the DAAB 2.0.
http://sholliday.space s.live.com/blog/cns!A68482B9628 A842A!139.entry
This example
http://sholliday.space s.live.com/blog/cns!A68482B9628 A842A!176.entry
uses the EnterpriseLibra ry 3.1.
Dll Name?
Microsoft.Appli cationBlocks.Da ta.dll is a compiled version of the DAAB 2.0.
(Pre EnterpriseLibra ry)
//Quote//After install I did not fine a dll called
Microsoft.Appli cationBlocks.Da ta.dll//Quote//
That is correct.
Microsoft.Pract ices.Enterprise Library.Data.dl l will be the new one.
This is not a super trivial upgrade. The syntax is different. Use the
projects above to figure that out.
The issue is that you need to pay this price to get at the right level of
Enterprise Library for VS2008.
With the 2 projects, you can see a DAAB 2.0 version (for 1.1 code) and a
(upgraded newer version) of the EnterpriseLibra ry with a VS2005 (2.0/3.0)
code.
That's alot better than nothing.
The EnterpriseLibra ry is much more mature. And deals with the security
issues alot better.
You basically need to view the DAAB as a deprecated library, since its been
superceded by EnterpriseLibra ry.
..........
Have a good weekend, I'm out.
"Michael Howes" <Mi***********@ cdph.ca.govwrot e in message
news:48******** ******@cdph.ca. gov...
>
>Moving up to EnterpriseLibra ry 4.0 is probably the next logical step.
This gets more complicated.
I don't know where the Microsoft.Appli cationBlocks.Da ta.dll comes from.
It's just in a bin folder in the project.
I think it came from "Enterprise Library for .NET Framwork 2.0 - January
2006".
I just installed "Enterprise Library May 2007" which I think is version
3.1. After install I did not fine a dll called
Microsoft.Appli cationBlocks.Da ta.dll
>>
But I think its strange you're getting the issue in the .Data DAAB.
I don't understand the problem either. I do know that if I make the call
to SqlConnection.O pen() it fails (after upgrading to .NET Framework 3.0)
in Medium trust and works if I change to Full trust.
>..
Wait, are you one 3.0 or 3.5? It's either EnterpriseLibra ry 3.1 or 4.0.
I don't know if you're in VS2008 but youre using 3.0 compatability.
I'm building (upgrading to) .NET Framework 3.0
I think the version of the enterprise library is "Enterprise Library for
.NET Framwork 2.0 - January 2006" which is *before* 3.1
But as I just mentioned I just installed EnterpriseLibra ry 3.1 and don't
see the dll we are using.
any help appreciated
mike