Skip to content
+1-888-319-3663

HELP ARTICLE

Could not open a connection to SQL server when launching SmartView internal


When launching SmartView internal, receiving an error that says “A network-related or instance-specific error occurred while establishing a connection to the SQL Server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL Server is configured to allow remote connections.  (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL server)”.


This typically means that the SQL server name does not match what is found in SQL.  This could happen if you restore one SQL server on top of another SQL server or if you rename the machine after SQL has been previously installed.  

To determine if this is the issue, go back into SQL management studio and look at the name of the SQL server in the “Object Explorer” window.  Then create a new query and type the following command and run the query.

select @@SERVERNAME

If the name returned is different than the name displayed in the Object Explorer, that is what is causing the connection issue. If this is the case you need to rename the server.  For information on renaming your SQL server use this article from Microsoft.  Rename a Computer that Hosts a Stand-Alone Instance of SQL Server

RECENT POSTS


Use the REST Connector to parse nested Value Arrays
SmartConnect email task fails with error: An invalid character was found in the email header
Does SmartConnect import into Avalara Avatax software
Could not initialize a collection when launching SmartConnect
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.