How to set "default connection setting"?

I'm in the process of configuring NAV 2013 and everything is going really well other than one issue I'm having. When I open the "Development Environment" and attempt to "Run" anything, I receive the following error:

Once I click "OK", everything works well, I just can't figure out how to get rid of this message? Any advice would be greatly appreciated.

Hi Eric and sorry for not posting the error (not sure what I was thinking). Basically, when I open the Dev environment, select any row and click the "Run" button, I receive the following popup window:

________________________________________

Microsoft Dynamics NAV Security Notice

You are about to connect to 'DBName' on server'Servername', which is not your current defaultconnection setting.This can create a security risk.

Do you want to continue?

________________________________________

Once I click "Yes", everything works just fine but my developers can't figure it out and so far I can't figure it out either. I'm a network guy so this is a bit out of my element and any advice would be greatly appreciated. Thank you for responding.

In the mean time I have actually seen this error myself. But it was when connecting using the Windows Client, not the Development Environment. Can you please confirm that you're only getting this problem with the DE, not with the Windows Client?

Yes this error is coming when run some table, page.etc in development environment,

---------------------------Microsoft Dynamics NAV Security Notice---------------------------You are about to connect to 'dynamicsnav70' on server 'localhost', which is not your current default connection setting.

This can create a security risk.Do you want to continue?---------------------------Yes No ---------------------------

When press "Yes" following error will appear,

---------------------------Microsoft Dynamics NAV---------------------------The client could not establish a connection to the Nav service.

FaultCode = 'InternalServiceFault'

Reason = 'The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.'---------------------------OK --------------------------- I am using both NAV 2009R2 RTC and NAV 2013, But when this error appear its service start only NAV 2013

Hi, I just want to point that I had the same problem in NAV 2013 (but seen in past also on 2009 R2) and I'm not able to get rid of it even changing server instance both from Database Information -> Server Instance and Tools -> Options -> Server Instance.

As for me, I found a pretty simple solution for the problem:In my development settings (Tools\Options) the servername was written as 'servername.domain.local', but in my CustomSettings.config file (which can be found in '%appdata%\Microsoft\Microsoft Dynamcs NAV\71' folder) the domain.local extension was missing. After I added the full servername, the message disappeared. :-)