Could not connect to sql server from windows app : I am trying to connect windows form app with sql server remotely.

But I am getting following exception:

    The underlying provider failed on open.
InnerException:

    The network path was not found.

Following is my connection string:

    <add name="dbEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=serverip;Database=dbname;User ID=myuser;Password=mypass;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />

It is connecting with my local db but not db on server.

I have checked on server all sql services are running and TCP/IP is enabled and there is also a rule for sql port in firewall.

Is there something that I am missing?

Please guide me.

Thank you.