PDA

View Full Version : اتصال به sqlserver 2008



matiye
دوشنبه 28 آذر 1390, 09:37 صبح
با سلام
من sql2008 را نصب کردم .ومدتی با آن مشکلی نداشتم .اما امروز که می خواهم به آن connect شوم.
به من error زیر را می دهد.
TITLE: Connect to Server
------------------------------
Cannot connect to MAHDIYE-PC.
------------------------------
ADDITIONAL INFORMATION:
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) (Microsoft SQL Server, Error: 2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
ممنون می شم کسی کمکم کند.

yekbiti
دوشنبه 28 آذر 1390, 11:01 صبح
سلام.

اگر اسم سرور رو چک کردین (MAHDIYE-PC) و درسته، یکبار هم با گذاشتن نقطه (.) بجای نام سرور چک کنید. اگر وصل نشد، ببینید آیا سرویس SqlServer شما Stop نشده باشد.
برای اینکار از Sql server Configuration Manager در مسیر زیر استفاده کنید :

Start\Programs\Microsoft Sql Server ....\ Configuration Tools\ Sql Server Configuration Managers