sql - connection string -
i have problem connection string. when using web service server see error:
format of initialization string not conform specification starting @ index 114
but in local host don't have problem. , connection string is:
name="db_nodeentities1" connectionstring="metadata=res://*/models.node.csdl|res://*/models.node.ssdl|res://*/models.node.msl; provider=system.data.sqlclient; provider connection string=" data source=xx.xxx.xxx.xx,1433; initial catalog=my db name; integrated security=true; multipleactiveresultsets=true; app=entityframework" user id=my id; password=my pass" providername="system.data.entityclient"
i think it's related server security policy. example sql server doesn't allows remote access , should connect locally. maybe happened this. in such case hosting service , database engine should on same server contact server administrator.
let me know when exception occurred, happens when run website in debug mode on computer? if yes, recommend test on server.
also what's server type (linux&windows) , language use implementation. if use windows server both hosting , database engine , implement in .net framework have suggestion based on error. first of check link. secondly check connection directly in sql server management studio, if can't connect, it's shows don't have permissions , first theory confirmed.
Comments
Post a Comment