本文介绍了如何在服务器上发布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

推荐答案


<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"/>

b $ b

[ []]


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

08-05 15:53
查看更多