نوشته شده توسط
Tiam121
Server=192.168.1.15\Sql instance name;Database=Radman;User ID=sa;Password=584596
حروف بزرگ و کوچک درسته؟
کانکشن اینجوری شد ولی بازم ارور زیر رو می ده:
SqlConnection objconnection =
new SqlConnection("Server=192.168.1.15\\Sql Instance Name;Database=Radman;" +
" User ID=sa;Password=584596");
این ارور رو می ده:
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)