MS Sql2005与vs2008中开发的应用程序的连接 [英] MS Sql2005 connectivity with application developed in vs2008

查看:64
本文介绍了MS Sql2005与vs2008中开发的应用程序的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了具有必备软件.net3.5,sqlexpress(2005)的安装程序.
问题是我的应用程序已成功安装.
在我使用存储过程的应用程序中,应用程序抛出数据库连接无法打开,可能是由于远程访问"的错误
而如果我在代码中编写查询,那么它就可以正常工作.
我不明白为什么会发生这种情况

I have make an installer with prerequisites .net3.5,sqlexpress(2005).
Problem is that, my application is installed successfully.
In the application, where i have used stored procedure, application throw an error of "database connection can not open, it may due to remote access"
while if i am writing query in my code then it is working properly.
i am not getting why it is happening

推荐答案

这些可能会对您有所帮助.

sql-network-interfaces-error-26-error-locating-server-instance-specified [在建立与服务器解决方案的图像连接时发生了SQL Server修复错误,错误 [
These might help you.

sql-network-interfaces-error-26-error-locating-server-instance-specified[^]

sql-server-fix-error-an-error-has-occurred-while-establishing-a-connect-to-the-server-solution-with-images[^]


您在这里看到什么问题?你在哪里这里没有特殊或棘手的技术,所以为什么不先尝试呢?
What problem do you see here? Where is your effort? There are no special or tricky techniques here, so why not trying to make it first?


这篇关于MS Sql2005与vs2008中开发的应用程序的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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