代码首先是windows azure连接字符串

时间:2013-03-21 10:09:25

标签: c# azure connection-string code-first

这是我的连接字符串:

     <add name="FollowUpDatabase" connectionString="Server=tcp:yncm4e4uxp.database.windows.net,1433;Database=[FollowUp];User ID=qwertyuiop1234567890@yncm4e4uxp;Password=XXXXXXXXX;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" providerName="System.Data.SqlClient"/> 

我得到这个错误:

    Cannot open database "[FollowUp]" requested by the login. The login failed.
    Login failed for user 'qwertyuiop1234567890'.
    This session has been assigned a tracing ID of '67b05ed3-1ff7-4036-98ce-56e0d0272587'.  Provide this tracing ID to customer support when you need assistance.

我应该改变什么? (密码和登录名称正确)

修改

这是工作本地连接字符串:

    <add name="FollowUpDatabase" connectionString="Data Source=NET-PC;Initial Catalog=FollowUp;Persist Security Info=True; User ID=sa; password=1" providerName="System.Data.SqlClient" />

0 个答案:

没有答案