Dynamics NAV 2013 Web Client Error In Server 2012 (IIS 8.0)

tonypangtonypang Member Posts: 101
edited 2015-01-23 in NAV Three Tier
Hello Master,
I facing some issue in Windows Server 2012 with SQL Server 2012 ( IIS 8.0)

When i run RTC no problem.
Only Error when i connect Web Client is cause the issue.
Kindly refer to attached file.

For the Something when i install to Windows Server 2008 R2 and SQL 2008 R2 (IIS 7.0) no issue.

Hope master here can guide me how to solve it.
Thanks

regards
tony
NAV

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,503
    Did you configure web config file correctly?

    you can find the config file under
    C:\Program Files\Microsoft Dynamics NAV\70\Web Client
  • tonypangtonypang Member Posts: 101
    Hello mohana_cse06,

    All configure correctly. All the config file follow the standard navision.
    I only Chande Port No. only.
    Do you why ? Because when i install default in IIS7.0 with Server 2008 R2 is work fiine.
    NAV
  • mohana_cse06mohana_cse06 Member Posts: 5,503
    Did you restart services after changing port?
  • tonypangtonypang Member Posts: 101
    Hello mohana_cse06,

    Only Webclient can not run but the windows based RTC can run.
    Did you try to install it in Windows Server 2012 with IIS8 ?

    Hope you can guide me how to solve it.

    Thanks mohana_cse06
    NAV
  • tonypangtonypang Member Posts: 101
    For more information below is my Web Client Config file

    <?xml version="1.0"?>
    <configuration>
    <configSections>
    <section name="businessClient" type="Microsoft.Dynamics.Framework.UI.BusinessClientConfigSection, Microsoft.Dynamics.Framework.UI, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="DynamicsNAVSettings" type="System.Configuration.AppSettingsSection, System.Configuration, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </configSections>
    <system.web>
    <globalization culture="auto" uiCulture="auto"/>
    <compilation defaultLanguage="c#" targetFramework="4.0"/>
    <httpRuntime requestValidationMode="2.0"/>
    <sessionState mode="InProc"/>
    <authentication mode="Windows"/>
    <!-- Uncomment to use form based authentication mode <authentication mode="Forms">
    <forms loginUrl="~/SignIn.aspx" timeout="2880"/>
    </authentication>
    -->
    <identity impersonate="true"/>
    <authorization>
    <deny users="?"/>
    </authorization>
    <pages enableViewState="true" validateRequest="false" clientIDMode="AutoID"/>
    <httpHandlers>
    <add 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"/>
    <add 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"/>
    <add verb="GET" path="DynamicFileHandler.axd" type="Microsoft.Dynamics.Framework.UI.Web.DynamicFileHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add verb="POST" path="DynamicFileUploadHandler.axd" type="Microsoft.Dynamics.Framework.UI.Web.DynamicFileUploadHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <add verb="GET" path="cs.img" type="Microsoft.Dynamics.Framework.UI.ClientService.ClientServiceHttpHandler`1Microsoft.Dynamics.Framework.UI.Web.DynamicImageHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Microsoft.Dynamics.Framework.UI.ClientService"/>
    <add verb="GET" path="cs.DynamicFileHandler.axd" type="Microsoft.Dynamics.Framework.UI.ClientService.ClientServiceHttpHandler`1Microsoft.Dynamics.Framework.UI.Web.DynamicFileHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Microsoft.Dynamics.Framework.UI.ClientService"/>
    </httpHandlers>
    <httpModules>
    <add name="ClientServiceModule" type="Microsoft.Dynamics.Nav.Client.ClientService.ClientServiceModule, Microsoft.Dynamics.Nav.Client.ClientService, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <!--<add name="FederatedAuthenticationModule" type="Microsoft.Dynamics.Framework.UI.Web.FederatedAuthenticationModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>-->
    <add name="NotSupportedBrowserFeaturesCheckerModule" type="Microsoft.Dynamics.Framework.UI.Web.NotSupportedBrowserFeaturesCheckerModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>
    </system.web>
    <!--This is needed in order to load and register the CSS files, which are also used before the user has a session (i.e. in login page).-->
    <location path="Resources">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    <location path="SignOut.aspx">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    <location path="Message.aspx">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    <location path="BrowserIsNotSupported.aspx">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    <location path="BrowserDoesNotAcceptCookies.aspx">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules>
    <remove name="ClientServiceModule"/>
    <remove name="NotSupportedBrowserFeaturesCheckerModule"/>
    <remove name="ETagRemoveModule"/>
    <remove name="NoSniffAddModule"/>
    <add name="ClientServiceModule" preCondition="managedHandler" type="Microsoft.Dynamics.Nav.Client.ClientService.ClientServiceModule, Microsoft.Dynamics.Nav.Client.ClientService, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <remove name="FederatedAuthenticationModule"/>
    <!--<add name="FederatedAuthenticationModule" preCondition="managedHandler" type="Microsoft.Dynamics.Framework.UI.Web.FederatedAuthenticationModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>-->
    <add name="NotSupportedBrowserFeaturesCheckerModule" preCondition="managedHandler" type="Microsoft.Dynamics.Framework.UI.Web.NotSupportedBrowserFeaturesCheckerModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add name="ETagRemoveModule" type="Microsoft.Dynamics.Framework.UI.Web.ETagRemoveModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add name="NoSniffAddModule" type="Microsoft.Dynamics.Framework.UI.Web.NoSniffAddModule, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </modules>
    <handlers>
    <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"/>
    <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"/>
    <add name="DynamicFileHandler" verb="GET" path="DynamicFileHandler.axd" type="Microsoft.Dynamics.Framework.UI.Web.DynamicFileHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified"/>
    <add name="DynamicFileUploadHandler" verb="POST" path="DynamicFileUploadHandler.axd" type="Microsoft.Dynamics.Framework.UI.Web.DynamicFileUploadHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified"/>
    <add name="ReportViewerWebControl" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified"/>
    <add name="ClientService.DynamicImageHandler" verb="GET" path="cs.img" type="Microsoft.Dynamics.Framework.UI.ClientService.ClientServiceHttpHandler`1Microsoft.Dynamics.Framework.UI.Web.DynamicImageHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Microsoft.Dynamics.Framework.UI.ClientService" resourceType="Unspecified"/>
    <add name="ClientService.DynamicFileHandler" verb="GET" path="cs.DynamicFileHandler.axd" type="Microsoft.Dynamics.Framework.UI.ClientService.ClientServiceHttpHandler`1Microsoft.Dynamics.Framework.UI.Web.DynamicFileHandler, Microsoft.Dynamics.Framework.UI.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Microsoft.Dynamics.Framework.UI.ClientService" resourceType="Unspecified"/>
    </handlers>
    <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true"/>
    <staticContent>
    <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00"/>
    </staticContent>
    </system.webServer>
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false"/>
    <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
    <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    </system.serviceModel>
    <appSettings>
    <add key="ReportViewerMessages" value="Microsoft.Dynamics.Framework.UI.Web.ReportViewerMessages, Microsoft.Dynamics.Framework.UI.Web"/>
    <add key="AllowExceptionDetail" value="true"/>
    </appSettings>
    <businessClient clientSessionStarter="Microsoft.Dynamics.Nav.Client.ClientService.NavClientServiceSessionManagerFactory`1Microsoft.Dynamics.Nav.WebClient.NavWebClientSessionManager, Microsoft.Dynamics.Nav.Client.WebClient, Microsoft.Dynamics.Nav.Client.ClientService"/>
    <DynamicsNAVSettings>
    <!-- Specifies whether NTLM fallback is permitted when authenticating. To require Kerberos authentication, set this value to false -->
    <add key="AllowNtlm" value="true"/>
    <!-- Sets the default size of a chunk, in KB. Should be a value between 4 and 80. -->
    <add key="ClientServicesChunkSize" value="28"/>
    <add key="Company" value=""/>
    <!--
    Threshold for when to start compressing data sets to avoid that they
    consume prohibitive amounts of memory.
    -->
    <add key="ClientServicesCompressionThreshold" value="64"/>
    <!--
    The time zone for the web server.
    Supported values "UTC" (the default) or the ID of a Windows
    time zone defined in the system registry under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones,
    for example "Romance Standard Time"
    -->
    <add key="TimeZone" value="UTC"/>
    <add key="Language" value="en-US"/>
    <!-- The locale for formatting dates, times, numbers and currency. This is required. -->
    <add key="RegionFormat" value="en-US"/>
    <!--
    The security services used to protect the client/server data stream.
    Valid options: EncryptAndSign, Sign, None
    -->
    <add key="ClientServicesProtectionLevel" value="EncryptAndSign"/>
    <!-- Name of the machine hosting the Microsoft Dynamics Nav Server to be connected to. -->
    <add key="Server" value="localhost"/>
    <!-- Name of the Microsoft Dynamics NAV Server instance to connect to (for client) or listen on (for server). -->
    <add key="ServerInstance" value="DynamicsNAV70"/>
    <!-- Uncomment to use form based authentication mode <add key="ClientServicesCredentialType" value="UserName"/> -->
    <!-- The listening TCP port for the Microsoft Dynamics NAV Server. This is part of the server's URL. Valid range: 1-65535 -->
    <add key="ClientServicesPort" value="8046"/>
    <!-- Specifies whether the service requires an SPN.
    If true, the connection will only be made to a service with an SPN <ServerInstance>/<Server>:<ClientServicesPort>
    If false, the connection will be attempted to a service with or without an SPN.-->
    <add key="ServicePrincipalNameRequired" value="false"/>
    <!--
    Specifies the maximum amount of time of an idle user session until the session is terminated.
    Time span format: [dd.]hh:mm:ss[.ff]
    dd: days
    hh: hours
    mm: minutes
    ss: seconds
    ff: fractions of a second
    -->
    <add key="SessionTimeout" value="00:20:00"/>
    <add key="HelpURL" value="http://go.microsoft.com/fwlink/?LinkID=233743"/&gt;
    <!--
    Specifies whether the Report Viewer options for saving a report as an Excel, Word, or PDF are visible.
    Enabling this parameter might require changing security settings on the server.
    For more information, see the documentation for configuring the Report Viewer.
    -->
    <add key="ShowReportViewerExportOptions" value="false"/>
    <!--
    Specifies whether to show the search action for finding a page or report.
    The action appears in the ribbon and navigation pane of the web client.
    -->
    <add key="ShowPageSearch" value="true"/>
    <!-- Specifies the connection to the server. -->
    <add key="UnknownSpnHint" value="(net.[url=tcp://localhost:8046/DynamicsNAV70/Service]tcp://localhost:8046/DynamicsNAV70/Service[/url])=NoSpn"/>
    <!-- The DNS or subject name from the server certificate. -->
    <add key="DnsIdentity" value=""/>
    <!-- Setting for the ACS authentication -->
    <!--
    ACS Uri is a top level partition of Windows Azure Access Control Service that are used to create the ACS tokens
    Ex. https://CRONUSInternationalLtd.accessco ... /localhost"
    -->
    <add key="ACSUri" value=""/>
    </DynamicsNAVSettings>
    </configuration>
    NAV
  • tonypangtonypang Member Posts: 101
    Hello Master,

    Does any one know how to Solve this issue ?

    Thanks
    NAV
  • tonypangtonypang Member Posts: 101
    Hello Master,

    Does any one know how to Solve this issue ?
    Top Urgent...
    Hope the All Master here can solve my issue.

    Windows Server 2012 with SQL Server 2012
    IIS 8.0
    Thanks
    NAV
  • JaanaJaana Member Posts: 28
    Hi!

    I don't think it's got something to do with the OS or IIS version. At least in my case it happened with WinSrv 2008 R2 and IIS7 too. Here how I could solve it:

    On my App server (NAV and IIS and Web Client) I received the error message as you described. On the NAV client box where I tried to access via Internet Explorer I received a simple 500 error (can't access)

    My setup had sub folders on the App server for different instances of the Web Client
    - C:\Program Files\Microsoft Dynamics NAV\70\Web Client\DynamicsNAV70
    - C:\Program Files\Microsoft Dynamics NAV\70\Web Client\DynamicsNAV70Test

    For some reason either using "add instance" in the NAV MAnagement or something else which I didn't identify yet) added the default folders back into

    - C:\Program Files\Microsoft Dynamics NAV\70\Web Client

    This means that the web client doesn't work anymore - each instance needs the own sub folder as above. So simply removing ALL Files in C:\Program Files\Microsoft Dynamics NAV\70\Web Client (other than the subfolders you want) helped... and obviously restart of IIS and NAV service.

    Hope this will help you too. This is a pretty stupid error message :x

    Chees
    Jaana
  • tonypangtonypang Member Posts: 101
    But i still can't solve my issue for Windows Server 2012 IIS8.0 (Totally New Server only one version of Navision )

    On my site also worked with WinSrv 2008 R2 and IIS7 too.

    Anyway thanks Jaana, I receied your advised
    NAV
  • mloopsmloops Member Posts: 5
    I received this error sometime back and to my knowledge its attributed to Internet Explorer explicitly. Try running the site through Chrome or Firefox.

    For it to work with IE, you may want to turn on the Windows Communication Foundation under the "Turn Windows Feature On or Off"
  • tinoruijstinoruijs Member Posts: 1,226
    I'm getting the same error.
    In event viewer I saw it is caused by lack of memory on the server where sql and iis are installed.
    SQL consumes all memory.
    I know I can set a maximum for on the Server Properties for SQL in Maximum server memory.
    Is it also possible to claim enough memory for IIS somehow?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • atpiyushatpiyush Member Posts: 12
    Has anybody found the answer of this error ??
Sign In or Register to comment.