PDA

View Full Version : حرفه ای: مشکل در ارتباط برنامه با sql - خطای A network-related or instance-specific error occurred



mhosseing
چهارشنبه 15 اردیبهشت 1389, 08:38 صبح
سلام
یکی از دوستان من 1 برنامه در محیط C# نوشته که 1 دیتابیس داده، حالا روی سیستم من روی هر فرم که میخوام debug یا اجرا کنم این ارور رو میده:


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)


چطور باید این مشکل رو حل کنم؟

ozzy_mra
چهارشنبه 15 اردیبهشت 1389, 09:09 صبح
به نظر می رسه این ارور به خاطر اینه که کانکشن استرینگ رو دستگاه شما ست نشده یا شایدم دیتابیست اتچ نشده باشه واسه تنظیم کانکشن استرینگ از لینک زیر استفاده کن
http://www.connectionstrings.com/