Modern Development Environment Issues

Standard

While confuguring the visual studio codes hit few errors

  • Could not open the specified startup page. Please check that the server configuration key PublicWebBaseUrl has been properly set

we need to update the public URL from powershell or administor  tool and restart the service

Import-Module 'C:\Program Files\Microsoft Dynamics NAV\110\Service\NavAdminTool.ps1'

Set-NAVServerConfiguration -KeyName PublicWebBaseURL -ServerInstance Dynamicsnav110 -KeyValue http://localhost:8080/dynamicsnav110
  • Debug app hit following error 

After publish the app ,its working fine , inorder to debug the application (F5) from visual studio code we need to disable CAS policy,

open  Server config file C:\Program Files\Microsoft Dynamics NAV\110\Service\Microsoft.Dynamics.NAV.Server.exe.config update netfx40_legacysecuritypolicy to false ,  restart the service and try again


<netfx40_legacysecuritypolicy enabled="false"/>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s