在差异计算机上运行应用程序 [英] running app on diff machine

查看:101
本文介绍了在差异计算机上运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我写了这个简单的应用程序,它生成条形码,用户输入条形码编号和产品名称,并用mssql(2005 server)db编写.将其放入数据库后,用户单击,应用程序将从db中读取数据,并将条形码写在报告中.一切都很好,但仅在我的机器上有效.我释放了它并将其复制到其他计算机,并且sql报告了一个错误.我在其他计算机上安装了我认为需要的所有内容(.net 4.0,报告工具,sql server 2005 express).当我单击以从数据库中加载数据时,它会等待一段时间并报告一条错误消息:
SQL服务器未答复或未安装...帮助吗?

Hello.
I wrote this simple app which generates barcodes, user enters barcode number and product name, and that is written in mssql (2005 server) db. After it is in the database, user clicks and app reads from db, and writes barcodes on a report. It all works great, but only on my machine. I released it and copied it to other machines and sql reports an error. I installed on other computer everything that I think it needs (.net 4.0, reporting tool, sql server 2005 express). When I click to load data from the database, it waits for a while and reports an error that says:
Sql server did not reply or is not installed... Help?

推荐答案

您好,您更改了数据库连接字符串,请确保所使用的数据库服务器名和数据库不管机器是正确的
Hi did you change the database connection string, make sure the database servername and database you are using are correct irrespective of the machine


SQL Windows Services是否正在运行?
Are the SQL Windows Services running?


对劳埃德·阿特金森(Lloyd Atkinson):SQL Windows Services正在运行.
致Rajesh Sajjanar:如果要在设置文件上进行更改,请更改计算机名称
和位置路径,我做到了.
刚来找我:应用程序是用sql 2008编写的,另一台计算机是sql 2005,这可能是个问题吗?
To Lloyd Atkinson: SQL Windows Services are running.
To Rajesh Sajjanar: If you mean on the settings file, to change computer name
and location path, I did it.
Something just came to me: App was written in sql 2008, the other machine has 2005, can this be an issue?


这篇关于在差异计算机上运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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