You may need to add the database to your installer. So this way it can find the database or you have to manually put the database to the other computer. Check the links for more info;
Link 1[
^]
Link 2[
^]
Link 3[
^]
In addition to this, check your connection strings. If your connection string is not universal, and only specified for your computer this might be another reason wht it can not connect to the desired db.