C#-App:无法连接到SQL Server [英] C#-App: Cannot connect to SQL Server

查看:68
本文介绍了C#-App:无法连接到SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在C#中创建了一个基于Windows的应用程序,它使用来自服务提供商(crystaltech)的数据库中的数据。该应用程序已经部署,并且在我们所有的计算机和所有客户端计算机上运行良好,除了一个...当他们每次尝试登录/与数据库通信时,它返回以下错误:

So I''ve created a Windows based application in C# that uses data from our databases on a service provider (crystaltech). The application has been deployed and has been working great on all our computers and all our clients computers, except for one... When every they try to login/communicate with the database it returns the following error:

展开 | 选择 | Wrap | 行号

推荐答案

XP 5.1?我从来没有听说过这个?
XP 5.1? I''ve never heard of that?



XP 5.1?我从来没有听说过这个?
XP 5.1? I''ve never heard of that?



打开命令行并输入winver你会看到你正在使用的Windows内核的实际版本。 XP是5.1,Vista是6.0等等。

Open up a command line and type "winver" and you''ll see the actual version of the windows kernel you''re using. XP is 5.1, Vista is 6.0, etc.


嗯那怎么样。

我总是和XP Pro SP1一起走了或SP2或SP2。 (或者我现在猜它可能是SP3)


无论如何,这台PC /用户还有什么不同之处吗?他们是否在域上?他们有不同的凭据安全级别吗?

他们是否有一些版本的SQL Server(或freebee版本)在他们的PC上本地运行。


我看到你看起来像是在使用OLEDB你的连接字符串中的驱动程序,是设置为userDSN / SystemDSN / fileDSN或其他什么是正确的?该连接是否具有正确的默认设置和权限?
Huh how about that.
I''ve always gone with "XP Pro SP1" or "SP2" (or I guess now it could be "SP3")

Anyway, Is there anything else different about this PC/User? Are they on/not on a domain? Do they have different credential security levels?
Do they have some version of SQL Server (or the freebee ones) running locally on their PC.

I see that it looks like you use an OLEDB driver in your connection string, is that setup as a userDSN/SystemDSN/fileDSN or whatever is correct? Does that connection have the correct default settings and permissions?


这篇关于C#-App:无法连接到SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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