web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

The website cannot display the page

(0) ShareShare
ReportReport
Posted on by

I am getting below message when trying to hit http://localhost:7047/DynamicsNAV70 from IIS instance of client.

"Metadata publishing for this service is currently disabled" and the steps to make metadata enable.

But when I tried to hit http://localhost:7047/DynamicsNAV70/WebClient I am getting below message :

"The website cannot display the page"

This error (HTTP 405 Method Not Allowed) means that Internet Explorer was able to connect to the website, but the site has a programming error.

Can anyone help me out with this.

Thanks in advance!!

-Pooja

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at

    did you add following to your web.config file?

    <serviceMetadata httpGetEnabled="true"/>

  • Suggested answer
    Saurabh Shah Profile Picture
    4,560 on at

    Please check your NAV services and IIS service for NAV webclient is running.

    Please also make sure that the port which you used for NAV web client is not used by any other IIS application.

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    if you do not find a solution, the best way is, you uninstall the webclient component and then re-install the webclient.

    and check your firewall settings.

  • Community Member Profile Picture
    on at

    Changed the configuration and tried but no changes in result.

    Any other resolution?

  • Community Member Profile Picture
    on at

    Yes saurabh, both are running and no application are using same port.

    After installing server on an IIS running machine a website called Microsoft Dynamics NAV 2013 Web Client is added on the IIS.

    The physical path of the web application is C:\inetpub\wwwroot\DynamicsNav70\WebClient.

    But I am not getting webclient folder in above location.

    Any idea what is wrong?

  • Suggested answer
    Saurabh Shah Profile Picture
    4,560 on at

    which configuration you have changed?

    can you uninstall web client and install it again?

  • Community Member Profile Picture
    on at

    Firewall settings are all done.

  • Community Member Profile Picture
    on at

    Hello,

    I have done the complete set up again and now when hitting url

    http://localhost:8080/ I am getting error:

    "A server error has occurred, and the content cannot be displayed. Refresh the page or open a new browser window."

    User through which I am logged in has Admin Rights.

    and hitting url http://localhost:7047/DynamicsNAV70/WebClient I am getting error:

    "Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'RibbonCommandHandler'"

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information:

    Module    IIS Web Core
    Notification    BeginRequest
    Handler    Not yet determined
    Error Code    0x800700b7
    Config Error    Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'RibbonCommandHandler'
    Config File    \\?\C:\Program Files\Microsoft Dynamics NAV\70\Web Client\web.config
    Requested URL    http://localhost:8080/DynamicsNAV70
    Physical Path    C:\Program Files\Microsoft Dynamics NAV\70\Web Client
    Logon Method    Not yet determined
    Logon User    Not yet determined

    Config Source:

       87:     <handlers>
       88:       <add name="RibbonCommandHandler" verb="GET" path="RibbonCommandHandler.axd" type="Microsoft.Dynamics.Framework.UI.Web.WebClient.RibbonCommandHandler, Microsoft.Dynamics.Framework.UI.Web.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified"/>
       89:       <add name="DynamicImageHandler" verb="GET" path="img" type="Microsoft.Dynamics.Framework.UI.Web.DynamicImageHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified"/>
    

    More Information:

    This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    Please suggest some resolution.

    Thanks!!

    Pooja

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    if this handler entry is not twice in the web.config, then there is a duplicate entry in the server configuration at least one step higher in the inheritance hierarchy. check the basic config files and the web.config of iis.

    you could simple remove that entry physically or add following entry:

    <remove name="ScriptHandlerFactory">

    for more details for that error follow support.microsoft.com/.../en-us

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans