>
путь к базе данных указан неверно.Дополнительная информация об ошибке:GDSCODE = 335544721.Исключительная ситуация EIBInterBaseError в модуле SmetaRu.exe.Unable to complete network request to host «1-РџРљ».Failed to locate host machine.Ошибка произошла при переустановке версии 7 на 8
Уберите в пути к БД в файле GDBPath имя компьютера — оно у вас русскими буквами, interbase не дружит с ними)
Х:StroySoftSmeta.ruClientData — путь до файла GDBPath.net (открывается блокнотом)
СПАСИБО, все работает!
А можно поподробнее описать, то я не понимаю как это сделать Уберите в пути к БД в файле GDBPath имя компьютера — оно у вас русскими буквами, interbase не дружит с ними)
Заходите на диск с предустановленной Smeta.ru.Далее StroySoftSmeta.ruClientData, там лежит файл GDBPath.net, открываете его блокнотом или другим текстовым редактором.В нем указан путь к БД. (C:StroySoftServerBaseDataSD.ssd) Если перед меткой тома есть еще что-нибудь(HPredirect:C:StroySoftServerBaseDataSD.ssd), удалите.
Спасибо, всё получилось))))
Этой
инструкцией предусмотрено решение проблемы запуска программы с ошибкой:
Unable to complete network request to host
«localhost». Failed to establish a connection. -902 335544721
1. Зайдите
в [Панель управления] —
[Администрирование] — [Службы] и проверьте состояние
службы Firebird
Server. Служба должна находиться в
состоянии «Выполняется»:
(Служба Firebird Guardian в версиях начиная с 2016.8 по умолчанию может отсутствовать, это не является проблемой)
Если
служба остановлена, запустите ее:
Если служба выполняется, переходите к выполнению п. 2
2. Зайдите
в [Панель управления] —
[Брандмауэр windows] — [Включение и отключение брандмауэра Windows] и отключите брандмауэр:
Затем
попробуйте запустить программу. Если ошибка не
повторяется и программа запустилась, значит нужно
прописать порты в брандмауэр. Если не запустилась — переходите к п. 3
Для
добавления портов в брандмауэр:
а) Зайдите в [Панель управления] — [Брандмауэр windows]
— [Дополнительные параметры]
б) Выберите [Правила для входящих подключений] и нажмите [Создать
правило]:
в) Выберите тип правила «Для порта» и нажмите Далее:
г) Выберите «Протокол TCP» и укажите диапазон локальных портов с 3050 по 3051 и нажмите Далее:
e) Выберите «Разрешить подключение» и нажмите Далее:
ж) Установите галочки для всех
профилей и нажмите Далее:
з) Введите произвольное имя для
создаваемого правила и нажмите Готово:
и) Выберите [Правила для исходящих подключений] и и нажмите
[Создать правило]:
к) Повторите действия по аналогии с пункта «в)» по пункт «з)» для исходящего подключения
л) Зайдите в [Панель управления] — [Брандмауэр
windows] — [Включение и отключение брандмауэра Windows] и включите брандмауэр
3. Отключите
антивирусную программу. Как правило это можно сделать нажатием правой кнопки
мыши на ярлыке программы в системном трее в нижнем правом углу экрана.
Затем
попробуйте запустить программу Автодилер. Если программа запустится нормально,
значит антивирусная программа блокирует порты 3050-3051.
Ввиду
большого количества разнообразных антивирусных программ, их модификаций и
версий — универсальной инструкции
по настройке антивируса нет. Вам следует обратиться к
вашему системному администратору.
From IBOBjects FAQ
Is there a way to detect a lost connection and try to reconnect
automatically, without user action?Hook into the OnError event and look for the ERRCODE that denotes a
lost connection. Then, you can take whatever action you deem necessary
to deal with the problem. If the connection is lost you need to do a
disconnect and then connect again.
And from one of the base members of the IBObjects:
However, perhaps the «something» you are missing is that, if the
connection is broken by an external cause, the client application has
no way to know that it is not still connected. Its first knowledge of
that fact will come the next time it tries to access the server. The
API will report «Connection lost to database» and return GDSCODE
335544741, which is identified by the constant
isc_lost_db_connection.At the point where this exception occurs, the TIB_Connection still
thinks it is connected — the Connected property will be true. If you
try to reconnect by calling Connect, you will get an IBO exception.
It is necessary to call Disconnect. This does not simply reset a
property. The Disconnect method performs all of the necessary cleanup
to invalidate the broken transactions and cancel any now invalid
postings, datasets and caches. Once Disconnect has completed its
work, you can then place a Connect call inside a retry loop and
attempt to get going again.I do not know of a working example, but the simplest way to deal with
this is to write a RestoreConnection handler procedure that you can
call from your IB_Session.OnError handler whenever argument ERRCODE
returns isc_lost_db_connection.Have your RestoreConnection procedure do whatever you need to do,
trying to call Connect and handling the exception that occurs if the
request fails, until no exception occurs. Test the Connected property
after each iteration. When Connected is finally True, you are in
business. You can drop out of the retry code and inform the user that
the connection has been restored — perhaps with a sound and/or a
message in the status bar, to avoid having to show a dialog box that
she has to respond to. (if you like the idea of sound and status bar
cues, you could devise «connection lost» warning sound and status bar
message code to run at the beginning of your handler procedure as
well…)If these broken connections are a frequent occurrence, you might like
to consider making a distinctive custom cursor that you can display
while your procedure is running, and enclose the retry code in a
non-yielding BeginBusy…EndBusy block with UseCursor enabled and
BusyCursor set to use this special cursor image.And if re-establishing a connection is likely to take a long time, or
to be temporarily impossible, you would need to provide the ability
for the user to intervene and choose not to keep trying. You can use
the session timer for this, enclosing your «busy» block inside
another iterative block the prompts the user to «Cancel» or «Keep
Trying», at reasonable intervals.
Source
I’m trying to make DBeaver database manager connect to a Firebird *.FDB file. It is a local file database and I want to inspect the tables etc and perform some queries for data reporting.
However, when I try to open the database in DBeaver I get this error message:
Unable to complete network request to host
«localhost».[SQLState:08006, ISC error code 335544721]
Connection refused: connect
I’ve tried updating the driver, which updates the org.firebirdsql.jdbc:jaybird-jdk18:RELEASE [3.0.5]
without any errors, and also enabling/disabling the embedded checkbox.
As far as I know Firebird is supported by DBeaver, what am I doing wrong here?
asked Nov 11, 2018 at 15:11
After some trial and error I’ve figured out the answer to this. The services Firebird Service
and Firebird Guardian
weren’t running. I had installed the Firebird Server but accidentally selected «Run as an Application» instead of «Run as a Service».
DBeaver cannot connect to the Firebird database file without these services running. Which is kind of odd because the osFinancials application that uses this database file was working just fine without the services.
Anyway, once the Firebird Server is installed as «run as application» there is AFAIK no easy way to still get it to run as a service. So I just uninstalled and then reinstalled the Firebird Server setup and selected the correct option.
It adds two services named FirebirdGuardianDefaultInstance
and FirebirdServerDefaultInstance
which correspond to these two commandlines:
"C:Program Files (x86)FirebirdFirebird_2_5binfbguard.exe" -s DefaultInstance
"C:Program Files (x86)FirebirdFirebird_2_5binfbserver.exe" -s DefaultInstance
answered Nov 11, 2018 at 21:33
BdRBdR
1891 gold badge2 silver badges12 bronze badges
2
There is the possibility of the version of the driver being incompatible with the version the (remote) server is using. You can try upgrading (or downgrading) the version by downloading the appropriate version:
MMM
2,6114 gold badges24 silver badges42 bronze badges
answered Dec 5, 2019 at 14:50
Service «Firebird» must be active:
answered Mar 12 at 21:52
1
<Ирина>, сделайте снимок экрана в момент появления ошибки и пришлите на почту all@pvision.ru с кратким пояснением.
<Рафа>
10 января 2019, 23:01#
Бизнес пак не дает вводить реквизиты фирм казахским шрифтом, получаются знаки вопроса. Когда в настройках языка переключаешь язык программ не поддерживающих юникод на казахский, то интерфейс получается в корозябках. Есть решение?
<Рафа>
10 января 2019, 23:01#
<Рафа>,система Windows 10
<Рафа>, поддерживается только win-1251
<Алексей>
17 января 2019, 17:01#
Добрый день при подключении к сетевой базе выдает ошибку GDS Code: 335544721 — SQL Code: -902 — Error Code: 401 Менеджер баз данных стоит на этой же машине.
Как или что сделать чтобы исправить данную ошибку.
<Алексей>, сделайте снимок экрана ошибки и отправьте на почту all@pvision.ru с кратким пояснением.
<Леонид>
28 января 2019, 16:01#
Здравствуйте!
В БП после обновления в счетах при изменить/добавить компанию выдаёт ошибку «control named inn not found».
<Пользователь >
07 февраля 2019, 14:02#
Добрый день
Не получается запустить эдо, после нажатия кнопки показывает ошибку
Логин и пароль введены
<Пользователь >, сделайте снимок экрана ошибки и отправьте на почту all@pvision.ru
<Игорь>
07 февраля 2019, 16:02#
Здравствуйте.
Установил версию 7.16.(4015). При попытке открыть появляется сообщение database damaged (2)
<Игорь>, вам ответили на почту.
<Максим>
08 февраля 2019, 19:02#
Бизнес пак после обновления выдаёт ощипку GDS Code 335544335 как можно решить вопрос?
<Максим>, сделайте снимок экрана с сообщением об ошибке и пришлите нам на почту all@pvision.ru
<Татьяна>
10 апреля 2019, 10:04#
При запуске программы выдает ошибку error in closing in the unzipfile
<Татьяна>, удалите файл «aup.pkg» из каталога с установленной программой «Бизнес Пак 7».
<Татьяна>
10 апреля 2019, 10:04#
Спасибо
<Софья>
10 апреля 2019, 14:04#
Здравствуйте, в моей программе начиная с начала 2019 года в книге продаж перестала выделяться сумма облагаемая НДС 20% (столбец 14) и сама сумма НДС (в столбце 17)
При этом пишет что установлена последняя версия 7.17. Пыталась с сайта загрузить обновления принудительно, после обновления ничего не изменилось(
<Иван>
10 апреля 2019, 19:04#
Здравствуйте, после переустановки программы в ту же папку выдаёт ошибку: can not load module «host-defs.scm». Помогите пожалуйста решить вопрос.
<Софья>, как вы формируете книгу? Из какого раздела?
<Иван>, сделайте снимок экрана ошибки и отправьте на почту all@pvision.ru