«An error occurred in the client» error when you try to package an Access Web application in Access 2013
When you try to package an Access Web application, an .app file is not generated and you receive the following error message:
An error occurred in the client while attempting to communicate with the server ‘[URL]‘. Please contact your system administrator or technical support.
Resolution
To resolve this issue, apply the following update:
2863871 Description of the Access 2013 hotfix package (Access-x-none.msp): April 8, 2014
Registry key information
Important
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
After you install this hotfix package, you can follow these steps to increase the time-out time when you try to package an Access Web App:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then select the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Access\Settings\
- On the Edit menu, point to New, and then click DWORD Value.
- Type AccWebSaveAsPackageTimeout, and then press Enter.
- In the Details pane, right-click AccWebSaveAsPackageTimeout, and then click Modify.
- In the Value data box, type 120000 or a greater value, and then click OK.
- Exit Registry Editor.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
CommunicationException: An error occurred on client side while making the HTTP request (HTTP.SYS) to third-party WebService
I’m from Brazil and our government released a WebService meant to inform employees’ payroll that’s called eSocial. I’m developing a solution to communicate with this service for about a year now and I found this error in some customers’ machines while trying to send information to the government WebService:
System.ServiceModel.CommunicationException:
An error occurred while making the HTTP request to ‘https://webservices.producaorestrita.esocial.gov.br/servicos/empregador/enviarloteeventos/WsEnviarLoteEventos.svc’. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. —> System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
—> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
—> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags).
- Set the property ServicePointManager.SecurityProtocol (https://stackoverflow.com/a/33084791/8133067);
- Let Windows Update install the updates needed (https://stackoverflow.com/a/45494549).
In case of the first solution: eSocial WebService uses the TLS 1.2 security protocol, but this is not always the default machine configuration. I already did this in the code and did not solve in most cases:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
In case of the second solution: In the research I did the problem could happen on computers with an outdated Windows 7, and theoretically the update via Windows Update would solve, but in most cases did not solve, and I have even caught some cases of this error in Windows 10.
I even did a test program, with the message log and trace log turned on, to see if I could get any more information, but the only other thing I found out (because of tracing) is that the error occurs when the message is sent by the channel (communication channel with the WebService).
Here is the code I’m using to instantiate and call the service:
const string UrlSvcBase = @"https://webservices..esocial.gov.br/servicos/empregador/"; string urlServico = String.Format(UrlSvcBase, "producaorestrita", @"enviarloteeventos/WsEnviarLoteEventos.svc"); var address = new EndpointAddress(urlServico); //var binding = new BasicHttpBinding(BasicHttpsSecurityMode.Transport); var binding = new BasicHttpsBinding(); //Available since .NET Framework 4.5 binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate; // Manual de Orientação do Desenvolvedor v1.4, página 39, item '5.4.5. Validações aplicadas': // "O tamanho limite da mensagem SOAP é 750 kbytes." // O valor padrão da propriedade MaxReceivedMessageSize é 65.536, // que é alterado então para 750 KB * 1024 = 768.000 bytes. // Caso contrário, ocorre a exceção: // Exception: System.ServiceModel.CommunicationException // InnerException: System.Exception // "The maximum message size quota for incoming messages (65536) has been exceeded. // To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element." // HResult: -2146233087 (0x80131501) binding.MaxReceivedMessageSize = 768000; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; var wsClient = new WsEnviar.ServicoEnviarLoteEventosClient(binding, address); // 'certificado' variable's type is X509Certificate2. wsClient.ClientCredentials.ClientCertificate.Certificate = certificado; wsClient.Open(); // 'lote' variable's type is XElement. var retorno = wsClient.EnviarLoteEventos(lote); wsClient.Close();
Does anyone have any idea what might cause this error, or any idea of what else I can do to try to figure out the cause of the problem?
[EDIT]
My question was flagged as a possible duplicate of that one:
But, I had already tried almost all those solutions without success (actually, you can see that question already linked on my original post), that’s why I’ve posted a new question, and there is a fundamental difference because in that question the service was made by the user and in my case the service is third-party. Fortunately I’ve got the answer somewhere else, so I’ll post it here.
Почему появляется ошибка An error occurred в Nginx?
Переходя по ссылкам на сайте с CMS WordPress иногда выходит ошибка Nginx «An error occurred» в логах пишется следующее:
*54388 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: Ip-адрес клиента, server: site.ru, request: «GET /news HTTP/1.1», upstream: «fastcgi://unix:/var/run/php5-fpm.sock:», host: «site.ru»
Подскажите, пожалуйста, в чем может быть причина такого поведения?
- Вопрос задан более трёх лет назад
- 1050 просмотров
Комментировать
Решения вопроса 1
Сергей @goodwin74 Автор вопроса
В итоге методом проб и ошибок, обнаружил что после после увеличения worker_connections до 2000 и установкой worker_processes в значение 2, ошибки пропали и до сих пор не появлялись. Решил отписаться, дабы возможно инфа кому то будет нужна в случае аналогичной проблемы.
Перевод «an error occurred» на русский
Developers with access to the contents of resource memory now have substantially more useful information to help them determine exactly where an error occurred.
Разработчики, имеющие доступ к контенту ресурсной памяти, теперь имеют значительно более полезную информацию, чтобы помочь им точно определить, где произошла ошибка.
The first digit «4» means that there is an error occurred on the client side.
Первая «4» означает, что произошла ошибка со стороны клиента.
It is possible that an error occurred while storing or using the candle.
Возможно, при хранении или использовании свечи произошла ошибка.
Developers with access to the contents of resource memory now have substantially more useful information to help them determine exactly where an error occurred.
Разработчики с доступом к содержимому памяти получают больше полезной информации для определения того, где произошла ошибка.
Unfortunately, an error occurred when transferring your data.
Произошла ошибка при отображении ваших данных.
On the night of 11 to 12 July, an error occurred in the system of trading digital currencies transfer of funds.
Ночью с 11 на 12 июля в системе торговли виртуальной валютой произошла ошибка перевода средств.
Data recovery from error message «an error occurred while installing the Zune software».
Восстановление данных из ошибке «Произошла ошибка при установке программного обеспечения Зуне».
Those that begin with the number 4 means that an error occurred on the client’s side.
Первая «4» означает, что произошла ошибка со стороны клиента.
Re-runs the execution, if an error occurred.
выполнение задание повторно, если произошла ошибка
If an alert says that an error occurred
Если выводится оповещение о том, что произошла ошибка
Most likely, an error occurred in the calculation, the lander did not have time to slow down to the required speed.
Скорее всего, произошла ошибка в расчётах, и спускаемый аппарат не успел затормозиться до необходимой скорости.
We will determine whether an error occurred within ninety (90) days after you contact us and we will correct any error promptly.
Мы определим, действительно ли произошла ошибка, в течение 90 дней после поступления вашего запроса, и немедленно исправим любую ошибку.
Moreover, due to an oversight of the coordinator, an error occurred in the facility, and an employee of Ulyanovsk customs and his wife received gunshot wounds.
Из-за оплошности координатора произошла ошибка в объекте, и огнестрельные ранения были причинены сотруднику ульяновской таможни и его жене.
In the case when nothing helps, there is onlyRe-install the game completely, in the hope that an error occurred during the installation.
В случае, когда ничего не помогает, остаётся лишь переустановить игру полностью, в надежде на то, что при установке произошла ошибка.
If a message says that iTunes can’t back up your device because an error occurred, check that you have the latest version of iOS.
Если в сообщении указано, что iTunes не удается создать резервную копию данных на устройстве, поскольку произошла ошибка, убедитесь, что установлена последняя версия ОС iOS.
You are viewing the Offline version of the article, or an error occurred while downloading
Вы просматриваете Offline версию статьи, либо произошла ошибка при загрузке
At a certain stage, when the leaders of the European Union were determined, an error occurred.
На определенном этапе, когда определяли руководителей Европейского Союза, произошла ошибка.
Data Recovery solution even when encountered with error messages like «an error occurred while installing the Zune software» while accessing your zune drive on your computer system.
Для восстановления данных, когда сталкиваются с сообщение об ошибке «Произошла ошибка при установке программного обеспечения Зуне» отображается при доступе к вашей zune диске.
There are no CAs from which you have permission to request a certificate, or an error occurred while accessing the Active Directory.
Нет таких ЦС, в которых вы имеете право запрашивать сертификат, или произошла ошибка доступа к Active Directory.
For example, you can imagine a situation where you are the initiator of creating a contract, during the creation of which an error occurred, because the initiator of the call had no right to perform any of the transactions.
Например, можно представить ситуацию, когда вы являетесь инициатором создания контракта, при создании которого произошла ошибка, поскольку инициатор звонка не имел права выполнять какую-либо из транзакций.
Возможно неприемлемое содержание
Примеры предназначены только для помощи в переводе искомых слов и выражений в различных контекстах. Мы не выбираем и не утверждаем примеры, и они могут содержать неприемлемые слова или идеи. Пожалуйста, сообщайте нам о примерах, которые, на Ваш взгляд, необходимо исправить или удалить. Грубые или разговорные переводы обычно отмечены красным или оранжевым цветом.
Зарегистрируйтесь, чтобы увидеть больше примеров. Это просто и бесплатно
Ничего не найдено для этого значения.
Предложить пример
Больше примеров Предложить пример
Новое: Reverso для Mac
Переводите текст из любого приложения одним щелчком мыши .
Скачать бесплатно
Перевод голосом, функции оффлайн, синонимы, спряжение, обучающие игры
Результатов: 194 . Точных совпадений: 194 . Затраченное время: 120 мс
Помогаем миллионам людей и компаний общаться более эффективно на всех языках.