Click here to Skip to main content
15,560,126 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Get records between Today and 2 years from input date [modified] Pin
Blue_Boy15-Apr-08 12:28
Blue_Boy15-Apr-08 12:28 
QuestionRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 0:45
munklefish16-Apr-08 0:45 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 1:22
Blue_Boy16-Apr-08 1:22 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 2:06
munklefish16-Apr-08 2:06 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 5:13
Blue_Boy16-Apr-08 5:13 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 5:52
munklefish16-Apr-08 5:52 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 6:04
Blue_Boy16-Apr-08 6:04 
GeneralTransactionScope and EntLib Pin
Rohde15-Apr-08 8:42
Rohde15-Apr-08 8:42 
I do transaction in the business layer, and I use EntLib's DAAB.

This gives me some problems, namely a InvalidOperationException: "ExecuteNonQuery requires an open and available Connection. The connection's current state is closed."

I've tried both using the TransactionScope, and the ServiceConfig way of doing COM+ transactions.

It works fine without the transaction stuff.
I'm well aware that the connection gets closed since I do transaction from the business layer, but that should be possible, even if it then becomes a distributed transaction.

As I mentioned I'm also using the Enterprise Library Data Access Application Block, and Im'm wondering if that's what screwing things up.

Any good advice?



"When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."

-Atlas Shrugged, Ayn Rand

GeneralRe: TransactionScope and EntLib Pin
Rohde15-Apr-08 10:14
Rohde15-Apr-08 10:14 
GeneralDynamic Link disabling in a GridView Pin
Ekjon15-Apr-08 7:49
Ekjon15-Apr-08 7:49 
GeneralRe: Dynamic Link disabling in a GridView Pin
Ekjon15-Apr-08 13:00
Ekjon15-Apr-08 13:00 
GeneralRe: Dynamic Link disabling in a GridView Pin
Herman<T>.Instance16-Apr-08 1:35
Herman<T>.Instance16-Apr-08 1:35 
GeneralConfused GridView Count Question Pin
ffowler15-Apr-08 6:18
ffowler15-Apr-08 6:18 
GeneralRe: Confused GridView Count Question Pin
Ekjon15-Apr-08 12:02
Ekjon15-Apr-08 12:02 
GeneralRe: Confused GridView Count Question Pin
Herman<T>.Instance16-Apr-08 1:32
Herman<T>.Instance16-Apr-08 1:32 
GeneralRe: Confused GridView Count Question Pin
ffowler16-Apr-08 3:08
ffowler16-Apr-08 3:08 
GeneralRe: Confused GridView Count Question Pin
Herman<T>.Instance16-Apr-08 3:15
Herman<T>.Instance16-Apr-08 3:15 
GeneralRe: Confused GridView Count Question Pin
ffowler16-Apr-08 4:23
ffowler16-Apr-08 4:23 
GeneralRe: Confused GridView Count Question Pin
Herman<T>.Instance16-Apr-08 4:30
Herman<T>.Instance16-Apr-08 4:30 
GeneralASP.NET, XML, VB.NET Pin
Dot Net rookie15-Apr-08 5:17
Dot Net rookie15-Apr-08 5:17 
GeneralRe: ASP.NET, XML, VB.NET Pin
led mike15-Apr-08 5:55
led mike15-Apr-08 5:55 
AnswerRe: ASP.NET, XML, VB.NET Pin
Ariel Kazeed15-Apr-08 5:56
Ariel Kazeed15-Apr-08 5:56 
GeneralRe: ASP.NET, XML, VB.NET Pin
Dot Net rookie17-Apr-08 4:41
Dot Net rookie17-Apr-08 4:41 
GeneralChanging from 3.5 framework to 3.0 Pin
ss.mmm15-Apr-08 4:42
ss.mmm15-Apr-08 4:42 
GeneralRe: Changing from 3.5 framework to 3.0 Pin
eyeseetee15-Apr-08 5:51
eyeseetee15-Apr-08 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.