发布一个项目 [英] publish a project

查看:65
本文介绍了发布一个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想问一下如何成功地将已发布的程序安装到另一台计算机中

在我的项目中i:build - >发布然后按照所有步骤,然后将其保存到CD然后安装在其他计算机,但是当我运行时,我有一个数据库的问题。据我所知,我在连接字符串中使用Application.StartupPath来解决这个问题,但是它没有b $ b请帮助

hi i want to ask how to successfully install a published program into another computer
in my project i: build -> Publish then follow all the steps, then save it to cd then install in other computer, but when i run, i have a problem with the database. as far as i know, i use Application.StartupPath in the connection string which would solve the problem, but it dindn''t
please help

推荐答案


嗨我想问一下如何成功地将已发布的程序安装到另一台计算机中

在我的项目中i:build - >发布然后按照所有步骤,然后将其保存到CD然后安装在其他计算机,但是当我运行时,我有一个数据库的问题。据我所知,我在连接字符串中使用Application.StartupPath来解决这个问题,但是它没有

请帮助
hi i want to ask how to successfully install a published program into another computer
in my project i: build -> Publish then follow all the steps, then save it to cd then install in other computer, but when i run, i have a problem with the database. as far as i know, i use Application.StartupPath in the connection string which would solve the problem, but it dindn''t
please help



你好,


你对数据库有问题是什么意思?你是如何连接数据库的?你收到什么错误?您是否正在使用ODBC?


请提供更多信息。


问候,


B博士

Hi there,

What do you mean by you have a problem with the database? How are you connecting to the database? What error are you receiving? Are you using ODBC for instance?

Please provide some more information.

Regards,

Dr B



你好,


你有什么意思吗?与数据库?你是如何连接数据库的?你收到什么错误?您是否正在使用ODBC?

请提供更多信息。

问候,

博士B
Hi there,

What do you mean by you have a problem with the database? How are you connecting to the database? What error are you receiving? Are you using ODBC for instance?
Please provide some more information.
Regards,
Dr B



i无法连接数据库,给出一整套错误

i通过程序连接到数据库,它是一个登录页面,所以当我点击登录时,它应该检查使用数据库,发生错误的地方

i cant connect to the database, giving a whole list of errors
i connect to the database through the program, its a login page, so when i click login, it supposed to check with the databse, thats where the error occurs


这是一个Web应用程序呢?

您需要在尝试安装的计算机上配置IIS /运行它来与数据库保持一致。
This is a web application then?
You would need to configure the IIS on the computer where you trying to install/run it from to have permisions with the database.


这篇关于发布一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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