Έχω τον παρακάτω κώδικα:
String^ connStr="Data Source=.\SQLEΧPRESS;Integrated Security=SSPI;Initial Catalog=soft_engi;Persist Security Info=False";
MessageBox::Show("Η διαγραφή έγινε επιτυχώς\n");
SqlConnection^ con=gcnew SqlConnection();
con->ConnectionString=connStr;
Όταν κάνω debug μου βγάζει το εξής warning...
warning C4129: 'S' : unrecognized character escape sequence
το οποίο είναι για την αρχικοποίηση του string.
Το 'S' είναι το πρώτο γράμμα του server(SQLEXPRESS)
Το build γίνεται κανονικά αλλά όταν το εκτελώ λέει:
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: 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)
Τι μπορώ να κάνω?
Ζητώ απεγνωσμένα βοήθεια...........!!!!!!!!!



