Click here to Skip to main content
15,662,970 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralHello Friends Pin
ArunVijay15-Apr-08 19:41
ArunVijay15-Apr-08 19:41 
GeneralRe: Hello Friends Pin
N a v a n e e t h15-Apr-08 20:50
N a v a n e e t h15-Apr-08 20:50 
GeneralSame Session in different IE windows Pin
AlexeiXX315-Apr-08 19:03
AlexeiXX315-Apr-08 19:03 
GeneralRe: Same Session in different IE windows Pin
N a v a n e e t h15-Apr-08 21:02
N a v a n e e t h15-Apr-08 21:02 
Generalproblem with getting SELECTED VALUE of parent dropdownlist to target dropdownlist using cascading Pin
mohd imran abdul aziz15-Apr-08 18:16
mohd imran abdul aziz15-Apr-08 18:16 
GeneralPassing parameters to another page from GridView Pin
Ekjon15-Apr-08 12:08
Ekjon15-Apr-08 12:08 
GeneralRe: Passing parameters to another page from GridView Pin
AlexeiXX315-Apr-08 16:08
AlexeiXX315-Apr-08 16:08 
QuestionRuntime Error after publishing aspx page!!! Pin
Phivos Stylianides15-Apr-08 9:49
Phivos Stylianides15-Apr-08 9:49 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
pmarfleet15-Apr-08 11:48
pmarfleet15-Apr-08 11:48 
GeneralRe: Solution To Solve By ArunVijay Pin
ArunVijay15-Apr-08 20:02
ArunVijay15-Apr-08 20:02 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
ArunVijay15-Apr-08 20:06
ArunVijay15-Apr-08 20:06 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
Phivos Stylianides16-Apr-08 12:56
Phivos Stylianides16-Apr-08 12:56 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
Phivos Stylianides16-Apr-08 12:56
Phivos Stylianides16-Apr-08 12:56 
GeneralMaster Page weirdness Pin
#realJSOP15-Apr-08 8:46
mva#realJSOP15-Apr-08 8:46 
GeneralRe: Master Page weirdness Pin
Herman<T>.Instance16-Apr-08 0:30
Herman<T>.Instance16-Apr-08 0:30 
QuestionGet records between Today and 2 years from input date Pin
munklefish15-Apr-08 7:49
munklefish15-Apr-08 7:49 
GeneralRe: Get records between Today and 2 years from input date [modified] Pin
Blue_Boy15-Apr-08 11:28
Blue_Boy15-Apr-08 11:28 
QuestionRe: Get records between Today and 2 years from input date Pin
munklefish15-Apr-08 23:45
munklefish15-Apr-08 23:45 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 0:22
Blue_Boy16-Apr-08 0:22 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 1:06
munklefish16-Apr-08 1:06 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 4:13
Blue_Boy16-Apr-08 4:13 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 4:52
munklefish16-Apr-08 4:52 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 5:04
Blue_Boy16-Apr-08 5:04 
GeneralTransactionScope and EntLib Pin
Rohde15-Apr-08 7:42
Rohde15-Apr-08 7: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 9:14
Rohde15-Apr-08 9:14 

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.