1

这是我的连接字符串:

     <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" />
4

0 回答 0