如何在SQL CLR过程中使用Web应用程序DLL? [英] How can I used web application dll in SQL CLR procedure?

查看:66
本文介绍了如何在SQL CLR过程中使用Web应用程序DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在SQL CLR项目中添加c#类库/类dll?我添加了类库dll / class dll,但在程序集创建期间在SQL Server 2012中出错了









程序集引用程序集'system.runtime.serialization,version = 4.0.0.0,culture = neutral,这在当前数据库中不存在。 SQL Server尝试从引用程序集来自的相同位置定位并自动加载引用的程序集,但该操作失败(原因:2(系统找不到指定的文件。))。请将引用的程序集加载到当前数据库中并重试您的请求。

How do I add c# class library/ class dll in SQL CLR project ?. I add the class library dll/ class dll but got error in SQL server 2012 during assembly creation




Assembly references assembly 'system.runtime.serialization, version=4.0.0.0, culture=neutral, which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.

推荐答案

检查一下,它可能有帮助



SQL Server视频 [ ^ ]
Check this, it might help

SQL Server videos[^]


这篇关于如何在SQL CLR过程中使用Web应用程序DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆