Loading

SharePoint2010开发学习问题集

1,This control does not allow connection strings with the following keywords: ‘Integrated Security’, ‘Trusted_Connection’.

example:

ConnectionString = "Data Source=sp2010server;Initial Catalog=Northwind;Integrated Security=SSPI;Network Library=DBNMPNTW;";

solution:remove Integrated Security=SSPI

such as follow:

ConnectionString = "Data Source=sp2010server;Initial Catalog=Northwind;Network Library=DBNMPNTW;";

不管是windows方式还是用户名和密码方式都需要Network Library=DBNMPNTW

 

posted @ 2010-03-23 11:51  .net's  阅读(361)  评论(0)    收藏  举报