یه پیغام خطا در بانک اطلاعاتی اس کیو ال
سلام
بعضی مواقع تو ویژوال استادیو یه مشکل پیش میاد و موقع کانکت شدن به بانک اطلاعاتی برنامه به اشکال بر می خوره که مجبور میشم بانک رو پاک کنم و از نو بسازمش.
با استفاده از try,catch کد اررورش رو درآوردم که اینه:
کد:
---------------------------
Microsoft Visual Studio
---------------------------
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)
---------------------------
OK
---------------------------
میشه لطفا بگید مشکل از چیه و چجوری میشه برطرفش کرد؟
ممنون.:41: