wcf service long time transition server client












0














I have a WCF service in my application.
When the amount of data that passes from server to client is small I do not have problems.



The problems come when there's a big amount of data.



The proxy method runs a stored procedure that retrives data in an acceptable time.
The method server side return correctly,



BUT it takes more that two minutes to return properly to the client and continue the execution client side.



During this period if I stop the application it seems that no actions are in execution.



I don't know if it's an IIS problem or a configuration of the net.tcp binding.



The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.







EDIT***



This is the binding configuration:



<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>









share|improve this question




















  • 1




    what is your client and server binding configuration , please provide them.
    – Aria
    Nov 21 at 14:39










  • @Aria I added the configuration
    – Galma88
    Nov 21 at 15:08










  • I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
    – Abraham Qian
    Nov 23 at 7:22










  • @Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
    – Aria
    Nov 24 at 6:03
















0














I have a WCF service in my application.
When the amount of data that passes from server to client is small I do not have problems.



The problems come when there's a big amount of data.



The proxy method runs a stored procedure that retrives data in an acceptable time.
The method server side return correctly,



BUT it takes more that two minutes to return properly to the client and continue the execution client side.



During this period if I stop the application it seems that no actions are in execution.



I don't know if it's an IIS problem or a configuration of the net.tcp binding.



The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.







EDIT***



This is the binding configuration:



<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>









share|improve this question




















  • 1




    what is your client and server binding configuration , please provide them.
    – Aria
    Nov 21 at 14:39










  • @Aria I added the configuration
    – Galma88
    Nov 21 at 15:08










  • I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
    – Abraham Qian
    Nov 23 at 7:22










  • @Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
    – Aria
    Nov 24 at 6:03














0












0








0







I have a WCF service in my application.
When the amount of data that passes from server to client is small I do not have problems.



The problems come when there's a big amount of data.



The proxy method runs a stored procedure that retrives data in an acceptable time.
The method server side return correctly,



BUT it takes more that two minutes to return properly to the client and continue the execution client side.



During this period if I stop the application it seems that no actions are in execution.



I don't know if it's an IIS problem or a configuration of the net.tcp binding.



The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.







EDIT***



This is the binding configuration:



<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>









share|improve this question















I have a WCF service in my application.
When the amount of data that passes from server to client is small I do not have problems.



The problems come when there's a big amount of data.



The proxy method runs a stored procedure that retrives data in an acceptable time.
The method server side return correctly,



BUT it takes more that two minutes to return properly to the client and continue the execution client side.



During this period if I stop the application it seems that no actions are in execution.



I don't know if it's an IIS problem or a configuration of the net.tcp binding.



The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.







EDIT***



This is the binding configuration:



<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>






wcf iis proxy net.tcp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 15:08

























asked Nov 21 at 9:33









Galma88

1,33252036




1,33252036








  • 1




    what is your client and server binding configuration , please provide them.
    – Aria
    Nov 21 at 14:39










  • @Aria I added the configuration
    – Galma88
    Nov 21 at 15:08










  • I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
    – Abraham Qian
    Nov 23 at 7:22










  • @Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
    – Aria
    Nov 24 at 6:03














  • 1




    what is your client and server binding configuration , please provide them.
    – Aria
    Nov 21 at 14:39










  • @Aria I added the configuration
    – Galma88
    Nov 21 at 15:08










  • I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
    – Abraham Qian
    Nov 23 at 7:22










  • @Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
    – Aria
    Nov 24 at 6:03








1




1




what is your client and server binding configuration , please provide them.
– Aria
Nov 21 at 14:39




what is your client and server binding configuration , please provide them.
– Aria
Nov 21 at 14:39












@Aria I added the configuration
– Galma88
Nov 21 at 15:08




@Aria I added the configuration
– Galma88
Nov 21 at 15:08












I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 at 7:22




I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 at 7:22












@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 at 6:03




@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 at 6:03

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408994%2fwcf-service-long-time-transition-server-client%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408994%2fwcf-service-long-time-transition-server-client%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python