Have you tried replicating the exact ADO logic using the Enterprise Library database methods? For example, in the working code you are adding an output parameter while in the posted Enterprise Library code no parameters are added. As a fallback, you should
be able to use DbCommand objects directly just as you would using ADO.NET.
Enterprise Library support engineer