ورود

View Full Version : مشکل در ارتباط با database engine



comptech
جمعه 16 دی 1390, 22:26 عصر
با سلام. من sql server 2005 رو نصب کردم. ولی به database engine وصل نمیشه. در قسمت نام سرور هم عبارت
sqlexpress\ نام کامپیوتر رو نوشتم. در ضمن sqlserver agent و sqlserver browser و بقیه اونها فعال هستند. لطفا کمک کنید

spinelruby
شنبه 17 دی 1390, 14:46 عصر
وقتی کانشن برقرار نمی شه یه پیغام خطا میده. چه پیغامی میده؟

maktoom
یک شنبه 18 دی 1390, 00:31 صبح
سلام
یعنی خودش نام کامپیوتر رو نشناخته؟ در هنگام نصب Add This user یا یه همچین چیزی رو نزدی؟

comptech
یک شنبه 18 دی 1390, 12:46 عصر
خطایی که میده اینه؟

TITLE: Connect to Server
------------------------------
Cannot connect to reza\SqlExpress.
------------------------------
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------




در هنگام نصب هم پیام add this user رو اصلا ندیدم.

maktoom
دوشنبه 19 دی 1390, 16:21 عصر
ببین توی تنظیمات پایگاه دادت اجازه remote Connections دادی؟ برو اینجا:
Start > All Programs > SQL Server 2005 > Configuration Tools > SQL Server Surface Area Configuration
روی این کلیک کن:
instance that is having a problem > Database Engine > Remote Connections
این رو انتخاب کن:
Surface Area Configuration for Services and Connections
قابلیت Local and remote connections رو فعال کن.
ودر نهایت هم برنامت رو دوباره اجرا کن.
امیدوارم مشکلت حل بشه

comptech
دوشنبه 19 دی 1390, 19:04 عصر
دوست خوبم این کارو کردم ولی بازم خطای زیر رو داد:


TITLE: Surface Area Configuration
------------------------------
Alter failed. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.Exceptio nTemplates.FailedOperationExceptionText&EvtID=Alter+ServerProtocol&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
SetEnable failed for ServerProtocol 'Tcp'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.Exceptio nTemplates.FailedOperationExceptionText&LinkId=20476
------------------------------
Access denied (System.Management)
------------------------------
BUTTONS:
OK
------------------------------

maktoom
سه شنبه 20 دی 1390, 00:38 صبح
ببین وقتی با یه ارور مواجه میشی که یه متنی داره خیلیا قبلا بهش برخوردن و این سوالو کرد. یه جمله از ارورت رو توی گوگل سرچ زدم دو تا اولیش اینان:
اینجا (http://www.sqlmusings.com/2009/03/11/resolving-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/) و اینجا (http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/)

بعدشم حتی یه فیلم آموزشی کوتاه هست.

spinelruby
سه شنبه 20 دی 1390, 08:47 صبح
یه اینستنس جدید نصب کن. دیتا بیست رو توش attach کن