Skip to main content

Connecting to a another SQL Server instance on the same network/LAN

If you need to connect to another SQL Server instance on the same network you need to ensure the following settings are in place-

1. Your login should be added to the SQL Server instance you are trying to connect to.

2. The SQL Server instance should have Allow Remote Connections as checked.
     a. Goto Instance Properties
     b. Connections
     c. Check "Allow remote connections to this server".

3. SQL Server Browser Service should be running in the machine you are trying to access.

4. TCP/IP Protocol should be enabled for the SQL Server
    Steps
        a. Run SQL Server Configuration Manager
        b. Go to SQL Server Network Configuration > Protocols for SQLEXPRESS
        c. Make sure TCP/IP is enabled.

Hope this helps!!
Hitesh

Comments

Popular posts from this blog

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.

I received the following error when trying to connect to a server's SQL Server. I was able to telnet the Server on the required TCP Port (1433) but SSMS could not connect to the SQL Server instance.  Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was – [Pre-Login] initialization=13472; handshake=14425; (Microsoft SQL Server, Error: -2) I eventually found that a Hyper-V Adapter was responsible for the issue, disabling which resolved the issue, have faced a similar issue with VirtualBox adapter too. Hope it helps.

A simple customization in MPOS (Blank Operation) with AX7

Hi All, I recently had to add a Blank Operation to Modern POS (MPOS) to open a url from MPOS. Blank Operation as you may already be aware enable you to extend Microsoft Dynamics Retail for POS by adding custom logic that can be triggered from the Retail POS Register buttons. The way to implement Blank Operations in MPOS  is different from Enterprise POS as MPOS is a modern app as compared to EPOS which is a windows forms based app. So lets explore a very simple customization i.e. we want to open a URL on triggering a button from MPOS. 1. We would need to start with AX to add a button to the layout of MPOS. If you do not want to disturb the standard layouts its better to copy one of the existing layouts and then modify it using the designer. Please note the designer only opens in Internet Explorer so it will save you time by not trying to open it in other browsers e.g Chrome 2. Next we need to add this layout to the Store where we intend to use it...