Solved

Trouble connecting to SqlServer database

Posted on 2016-11-18
4
88 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 35

Accepted Solution

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

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

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

626 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