使用CLR项目-reg的mssql数据库连接 [英] mssql database connection using CLR project -reg

查看:102
本文介绍了使用CLR项目-reg的mssql数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2012中编写了一个源代码(CLR)。它运行并连接到sql server 2008 r2数据库,并在我的位置正常工作。但是当我尝试在客户端运行相同的源无法连接到数据库时有什么问题...?



客户端没有可视化工作室2012安装。我是否需要创建一个CLR项目的包并发送或者如果我发送exe文件就可以了......?



请帮我急。 ...

i have written a source (CLR) in visual studio 2012.which runs and connects to sql server 2008 r2 database and works fine in my place . but when i try to run the same source in client place unable to connect to the database what is the problem...?

client don't have the visual studio 2012 installed. do i need to create a package of the CLR project and send or is it ok if i send the exe file...?

please do help me its urgent....

推荐答案

必须安装exe的运行时。也可能是您的数据库连接无法正常工作。



查看日志。在您的应用中写一个日志。看起来你没有仔细处理你的应用程序错误。
The runtime for your exe must be installed. It can also be that your db-connection isnt working.

Check the logs. Write a log in your app. it looks like you didnt handle your app errors carefully.


这篇关于使用CLR项目-reg的mssql数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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