- v8: Проблема с совмещением разных платформ на одном серваке (клиент-серверный)
- Ошибка доступа к опубликованной на web-сервере IIS базе 1С Дневник Максим Боголепов
- Ошибка доступа к опубликованной на web-сервере IIS базе 1С
- 0x8007007f iis 1c web service extension
- 0x8007007f iis 1c web service extension
- Answered by:
- Question
- Answers
- HTTP Error 500.0 — Internal Server Error error when you open an IIS Webpage
- Summary
- HResult code
- HResult code 0x80070032
- HResult code 0x80070035
- HResult code 0x8007000d
- HResult code 0x800700c1
- HResult code 0x80070005
- HResult code 0x8007007f
- More information
v8: Проблема с совмещением разных платформ на одном серваке (клиент-серверный)
(4) Службу создал через Sc.exe, затем скопировал ветку реестра с рабочего сервиса на вновь созданный, ну естественно изменив версию платформы и порты (16xx).
Служба запускается, но в консоли администраторе ни отдельной остнастки ни отдельного кластера не появилось, при попытке создать кластер на 1641 ругается что порт занят.
При попытке создать новую базу сначало ругался на не соотвествие платформ, но уже в другом порядке, то есть сервер ниже версии чем пытается создать платформа (меня это порадовало). Но при установке нужной версии вылетать начала другая ошибка (точно не помню) «. Необходимо повторить попытку соединения. «.
После выполнения в кансоли команды Net Stat повторгая попытка создания базы увенчалась успехом. Но в кансоли админа я все равно не вижу этого кластера.
Мужики это оказался не конец.
Я тут на радостях что все получилось, замутил все также на серваке. И вроде все хорошо пока ко мне не пришли и не сказали что отвалился веб интерфейс в одной из баз — которая кстати на старой платформе.
Я все перепроверил все вроде как должно быть, решил ребутнуть (после установки новой версии на сервак не ребутал).
А дальше веселее, юзеры полезли через веб в старую базу, и такаяже ошибка возникла при попытке залезть на новую базу через веб, к слову до ребута я залезал по вебу на новую.
Получается какой Администратор сервера первый задействует веб-интерфейс тот и папа.
Ошибка такова:
Ошибка доступа к опубликованной на web-сервере IIS базе 1С Дневник Максим Боголепов
Ошибка доступа к опубликованной на web-сервере IIS базе 1С
На сервере под управлением Windows Server 2008 R2 Enterprise (по умолчанию 64-х битной) работают Internet Information Services 7.5, с помощью которых была попытка опубликовать на данном web-сервере базу 1С. Однако при заходе через браузер в данную базу была получена ошибка: |
В подробных сведениях при этом значится:
Сама страница с ошибкой вместо приглашения входа в базу выглядит так:
Это происходит ввиду того, что на Internet Information Services 7.5 в 64-х разрядной среде запрещен по умолчанию запуск 32-х разрядных приложений, коей до недавнего времени являлось 1С:Предприятие. Чтобы успешно выполнить публикацию баз 1С на web-сервере IIS7, необходимо в настройках диспетчера служб IIS разрешить запуск таких приложений.
Для этого выполните Win+R -> inetmgr.exe -> ввод. Далее, разверните локальный компьютер -> Пулы приложений, и вызовите правой клавишей мыши Дополнительные параметры… из выпадающего меню у DefaultAppPool, как показано на рисунке ниже:
В открывшемся окне дополнительных параметров измените значение напротив Разрешены 32-разрядные приложения на True, как показано на рисунке ниже, и перезапустите службы IIS7:
После чего вы сможете попасть в нужную базу 1С посредством web-доступа:
Однако, начиная с версии 8.3.9.1818 разработчики 1С наконец-то выпустили 64-х разрядный клиент, а так же Модули расширения веб-сервера данной разрядности:
Rating: 4.3/5(8 votes cast)
0x8007007f iis 1c web service extension
И снова здравствуйте.
> При проверке Web сервер определяется, а опубликованная база не находится.
Пожалуйста, уточните, что означает «база не находится».
Скриншот сообщения в файле Снимок1.
Попробовал исполнить Вашу инструкцию, получил следующее:
1. При публикации через Конфигуратор появилось сообщение Снимок2. NTFS-ные права на БД этой группе добавил.
Не помогло, при «проверке готовности компьютера» ошибка осталась таже «Не удалось найти публикацию базы!». Попробовал войти браузером на опубликованное приложение выдал ошибку про кривую библиотеку ISAPI. Методом проб и ошибок выснилось, что при установке IIS 8.5 «по умолчанию» не устанавливаются компонент «Расширения ISAPI».
2. Устоновил в IIS не достающий компонент «Расширения ISAPI». Опубликованная база опять не нашлась. Но при входе через браузер на публикацию ошибка стала другая.
Ошибка HTTP 500.0 — Internal Server Error
Невозможно отобразить эту страницу ввиду того, что произошла внутренняя ошибка сервера.
Подробные сведения об ошибке:
Обработчик 1C Web-service Extension
Код ошибки 0x800700c1
Запрошенный URL-адрес http://192.168.1.51:80/Money_101251
Физический путь C:\Inetpub\wwwroot\Money_101251
Метод входа Анонимная
Пользователь, выполнивший вход Анонимная
3. После нескольких часов экспериментов базу опубликовать удалось, путем установки галки «использовать аутентификацию операционной системы» при публикации через Кофигуратор.
При «проверке готовности компьютера» ошибок нет. Адрес в настройках 1С проверяется. При входе через браузер возникает следующая ошибка.
Ошибка HTTP 401.2 — Unauthorized
Вы не имеете права просматривать эту страницу из-за недопустимости заголовков проверки подлинности.
Подробные сведения об ошибке:
Модуль IIS Web Core
Обработчик 1C Web-service Extension
Код ошибки 0x80070005З
апрошенный URL-адрес http://192.168.1.51:80/Money_101251
Физический путь C:\Inetpub\wwwroot\Money_101251
Метод входа Пока не определено
Пользователь, выполнивший вход Пока не определено
4. Печальные итоги.
Остановился на двух неработающих вариантах.
Публикация без галки «использовать аутентификацию операционной системы» (Соответствует включенной в консоли IIS для опубликованного приложения «анонимной проверки подлинности»)
Сервис на компе не находится. При попытке синхронизации iPad ошибка в Миниденьгах, что не найден сервис синхронизации. Ощущение что где то на компе не хватает NTFS-ных прав, вроде перепробовал уже все.
Публикация с галкой «использовать аутентификацию операционной системы» (Соответствует отключенной в консоли IIS для опубликованного приложения «анонимной проверки подлинности»)
Сервис на компе находится, адрес проверяется. Но при сихронизации Миниденьги пишут ошибку «Неправильное имя или пароль пользователя настольного приложения». Экспериментировал с заведением пользователя в настольной 1С — ни какие варианты не помогли.
Скорее всего Миниденьги не корректно обрабатывают возвращаемую от сервиса ошибку, и проблема не в пользователе настольного приложения, а в том что запрещены анонимные подключения к сервису.
Подскажите что еще можно покопать и в каком варианте?
0x8007007f iis 1c web service extension
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I’ve written an ISAPI extension using Visual Studio 2012 on windows 7 that is a very simple passthrough wildcard extension. When compiled as 32 bit, and with the app pool set to allow 32 bit applications the filter works well. But when I compile as 64 bit I get a 500 error with the code 0x8007007f. 64 bit depends shows all green. There are no errors in the event log. Any help would be greatly appreciated.
Answers
Hi Marc Boorshtein,
I search 500 error with the code 0x8007007f on http://support.microsoft.com/kb/942031/en-us , and it displays like below:
Error message 6
Server Error in Application «application name»
HTTP Error 500.0 – Internal Server Error
HRESULT: 0x8007007f
Description of HRESULT Calling GetProcAddress on ISAPI filter «path_of_isapi» failed
Error message 7
Server Error in Application «application name»
HTTP Error 500.0 – Internal Server Error
HRESULT: 0x8007007f
Description of HRESULT There is a problem with the resource you are looking for, so it cannot be displayed.
Maybe you should check if you have the right ISAPI filter and set the right path for it. If you don’t have the right filter, you can add filter refer to http://technet.microsoft.com/en-us/library/cc754174(v=ws.10).aspx .
More suggestions related ISAPI filters please refer to
On the other side , I still want to suggest that please check How to: Configure Visual C++ Projects to Target 64-Bit Platforms to make sure the configurations for running on 64 bit is no problem.
If it still does not work, maybe we need to have patience to wait answer from your post in IIS forum.
Thanks again for your post and quickly feedback!
May Wang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
HTTP Error 500.0 — Internal Server Error error when you open an IIS Webpage
This article helps you resolve the HTTP 500.0 error that occurs when you visit a Web site that is hosted on IIS.
Original product version: В Internet Information Services
Original KB number: В 942031
Summary
This article describes HResult codes when you encounter 500.0 error on an Internet Information Services (IIS) Web application. This article is intended for Web site administrators. These errors have many causes and can affect many different system configurations. The procedures that are described in this article must be performed by a member of the administrator group on the server.
End users that experience these errors should notify the Web site administrator of the problem.
HResult code
HTTP Error 500 message indicates that a problem has occurred on the Web server that hosts the Web site at the time the error is returned.
The following is the details of these errors.
HResult code 0x80070032
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x80070032
Description of HRESULT ISAPI filter drive:\FilePath\ISAPI_FLT.dll tried to register for SF_NOTIFY_READ_RAW_DATA notification.
This problem occurs because IIS 7.0 does not support the Internet Server API (ISAPI) filter that registers for the SF_NOTIFY_READ_RAW_DATA notification.
Do not use the ISAPI filter that registers for the SF_NOTIFY_READ_RAW_DATA notification in IIS.
HResult code 0x80070035
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x80070035
Description of HRESULT The page cannot be displayed because an internal server error has occurred.
This problem occurs because the server that is running IIS 7.0 cannot access the configured root directory of the requested location.
Make sure that the server that is running IIS 7.0 can access the configured root directory of the requested location.
HResult code 0x8007000d
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x8007000d
Description of HRESULT Handler «ASPClassic» has a bad module «IsapiModule» in its module list.
This problem occurs because the ISAPIModule module is missing from the modules list for the Web site. The ISAPIModule module is in this location: drive:\Windows\System32\inetsrv\isapi.dll .
Add the ISAPIModule module to the modules list for the Web site. To do this, follow these steps:
- Click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand , expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Module.
- In the Actions pane, click Add Native Module.
- In the Add Native Module dialog box, click to select the IsapiModule check box, and then click OK.
HResult code 0x800700c1
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x800700c1
Description of HRESULT The page cannot be displayed because an internal server error has occurred.
This problem occurs because a script mapping is not valid.
Make sure that the script-mapping points to the ISAPI.dll file that can process the request. To do this, follow these steps:
- Click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand , expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Handler Mappings.
- Make sure that the script-mapping points to the correct ISAPI.dll file. For example, .asp files should map to the %windir%\system32\inetsrv\asp.dll file.
HResult code 0x80070005
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x80070005
Description of HRESULT LoadLibraryEx on ISAPI filter «path_of_isapi» failed.
This problem occurs because an ISAPI filter that is not valid is loaded at the global level or at the Web site level.
Remove the ISAPI filter that is not valid. To do this, follow these steps:
- Click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand , expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click ISAPI Filters.
- Right-click the ISAPI filter that you want to remove, and then click Remove.
HResult code 0x8007007f
There are two possibilities for HResult 0x8007007f:
Error message 1:
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x8007007f
Description of HRESULT Calling GetProcAddress on ISAPI filter «path_of_isapi» failed.
This problem occurs because an ISAPI filter that is not valid is loaded at the global level or at the Web site level.
To resolve the problem, remove the ISAPI filter that is not valid. To do this, follow these steps:
- Click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand , expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click ISAPI Filters.
- Right-click the ISAPI filter that you want to remove, and then click Remove.
Error message 2:
Server Error in Application «application name»
HTTP Error 500.0 — Internal Server Error
HRESULT: 0x8007007f
Description of HRESULT There is a problem with the resource you are looking for, so it cannot be displayed.
This problem occurs because the handler mapping for the requested resource points to a .dll file that cannot process the request.
To resolve the problem, edit the handler mapping for the requested resource to point to the .dll file that can process the request. To do this, follow these steps:
- Click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand , expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Handler Mappings.
- Right-click the script mapping that you want to edit, and then click Edit.
- In the Edit Script Map dialog box, type the appropriate executable file in the Executable box, and then click OK.
For example, .asp files should map to the %windir%\system32\inetsrv\asp.dll file.
More information
For any exception thrown from the web application code, check Application event log or your own Application log, for Exception Type, Exception Message, and Exception Call Stack. If further debugging is needed, use DebugDiag latest version to capture first chance exception dumps.