Web部署任务失败:未支持Unicode关键字

时间:2016-02-24 19:26:59

标签: asp.net visual-studio web web-deployment

我现在正在尝试为Visual Studio 2010 ASP.NET项目构建部署包。但是,我收到一个我无法解决的错误:

Error   1   Web deployment task failed.(Object of type 'dbFullSql' and path 'Data Source=localhost;Persist Security Info=True;User ID=aba1437;Password=aba1437eg;Unicode=True' cannot be created.)

Object of type 'dbFullSql' and path 'Data Source=localhost;Persist Security Info=True;User ID=aba1437;Password=aba1437eg;Unicode=True' cannot be created.
The value 'Data Source=localhost;Persist Security Info=True;User ID=aba1437;Password=aba1437eg;Unicode=True' is not a valid connection string or an absolute path.
Keyword not supported: 'unicode'.       0   0   Titanic

连接字符串以下列方式显示:

Data Source=localhost;Persist Security Info=True;User ID=aba1437;Password=***********;Unicode=True

我真的很感激任何建议,因为我没有找到任何有用的提示来解决问题。 谢谢!

1 个答案:

答案 0 :(得分:0)

我相信你错过了结尾的分号。

Data Source=localhost;Persist Security Info=True;
User ID=aba1437;Password=***********;Unicode=True;