уторак, 6. март 2012.

"An error occurred while receiving the HTTP response to This could be due to the service endpoint binding not using the HTTP protocol"

WCF servis je prilikom snimanja većeg dataseta prijavljivio poruku "An error occurred while receiving the HTTP response to  This could be due to the service endpoint binding not using the HTTP protocol". Nakon višečasovnog češljanja po konfiguracionim fajlovima i po kodu na Internetu sam našao sledeće rešenje. Potrebno je dodati u web.config u sekciji system.web sledeći red : <httpRuntime maxRequestLength="8192"/> . Snimanje sa manjom količinom podataka je prolazilo bez problema.

Нема коментара:

Постави коментар