| От | Frances Collier |
|---|---|
| Тема | Cancelled statement due to lost connection |
| Дата | |
| Msg-id | 003a01c6e402$2ab9e050$0d5aa8c0@devfrances обсуждение исходный текст |
| Ответы |
Re: Cancelled statement due to lost connection
|
| Список | pgsql-novice |
Hello,
I have implemented an ASP.Net page on one box that has successfully connected to my PostgreSQL database on another. Both boxes are running Windows Server 2003. I am using the Npgsql connector. Most of the time it runs fine, but on one query I am getting a “canceling statement due to user request” error (Code: 57014). I figure the connection is timing out, especially since running it through pgAdmin it takes 29375+31 ms. So, I set the NpgsqlConnection CommandTimeout to 300. But it didn’t help. I’ve run through the PostgreSQL documentation, the postgresql.conf, and pg_hba.conf (for good measure) trying to find where to set the connection time for PostgreSQL. Can this be set? If so, what’s the proper configuration for that?
Thanks,
-Frances
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера