Instead of doing it with network resource sharing, just enter the IP-address of the machine running the SQL Server in the connection string (I chose 197.0.0.1 as an example here):
connectionString = "Data Source=197.0.0.1;Initial Catalog=MyDatabaseName;User Id=MyUserName;Password=MyPassword;"