在CLR项目中添加Twilio后出现部署错误 [英] Getting Deployment error after adding Twilio in CLR Project
问题描述
我正在创建一个Sql CLR存储过程。
3.5客户端配置文件和我的sql server中的项目版本是2008.
以前它的工作正常。
现在我已经安装了twilio项目使用NuGet包管理器(版本2.8)。现在收到错误
D:\ ContontFolder \ AD3i \DEV02 \SMSCLR \bin\Debug \SMSCLR.sql(152-152):部署错误SQL01268:.Net SqlClient数据提供者:Msg 6503,级别16,状态12,第1行程序集'twilio.api,version = 0.0.0.0,culture = neutral,publickeytoken = null。'在SQL目录中找不到。
你能告诉我什么是解决方案。紧急。
Hi,
i am creating a Sql CLR stored procedure.
The project version in 3.5 Client profile and my sql server is 2008.
Previously its working fine.
Now i have installed twilio in this project using NuGet package manager(Version 2.8). Now am getting error
D:\ContractFolder\AD3i\DEV02\SMSCLR\bin\Debug\SMSCLR.sql(152-152): Deploy error SQL01268: .Net SqlClient Data Provider: Msg 6503, Level 16, State 12, Line 1 Assembly 'twilio.api, version=0.0.0.0, culture=neutral, publickeytoken=null.' was not found in the SQL catalog.
Can you tell me what could be the solution. its urgent.
推荐答案
一个简单的谷歌搜索显示了如何注册你的程序集。请参阅完全帮助:如何从一个传输或创建CLR存储过程数据库到sql server中的其他数据库 [ ^ ]示例。
A simple google search shows how to register your assembly. See Exact Help: How to transfer or create CLR stored procedure from one database to other database in sql server[^] for an example.
这篇关于在CLR项目中添加Twilio后出现部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!