PDA

View Full Version : سوال: اشکال در هنگام اتصال به بانک sql



amir_3530
جمعه 20 فروردین 1389, 23:54 عصر
سلام.
من وقتی میخواهم به جدول وصل بشم این پیغام را میدهد.راه حل ؟
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

سوال بعدی : نام Server وuser id را برای مقدار دهی به connection sql چطوری میشه پیدا کرد.
ممنون

سونیان
شنبه 21 فروردین 1389, 00:03 صبح
سلام شاید connectionstring مشکل داشته باشه و اشتباه تعریف کرده باشید:متفکر: