<?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" debug="true"/> <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`1[[Microsoft.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`1[[Microsoft.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="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`1[[Microsoft.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`1[[Microsoft.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`1[[Microsoft.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-GB"/> <!-- 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="true"/> <!-- 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"/> <!-- 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.tcp://localhost:7046/DynamicsNAV70/Service)=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.accesscontrol.windows.net/v2/wsfederation?wa=wsignin1.0%26wtrealm=http://localhost" --> <add key="ACSUri" value=""/> </DynamicsNAVSettings> <connectionStrings> <remove name="LocalSqlServer"/> <add connectionString="Server=deJager-PC\navdemo;Database=Demo Database NAV (7-0);Integrated Security=true" name="LocalSqlServer" providerName="System.Data.SqlClient"/> </connectionStrings> </configuration>
Answers
I have been able to get the Nav.7 web client to work 100% from Visual Studio 2010...it generates a completely different url though.
http://localhost:50740/web%20client/list.aspx
As a matter of interest, in IE I can create a new sales order perfectly, but in Google Chrome...it creates a new sales order but all the fields disappear from view apart from the sales order number field... compatibility issue me thinks.
I think I'm going to have to put this on a server and run it on a website to see what the real issues are...any help would be very much appreciated.
With VS, are you running your project in Cassini or IIS? About the second issue you reported, "all the fields disappear from view apart from the sales order number field" - could you please send us an email with the screenshot of it?
thanks
Sumit
Microsoft
Sumit A.
Microsoft
This posting is provided 'AS IS' with no warranties, and confers no rights.
I did it in a VM with CPT4 for a while and it worked. Now, with beta, it doesn't work ;-(
Ok, I tried on Windows 8 with SQL 2012 and NAV2013 Beta but... same things was working 2 monthes ago.
Any suggestion?
<serviceDebug includeExceptionDetailInFaults="false"/> => <serviceDebug includeExceptionDetailInFaults="true"/>
Maybe this can help you to discover more details...
Thomas Søndergaard Jensen [MSFT]
This posting is provided 'AS IS' with no warranties, and confers no rights.
thanks.. effectively, I found an interesting "event" warning:
ASP.NET 4.0.30319.0 EventID 1309 Web Event
If someone got the answer :-k - bing is my friend \:D/
I had the "Could not load type 'System.ServiceModel.Activation.HttpHandler' " on the browser at the beginning and I did correct this hmm...I don't remember how (something reinstalling ASP.Net 4 windows features)
Don't forget: win8 x64 + SQL2012 Dev
here the event detail:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 07.06.2012 09:02:40
Event time (UTC): 07.06.2012 07:02:40
Event ID: 5e4fedd55a064bfbaac241b2e97ba73b
Event sequence: 12
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129835261505642728
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files (x86)\Microsoft Dynamics NAV\70\Web Client\
Machine name: ASUS-W8
Process information:
Process ID: 3176
Process name: w3wp.exe
Account name: IIS APPPOOL\Microsoft Dynamics NAV 2013 Web Client Application Pool
Exception information:
Exception type: TypeLoadException
Exception message: Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type)
at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)
at System.Web.Configuration.HandlerFactoryCache..ctor(String type)
at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://localhost:8080/Services/Callback ... okeHandler
Request path: /Services/CallbackService.svc/InvokeHandler
User host address: ::1
User: "_"_"_"(manually deleted by myself)
Is authenticated: True
Authentication Type: Negotiate
Thread account name: IIS APPPOOL\Microsoft Dynamics NAV 2013 Web Client Application Pool
Thread information:
Thread ID: 11
Thread account name: IIS APPPOOL\Microsoft Dynamics NAV 2013 Web Client Application Pool
Is impersonating: True
Stack trace: at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type)
at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)
at System.Web.Configuration.HandlerFactoryCache..ctor(String type)
at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
:whistle: have a nice day
Chris
Thanx a lot
Christ
Hi Sumit
I am running VS 2010 with IIS...App. pool: MS Dynamics NAV 2013 Web Client App with Pipeline mode: Integrated & .Net Framework 4.0
Running VS 2010 Debug on the site I get 51 messages: "Could not find schema information for the element 'businessClient'...and 50 other similar messages which have yet to figure out what they mean :-)
However, the site launches in IE and works a treat...it just won't connect to the server if I run it from IIS directly using port 8080.
I have disabled the firewall, setup firewall rules, check permissions...just stumped really.
cheers
Mike
Hi Thomas,
I have fixed all the Application errors after the install using this method thank you, but still it refuses to connect.
regards
Mike
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks mate, I tried it...no luck I'm afraid.
There are 51 messages which relate to errors where it can't find schemas for various elements & attributes...? I'll check this out.
cheers
Mike
Aah...how do you do this please?
Absolutely frigging marvellous...problem solved!!! THANK YOU KINE...what a star :-)
The solution is to re-register asp.net...and these are the steps:
Open the Command Prompt (run as administrator otherwise it will fail) type in the following...
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
This installs the asp.net version 4 (in this case).
Really so chuffed...thank you everyone!!!
This is standard problem when you install IIS after .NET framework. Which is in most sitution the case.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Great to hear that your problem is solved - On a side note: I saw the screenshots you sent - the issue looked like you were running your application in VS application development server (Cassini) which doesn't allow setting of custom HTTP headers. Therefore, if you run the app in in IIS integrated pipeline mode, that message ("Please run this application in iis integrated...") won't be rendered, and your layout will not break underneath. Nevertheless, we have removed this informative message in the upcoming bits, and the layout will not break if the application is running in Cassini.
thanks
Sumit A.
Microsoft
Sumit A.
Microsoft
This posting is provided 'AS IS' with no warranties, and confers no rights.
I have tried installing web client of Nav 7, after installing the Nav 7 Beta vernsion.
Is asked for the installation of iis 7.5, i tried to install iis 7.5, from the below link
http://www.microsoft.com/en-us/download ... px?id=2299
But it asked to activate the iis MMC from Turn Windows Features on or off.
But i can't find the specified features in the Turn Windows Features on or off, in IIS Section.
](*,)
Please help me out.
This is from the Navision help:
On the Start menu, choose Control Panel, and then choose Programs.
Under Programs and Features, choose Turn Windows features on or off.
In the Windows features list, expand Internet Information Services
then expand Web Management Tools, and then select IIS Management Console.
This step is optional. You use Internet Information Service IIS Manager to manage local and remote web servers and sites.