Because you did not post the exact exception message the following is only a guess.
You mentined the exception will be thrown at
con2.Open();
Therefore most probably it is a problem with the connection string (resources). So check:
a.) Is the server 192.168.0.48 available
b.) Does the sql server really use port 1432 which is not the standard port
c.) Make sure that no firewall does block the communication for port 1432
For more help please post the exact exception message.
I hope it helps.