View Single Post
  #12 (permalink)  
Old July 29th, 2012, 04:21 PM
jdlferreira jdlferreira is offline
Authorized User
Points: 113, Level: 2
Points: 113, Level: 2 Points: 113, Level: 2 Points: 113, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sure.

This is the database string given by my host:
Code:
workstation id=orangefresh.mssql.somee.com;packet size=4096;user id=****;pwd=****;data source=orangefresh.mssql.somee.com;persist security info=False;initial catalog=orangefresh
And here is the string for Entity:

Code:
metadata=res://*/App_Code.Orangefresh.csdl|res://*/App_Code.Orangefresh.ssdl|res://*/App_Code.Orangefresh.msl;provider=System.Data.SqlClient;provider connection string="workstation id=orangefresh.mssql.somee.com;packet size=4096;user id=****;pwd=****;data source=orangefresh.mssql.somee.com;persist security info=False;initial catalog=orangefresh"
Notice that the database string goes inside the " marks in the regular Entity string Visual Studio/Web Developer created in the web.config file.

Hope that helps.
Reply With Quote