vb.net应用程序未在客户端系统上运行 [英] vb.net application not running on client system

查看:76
本文介绍了vb.net应用程序未在客户端系统上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个vb.net数据库应用程序(带有sql 2005的桌面应用程序)。我设法创建在我的电脑上运行的设置。但是,当我在我的客户端系统上安装此应用程序时,应用程序正在运行,但所有数据库操请任何人建议一个解决方案。



是否可以在没有.NET Framework 3.5和sql server 2005的计算机上使用/运行Visual Basic 2010中的程序?



提前谢谢。

I have developed a vb.net database application(desktop application with sql 2005).I managed to create setup which is running on my pc. but when i install this application on my client system the application is running but all database operations fails. Pls any one suggest a solution.

Is it possible to use/run a program made in Visual Basic 2010 on a computer without .NET Framework 3.5, and sql server 2005?

Thanks in advance.

推荐答案

可能是SQL Server实例的连接字符串不是更正新PC,但可能没有在其LAN上安装SQL服务器,或者它可能需要不同的登录详细信息,或者您尝试使用的数据库尚未安装在要连接的SQL服务器实例上。



你得到的错误信息/异常应该有助于指明你正确的方向,但检查你是否先没有硬编码连接字符串,然后检查在转到其他项目之前,实际字符串是正确的。
Probably, the connection string to the SQL Server instance is not correct for the new PC, but there may be no SQL server installed on it''s LAN, or it may required different login details, or the database you are trying to use has not been installed on the SQL server instance you are connecting to.

The error message / exception you get should help point you in the right direction, but check that you haven''t hardcoded a connection string first, then check the actual string is correct before moving on to the other items.


这篇关于vb.net应用程序未在客户端系统上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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