Solved

MSSQLServer 2005

Posted on 2011-02-17
2
1,378 Views
Last Modified: 2012-05-11
Client received this error when trying to contact the server do you know what could be the problem:
Ett nätverksrelaterat eller instansspecifikt fel uppstod när en anslutning skulle upprättas till SQL Server. Servern hittades inte eller var inte tillgänglig. Kontrollera att instansnamnet är korrekt och att SQL Server är konfigurerad till att tillåta fjärranslutningar. (provider: Namngivna rör-provider, error: 40 - Det gick inte att öppna en anslutning till SQL Server)
Mandator Client Layer Exception
1 SqlException: Ett nätverksrelaterat eller instansspecifikt fel uppstod när en anslutning skulle upprättas till SQL Server. Servern hittades inte eller var inte tillgänglig. Kontrollera att instansnamnet är korrekt och att SQL Server är konfigurerad till att tillåta fjärranslutningar. (provider: Namngivna rör-provider, error: 40 - Det gick inte att öppna en anslutning till SQL Server)
   vid System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   vid System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   vid System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   vid System.Data.SqlClient.SqlConnection.Open()
   vid Mandator.Cenit.Services.ServiceHandlerBase.get_Connection()
   vid Mandator.Cenit.Services.ServiceHandlerBase.LookupValue(String field, String domain, String where, SqlParameter[] bindVariables)
   vid Mandator.Cenit.Services.ServiceHandlerBase.GetSetting[T](String name, T defaultValue)
0
Comment
Question by:vera2006
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34915097
Well, the message says that it cannot find the Sql server, which suggests one of a few possibilities.

1) The server/database name in the connection string is incorrect
2) The SQL Server box is blocking incoming traffic on the port for SQL Server (1433 by default)
3) The client machine firewall/anti-virus is blocking the outgoing traffic
4) SQL is not configured for remote connections (although this is unlikely unless you are running SQL Express)
0
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 34915303
please confirm the language?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql 2014,  lock limit 5 31
SSRS 2013 - Creating a summarized report 19 33
Sql server insert 13 28
sql server insert 12 30
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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…

776 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