Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Добрый день. Я новичок, простите, если что не то скажу. Смысл вот в чем. Я сделал WEB - сервис (в Visual Studio 2005), который выдает в XML "Hello World" (тот, что получается в автомате). Жму кнопку Start Debugging - запускается Developer, всё работает. Как мне теперь прикрутить это дело к IIS, так чтобы я мог обращаться к службе просто из WebBrowser? Я сделал виртуальный каталог, права для него, но при обращении к Service.asmx ( http://localhost/WebSite1/Service.asmx) выдается сообщение: Server Error in '/' Application. -------------------------------------------------------------------------------- The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /WebSite1/Service.asmx -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 Что мне ещё нужно сделать, чтобы это работало? Или где почитать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2006, 14:01 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Неверный путь Переепроверь все пути, все должно работать ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2006, 14:17 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Действительно, проблема была с путями. Пути настроил, теперь вот что пишет: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. А в журнале событий вот что: aspnet_wp.exe (PID: 3708) stopped unexpectedly. Что это и как бороться? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.04.2006, 09:34 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Александр 200230Действительно, проблема была с путями. Пути настроил, теперь вот что пишет: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. А в журнале событий вот что: aspnet_wp.exe (PID: 3708) stopped unexpectedly. Что это и как бороться? ну дак наверное нужно запустить службу ASP.Net State Service ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.04.2006, 09:46 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Madfish Александр 200230Действительно, проблема была с путями. Пути настроил, теперь вот что пишет: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. А в журнале событий вот что: aspnet_wp.exe (PID: 3708) stopped unexpectedly. Что это и как бороться? ну дак наверное нужно запустить службу ASP.Net State Service ну и желательно что бы у Вас еще стоял Framework 2.0. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.04.2006, 09:47 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
Александр 200230 ( http://localhost/WebSite1/Service.asmx) выдается сообщение: Server Error in '/' Application. -------------------------------------------------------------------------------- The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /WebSite1/Service.asmx -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 Александр 200230 Возможно если не путь, то тогда имя сервера .. попробуй заменить ( http://localhost/WebSite1/Service.asmx) ( http://NameServer/WebSite1/Service.asmx) NameLocalMachine ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.04.2006, 11:02 |
|
||
|
WEB - сервис. Как настроить?
|
|||
|---|---|---|---|
|
#18+
ASP.Net State Service запущена. .NET FrameWork 2.0 установлена (а иначе как бы оно работало на ASP.NET Development Server при запуске из среды разработки?) Вместо LocalHost подстановка имени машины (так же как и IP адреса) не помогает. Какие еще мысли? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.04.2006, 18:22 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=33640254&tid=1392776]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
63ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
57ms |
get tp. blocked users: |
1ms |
| others: | 281ms |
| total: | 449ms |

| 0 / 0 |
