“如何成功地将winform应用程序(使用c#和sql server在visual studio 2012中开发)部署到客户端的计算机上? [英] "how to successfully deploy the winform application (developed using c# and sql server, in visual studio 2012) to the client's machine?

查看:284
本文介绍了“如何成功地将winform应用程序(使用c#和sql server在visual studio 2012中开发)部署到客户端的计算机上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



尊敬的Dotnet开发人员和工程师特别部署团队成员.....

请让我知道如何成功部署Winform应用程序(使用C#和SQL服务器,在Visual Studio 2012中开发)到客户端的计算机。



我使用安装盾来生成设置,并且它正在我的机器上工作,我开发了该应用程序,但当我试图在另一台具有Dotnet framework 4.5的机器上运行应用程序时,它会产生数据库的问题。

请帮帮我这方面..以便我可以将我的应用程序部署到我的客户端。





感谢你。



我尝试过:



如何成功部署Winform应用程序(使用C#和SQL开发)服务器,在Visual Studio 2012中)到客户端的机器?

Hello everybody,

Respected Dotnet developers and engineers specially deployment team members.....
Please let me know "How to successfully deploy the Winform application (developed using C# and SQL server, in Visual Studio 2012) to the Client's machine.

I have used install shield to generate setup, and it is working on my machine where I have developed that application, but when I am trying to run the app on another machine which has Dotnet framework 4.5 then it generates the problem with database.
Please help me in this regard.. so that I can deploy my app to my client.


Thanking you.

What I have tried:

"How to successfully deploy the Winform application (developed using C# and SQL server, in Visual Studio 2012) to the Client's machine?

推荐答案

我们无法真正帮助那里,因为它的根源解决了数据库的问题。可能意味着什么。

但最有可能检查的事情是:

1)客户端是否安装了现有的SQL Server?

2 )您在应用程序中使用的连接字符串是否正确引用了该安装?

3)SQL Server安装是否正确添加了数据库?

从第一个,如果他们没有,那么让他们安装它。

对于第二个,检查你如何存储字符串(它必须在配置文件中,如果它还没有)并针对客户端SQL安装的细节进行更正。

对于第三个,使用适当的CREATE DATABASE语句添加数据库!



我们不能为您做任何事情 - 我们无法访问您的代码,更不用说客户的网络了!
We can't really help there, as "it generates the problem with database." could mean anything.
But the most likely things to check are:
1) Does the client have an existing SQL Server installation?
2) Does the connection string you are using in your application correctly reference that installation?
3) Does the SQL Server installation have the database correctly added to it?
Start with the first one, and if they don't then get them to install it.
For the second, check how you store the string (it needs to be in a config file if it isn't already) and correct it for the specifics of the client SQL installation.
For the third, use the appropriate CREATE DATABASE statements to add the DB!

We can't do any of that for you - we have no access to your code, much less the client's network!


这篇关于“如何成功地将winform应用程序(使用c#和sql server在visual studio 2012中开发)部署到客户端的计算机上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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