PDA

View Full Version : سوال: مشکل در ارتباط با sqlserver



r_khan
دوشنبه 20 اردیبهشت 1389, 07:15 صبح
با سلام من یه مدتی هست به sqlserver2008 نمی تونم متصل بشم در حالی که تا چند وقت پیش راحت متصل میشدم اینم اخطارش


TITLE: Connect to Server
------------------------------
Cannot connect to REZA-KHAN-KABIR\REZA_KHAN_KABIR.
------------------------------
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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------

حمیدرضاصادقیان
سه شنبه 21 اردیبهشت 1389, 08:02 صبح
سلام.در منوی sql server- configuration tools-sql configuration manager رو باز کنید و در زیر مجموعه sql server network configuration ببینید ایا پورت Tcp/ip یا named pipe فعال هست اگر disable بود انها رو enable کنید.
همچنین در همین قسمت بخش sql server services کنترل کنید ببینید سرویس sql شما در حال اجرا است یا خیر؟

r_khan
پنج شنبه 23 اردیبهشت 1389, 06:49 صبح
سلام.در منوی sql server- configuration tools-sql configuration manager رو باز کنید و در زیر مجموعه sql server network configuration ببینید ایا پورت Tcp/ip یا named pipe فعال هست اگر disable بود انها رو enable کنید.
همچنین در همین قسمت بخش sql server services کنترل کنید ببینید سرویس sql شما در حال اجرا است یا خیر؟


سرویس sql من در حال اجرا نیست سعی میکنم اجرا کنم نمیشه اخطار میده
اینم اخطارش


The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error
logs for details.

r_khan
پنج شنبه 23 اردیبهشت 1389, 08:30 صبح
جدیدا میخوام وصل بشم اخطارش عوض شده واین اخطار را میده
TITLE: Connect to Server
------------------------------
Cannot connect to REZA-KHAN-KABIR\REZA_KHAN_KABIR.
------------------------------
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
------------------------------

ahmadreza.rstm
پنج شنبه 23 اردیبهشت 1389, 08:36 صبح
من هم با همين مشكل مواجه بودم نتونستم حلش كنم مجبور شدم remove كردم و مجدد نصبش كردم با به instance ديگه. شما هم فكر كنم چاره ديگه اي نداشته باشين.

hamid_massaelly
پنج شنبه 30 اردیبهشت 1389, 09:20 صبح
احتمال زیاد سیستم شما دارای آنتی ویروس یا فایر وال می باشد قبل از فعال کردن sql لطفا آنتی ویروس یا فایروال را غیرفعال کن.