Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Friends,

when i execute my code in deployed version getting error " Invalid key for multipleactiveresultset ".error target on sql connection initialization .

sqlconnection con=new sqlconnection(this.connectionstring);

also i set multipleactiveresultset=true in connection string.

please help me.

thanks
Posted
Updated 3-Apr-15 6:47am
v2
Comments
Sascha Lefèvre 2-Apr-15 15:24pm    
Could it be that the actual error message is "Keyword not supported MultipleActiveResultSets" and that it occurs in your MembershipProvider-class ?
josh-jw 3-Apr-15 12:47pm    
any solution for it?
Sascha Lefèvre 3-Apr-15 12:48pm    
Maybe - please answer my question
josh-jw 5-Apr-15 10:48am    
answer is no.error not occuring at mebership provider class.
ZurdoDev 3-Apr-15 14:13pm    
Solution for what? Sascha asked you a question. Answer the question and then we can move on.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900