[英]Winforms app wont run on production server
I would really appreciate any help as to why i get a system.io.filenotfoundexception message when i double click the setup.exe on the production server's desktop after installing the app from a CD. 当我从CD安装应用程序后,双击生产服务器桌面上的setup.exe时,为什么会收到system.io.filenotfoundexception消息,对此我将非常感谢。 I had earlier deployed the winforms app using VS2010 ClickOnce tool, on the Development server (WinVista) to a CD, then ran the CD on the prod server and installed the app to the prod server.
我之前已使用VS2010 ClickOnce工具在开发服务器(WinVista)上将winforms应用程序部署到CD,然后在产品服务器上运行CD并将该应用程序安装到产品服务器。 What could be the missing required file(s), or were the files installed in the wrong location/directory??
可能缺少所需的文件是什么,或者文件安装在错误的位置/目录中? Or have i missed out something/done the wrong thing while setting the configs in ClickOnce?
还是在ClickOnce中设置配置时错过了某些事情/做错了什么?
What is the installation URL that was used when the C/O application was published? 发布C / O应用程序时使用的安装URL是什么? Did you check the box that says you are deploying to a CD?
您是否勾选了表示要部署到CD的复选框?
Do you have an update URL or an installation URL that the application can use to get updates, or are you only providing changes via CD? 您是否有应用程序可用于获取更新的更新URL或安装URL,还是仅通过CD提供更改?
If you are not going to provide updates via a file share or web server, I would have the deployment NOT include a deployment provider URL in the deployment (there's a checkbox in the publishing options). 如果您不打算通过文件共享或Web服务器提供更新,则我将使部署不在部署中包括部署提供程序URL(发布选项中有一个复选框)。 Then it will set it to the CD drive when it installs, and look there for updates when the user runs it.
然后,它将在安装时将其设置为CD驱动器,并在用户运行它时在此处查找更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.