cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

unable to attach nintex database

when using the command

NWAdmin.exe -o AttachDatabase -serverName smd1qa###### -databaseName darren_nintex -inte

grated

I get the following message.

Command line execution error: A network-related or instance-specific error occurred while establishing a connection to S

QL 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 S

QL Server)

I am able to detach with no issues NWAdmin.exe -o DetachDatabase -serverName smd1qa##### -databaseName darren_nintex

Labels: (1)
Tags (2)
Reply
2 Replies
Not applicable

Re: unable to attach nintex database

Darren,

This usually indicates some kind of connection error to the SQL server. The only difference between the two commands here is the "-integrated" switch which is passing login information to SQL. It's very possible this error is related to a login error or insufficient permissions. What account are you attempting this operation with? Does this account have execute rights on the SQL server?

Let me know!

Cheers,

Andrew Beals

0 Kudos
Accept as Solution Reply
Not applicable

Re: unable to attach nintex database

HI, Darren Newberry​! Did this help you find a solution?

0 Kudos
Accept as Solution Reply