Solved

MSSQLServer 2005

Posted on 2011-02-17
2
1,375 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now