sql azure的simplemembership错误。发布到azure网站时

时间:2015-02-15 13:57:14

标签: c# asp.net asp.net-mvc asp.net-mvc-4 azure

  

异常详情

System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

  

来源错误:

 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
  

的ArgumentException:

Format of the initialization string does not conform to specification starting at index 0.

这是我的连接字符串:

<add name="OffOnProfiles" providerName="System.Data.SqlClient" connectionString="
    Server=tcp:xeriqb7gbj.database.windows.net,1433;
    Database=OffOnProfiles;
    User ID=OffOn@xeriqb7gbj;
    Password=*******;
    Trusted_Connection=False;
    Encrypt=True;
    Connection Timeout=30;"/>

<add name="OffOnStore" providerName="System.Data.SqlClient" connectionString="
    Server=tcp:xeriqb7gbj.database.windows.net,1433;
    Database=OffOnStore;
    User ID=OffOn@xeriqb7gbj;
    Password=*******;
    Trusted_Connection=False;
    Encrypt=True;
    Connection Timeout=30;"/>

See full error here

0 个答案:

没有答案