AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 16.12.2008, 00:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Browsing '.svc' Files yields HTTP Error 404.3
Источник: http://blogs.msdn.com/aif/archive/20...b-service.aspx
==============

Version: Dynamics AX 2009.



Problem

You have published your Dynamics AX services as Windows Communication Foundation (WCF) web services through Microsoft Internet Information Services (IIS), running on Windows Server 2003 or on Windows Server 2008. When you try to browse files with the extension '.svc' you get an error message of type 404.3 with a description similar to "The page you are requesting cannot be served because of the extension configuration".



'.svc' files are WCF service artifacts; they are similar to '.asmx' files used in older web service implementations. You can browse '.svc' files for instance by pointing your browser to a URL similar to http://myhost/MicrosoftDynamicsAxAif...merService.svc; please refer to the product documentation for details about determining the actual URL for a specific service.



Possible Cause

I ran into this issue on test machines where I had installed IIS after installing .NET Framework 3.0, 3.5 or Windows SDK for Longhorn Server. It turned out that WCF - and the file extensions it supports (including .svc) - had not been registered properly with IIS and ASP.NET.



Solution

I used the ServiceModel Registration Tool (see [1]) to reregister WCF with IIS and ASP.NET and ran it on the machine to which I had deployed my Dynamics AX web services. The command options that worked for me were:



ServiceModelReg.exe -i -x



Note that this procedure is also documented in the IT Pro documentation.



Related Links

[1] http://msdn.microsoft.com/en-us/library/ms732012.aspx




Источник: http://blogs.msdn.com/aif/archive/20...b-service.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
За это сообщение автора поблагодарили: kpoxa (1).
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dax-lessons: Generate XML Documentation Files for a project - DAX 2009 Blog bot DAX Blogs 0 08.08.2008 19:06
C# and AX Development: Reading CSV files in AX (Axapta) Blog bot DAX Blogs 0 07.12.2007 17:30
axaptabuilder: How to build Axapta application from XPO files stored in Visual Source Safe. Blog bot DAX Blogs 0 12.04.2007 16:10
mfp: Building a layer file from XPO files Blog bot DAX Blogs 0 13.11.2006 22:30
Dynamics AX Geek: Finding files with WinAPI Blog bot DAX Blogs 0 28.10.2006 16:40

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:13.