Click here to Skip to main content
15,914,500 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:20
julian@giant16-Feb-12 5:20 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
killabyte16-Feb-12 16:22
killabyte16-Feb-12 16:22 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 22:25
mvePete O'Hanlon16-Feb-12 22:25 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 23:08
julian@giant16-Feb-12 23:08 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 23:31
mvePete O'Hanlon16-Feb-12 23:31 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
charliezcr18-Feb-12 21:17
charliezcr18-Feb-12 21:17 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant19-Feb-12 22:08
julian@giant19-Feb-12 22:08 
QuestionwsHttpBinding using ReliableSession - Maximum retry count has been exceeded with no response from remote point Pin
gunter7915-Feb-12 5:05
gunter7915-Feb-12 5:05 
I am currently trying to call multiple wcf services under a single transaction scope and got the following exception :

System.ServiceModel.CommunicationException: The maximum retry count has been exc
eeded with no response from the remote endpoint. The reliable session was faulte
d. This is often an indication that the remote endpoint is no longer available.

My client and service are using wsHttpBinding with the endpoint used in the operation. The service operation are both update operations performed on an Oracle database (10g) using ODP.Net (11g). My client and service are both running on my local machine and MSDTC is properly configured on it (I figure it is because I'm able to monitor transactions that are enlisted during service call).

To be more specific, The exception is cut on the second call to the endpoint (the same endpoint in both call)s. The first operation is a simple update witch doesn't requires a lot of time to perform, on the other hand, the second operation, is more consuming (about a minute to perform). Without a transaction, both operations are working fine (but it is not a viable long term solution).

I got success performing multiple service call to simple database operation. The transaction works fine and completes. But it seems that, when I call a service that requires more processing, the problem happens.

Here is the binding that I use :

HTML
<wsHttpBinding>
        <binding name="WSHttpBinding_Provider" closeTimeout="00:01:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
                 bypassProxyOnLocal="false" transactionFlow="true" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647"
                 maxReceivedMessageSize="200000000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:20:00" enabled="true"/>
          <security mode="None">
            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
            <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" />
          </security>
        </binding>        
      </wsHttpBinding>     


Here is my Oracle connection string :

connectionString="DATA SOURCE=LPRG;USER ID=/;pooling=true;PROMOTABLE TRANSACTION=promotable; Enlist=true"

I have tried ws2007HttpBinding and got the same issued. It seems that the "The maximum retry count" cannot be set in wsHttpBinding. I could, of course, create a customBinding for that purpose (and I tried but got another strange exception). However, I am wondering if the wsHttpBinding could possibly work.

Thanks in advance,

Phil
AnswerRe: wsHttpBinding using ReliableSession - Maximum retry count has been exceeded with no response from remote point Pin
gunter7916-Feb-12 7:38
gunter7916-Feb-12 7:38 
Questionconfiguration managment application blocks 5.0 Pin
Vamshi Krishna Parepalli13-Feb-12 19:30
Vamshi Krishna Parepalli13-Feb-12 19:30 
AnswerRe: configuration managment application blocks 5.0 Pin
Richard MacCutchan14-Feb-12 0:10
mveRichard MacCutchan14-Feb-12 0:10 
QuestionUse newer version of Assembly if it is available. [SOLVED] Pin
Shameel10-Feb-12 2:45
professionalShameel10-Feb-12 2:45 
QuestionEntity Framework 4.0 AddObject() Method Encounter OptimisticConcurrencyException Pin
gujingshui9-Feb-12 16:06
gujingshui9-Feb-12 16:06 
SuggestionDebuging Tips And Memory Read? Pin
creizlein9-Feb-12 2:07
creizlein9-Feb-12 2:07 
GeneralRe: Debuging Tips And Memory Read? Pin
Dave Kreskowiak9-Feb-12 2:13
mveDave Kreskowiak9-Feb-12 2:13 
AnswerRe: Debuging Tips And Memory Read? Pin
Luc Pattyn9-Feb-12 16:04
sitebuilderLuc Pattyn9-Feb-12 16:04 
GeneralRe: Debuging Tips And Memory Read? Pin
creizlein9-Feb-12 18:59
creizlein9-Feb-12 18:59 
GeneralRe: Debuging Tips And Memory Read? Pin
Luc Pattyn9-Feb-12 23:28
sitebuilderLuc Pattyn9-Feb-12 23:28 
QuestionReport not published Pin
fareedulhassan7-Feb-12 8:32
professionalfareedulhassan7-Feb-12 8:32 
AnswerRe: Report not published Pin
thatraja7-Feb-12 10:51
professionalthatraja7-Feb-12 10:51 
Questionexpress checkout keep loading did'tn return to merchant Pin
awakepoh6-Feb-12 21:09
awakepoh6-Feb-12 21:09 
AnswerRe: express checkout keep loading did'tn return to merchant Pin
Richard MacCutchan6-Feb-12 22:48
mveRichard MacCutchan6-Feb-12 22:48 
QuestionKilling the session on click of Brwoser X Pin
hooters_263-Feb-12 1:44
hooters_263-Feb-12 1:44 
AnswerRe: Killing the session on click of Brwoser X Pin
Dave Kreskowiak3-Feb-12 2:30
mveDave Kreskowiak3-Feb-12 2:30 
AnswerRe: Killing the session on click of Brwoser X Pin
sund7wells5-Feb-12 20:05
sund7wells5-Feb-12 20:05 

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.