Solved

Trouble connecting to SqlServer database

Posted on 2016-11-18
4
60 Views
Last Modified: 2016-12-28
I am trying to connect an existing database to NetSqlAzMan (Console Root) but get an error showing that my SQLEXPRESS instance needs configuration for multi-user access.

Trouble establishing connection to SQL server
I ran the script which creates the database...

Database exists
Do I need to change the configuration of the SQL instance?

Here are the instructions, which i have followed. Note the error in the first screen shot.


In order to use .NET Sql Authorization Manager, a NetSqlAzMan Storage DB must be created !
a) Open SQL Server Management Studio.
b) Create a Database with a name like 'NetSqlAzManStorage'.
c) Right click on Database created above and choose 'New Query'.
d) Load and execute script named 'NetSqlAzMan_SqlServer.sql' from the installation folder.

The current SQL Server Network Configuration for SQLEXPRESS is
Shared Memory (Enabled)
Named Pipes (Disabled)
TCP/IP (Disabled)
0
Comment
Question by:newbieweb
4 Comments
 
LVL 35

Accepted Solution

by:
YZlat earned 250 total points
ID: 41893681
first try enabling Named Pipes
0
 
LVL 8

Assisted Solution

by:Jason clark
Jason clark earned 125 total points
ID: 41893936
In the right pane of split page you must try below changes:

Named Pipes - Enable.
TCP/IP - Enable.
VIA - Disable
0
 
LVL 4

Assisted Solution

by:Daniel Jones
Daniel Jones earned 125 total points
ID: 41893942
Try this:  
 
Go to control panel > search for services.
From your search results open Local services window
Restart your MSSQLSERVER service.

Or you can also take the help of this link: http://www.sqlserverlogexplorer.com/fix-error-message-40/
0
 

Author Closing Comment

by:newbieweb
ID: 41894184
thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question