"The server was not found or was not accessible" This means that when your friend uses it, it can't connect to the SQL server. Have a look at your connection string and make sure that the information is good and that your friend actually has access to the server.