Options

Nav 2013 Beta WebClient-Cannot access http:\\localhost:8080

nasheernasheer Member Posts: 78
edited 2012-09-12 in NAV Three Tier
Dear All

I would like to seek your help for the below error message prompted while try to access (Nav 2013 Web Client) http:\\localhost:8080\

Access to the webpage was denied
You are not authorized to access the webpage at http://localhost:8080/. You may need to sign in.


First system prompted for 'User Name' and Password, keyed in windows user account, but prompted the above message.

Here below the 'web.config' file from 'Web Client' folder.


<?xml version="1.0" encoding="UTF-8"?>
<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" />
<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>
<authorization>
<allow users="*" />
</authorization>
</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="Services/ClientServiceDiscovery.svc">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
<!-- Uncomment to use form based authentication mode with Client Services
<location path="Services/ClientService.svc">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="cs.DynamicFileHandler.axd">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="cs.img">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="ClientServiceModule" />
<remove name="NotSupportedBrowserFeaturesCheckerModule" />
<remove name="ETagRemoveModule" />
<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" />
</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 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="7046" />
<!-- 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&quot; />
<!--
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 the connection to the server. -->
<add key="UnknownSpnHint" value="(net.[url=tcp://localhost:7046/DynamicsNAV70/Service]tcp://localhost:7046/DynamicsNAV70/Service[/url])=NoSpn" />
<!-- 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>


Kindly advise.

Thank you.

Regards
Nasheer.

Comments

  • Options
    kinekine Member Posts: 12,562
    And you what is your topology? The SQL server is on localhost too? Is your account entered in NAV and assigned some permission sets?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    nasheernasheer Member Posts: 78
    Thanks Kine.

    Yes. SQL Server on my local machine (localhost).

    I just installed NAV 2013 Beta as per the instructions. Able to open Development Environment and RTC Client. I haven't change any settings.

    Please advise what to check.

    Thank you.
  • Options
    kinekine Member Posts: 12,562
    CHeck that the site on IIS have Windows authentication enabled (or that the Windows authentication feature is installed for the IIS).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    MSattiMSatti Member Posts: 4
    Hi, Check this link in the browser on the local machine. http://localhost:8080/DynamicsNAV71/webclient/
  • Options
    MSattiMSatti Member Posts: 4
    Hi, check this link in your browser in local machine.
Sign In or Register to comment.