Problem with Connection opennos

12/28/2016 12:58 Giannirizzo#1
I have an error when try to connect sourcecode on visual studio with database. The connection work because navicat it's good. Where i fail?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
12/28/2016 13:25 0Lucifer0#2
Perhaps because you dont modify the correct config...
12/28/2016 13:33 Giannirizzo#3
What should I change?
12/28/2016 15:39 0Lucifer0#4
The dal project one...
12/28/2016 17:03 Giannirizzo#5
Quote:
Originally Posted by 0Lucifer0 View Post
The dal project one...
And what i do in the DAL Project?
12/28/2016 17:06 0Lucifer0#6
You edit the config file
12/28/2016 17:08 Giannirizzo#7
Quote:
Originally Posted by 0Lucifer0 View Post
You edit the config file
I'm in the config file, what i edit?
12/28/2016 17:10 0Lucifer0#8
The sql connection
12/28/2016 17:15 Giannirizzo#9
Quote:
Originally Posted by 0Lucifer0 View Post
The sql connection
Which string?

[Only registered and activated users can see links. Click Here To Register...]
12/28/2016 17:18 0Lucifer0#10
Dal.ef project sorry
12/28/2016 17:21 Giannirizzo#11
Quote:
Originally Posted by 0Lucifer0 View Post
Dal.ef project sorry
What i edit? Connection string?

[Only registered and activated users can see links. Click Here To Register...]
12/28/2016 17:28 0Lucifer0#12
Yes ;)
12/28/2016 17:30 Giannirizzo#13
Quote:
Originally Posted by 0Lucifer0 View Post
Yes ;)
connectionString="Server=93.144.60.222\SQLEXPRESS; User Id=****; Password=*****; Initial Catalog=opennos;Integrated Security=true" />

On this string. What i edit? Because with this information on Navicat the connection start.
12/28/2016 17:38 0Lucifer0#14
Remove the \sqlexpress should work
12/28/2016 17:41 Giannirizzo#15
Quote:
Originally Posted by 0Lucifer0 View Post
Remove the \sqlexpress should work
Error Number:1326,State:0,Class:20
A network-related or instance-specific error occurred while establishing a connection to 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)