如何在服务器上发布Windows应用程序 [英] How to publish Windows Application on Server

查看:317
本文介绍了如何在服务器上发布Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



我开发了一个基于Windows的应用程序并将其发布到我的计算机上。该应用程序运行正常。当我将发布的文件复制到托管服务器时,我收到一个错误。请尝试解决此问题。



错误:



应用程序安装未成功。无法找到服务器上的应用程序文件。请联系应用程序供应商或管理员寻求帮助





谢谢,

Imtiyaz

Hello.

I've developed a windows based application and published it on my computer. The application is working fine. When I copied the published files to hosting server, I'm getting an error. Please try to fix this issue.

Error:

" Application installation did not succeed. Cannot locate application files on the server. Contact the application vendor or your administrator for assistance "


Thanks,
Imtiyaz

推荐答案

您好,请参考这些解决方案

1. 如何创建windows c#应用程序以在线和离线工作 [ ^ ]

2. SQL Server在线托管 [ ^ ]
Hi, refer these solutions
1. How to Create windows c# application to work online and offline[^]
2. SQL Server online hosting[^]


你需要在这里粘贴完整的错误信息,但记住ti禁用友好的错误通知第一个

t

所以你可以得到真实的完整错误信息





you need to paste the full error message in here but remember ti disable the friendly error notification firs
t
so you can get the real full error message


<customErrors mode="Off" />

For final release or in production mode

You should turn the customs Error to be On or RemoteOnly so Users can't see the real error message. You can set the default Redirect to point to some pages and you can write nice error message on your error.html page. Below is the customs Error tag that you should use on your

<customErrors mode="On" defaultRedirect="error.htm"/>

<上使用的海关错误代码br $> b $ b



[ 我在ASPX页面上看不到任何错误消息?我该怎么办? - 知识库 - SeekDotNet.com(Host Valley LLC) [ ^ ]]


这篇关于如何在服务器上发布Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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