【问题标题】:Web Deployment Task Failed: Unicode keyword not suportedWeb 部署任务失败:不支持 Unicode 关键字
【发布时间】:2016-02-24 19:26:59
【问题描述】:

我现在正在尝试为我的 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

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

【问题讨论】:

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


    【解决方案1】:

    我相信您缺少结尾的分号。

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

    【讨论】:

    • 我想到了。但是这个连接字符串是从数据库连接的属性窗口复制而来的。而且那里没有结束分号:(对不起,没有代表上传图片)c2n.me/3uLqXpu
    • 啊,好吧。我会留下我的答案,以免其他人认为这是正确的解决方案。
    猜你喜欢
    • 2013-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多