简体   繁体   English

Winforms应用程序不会在生产服务器上运行

[英]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驱动器,并在用户运行它时在此处查找更新。

  • is the setup.exe executed as administrator ? setup.exe是否以管理员身份执行?
  • check how resources are used, fe images in resouces - do they have "embedded Resource/linked at compiletime" or "copy to outup" activated ? 检查资源的使用方式(例如资源)-它们是否已激活“嵌入资源/在编译时链接”或“复制到中断”?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Winforms应用程序控制在生产PC上更改大小 - Winforms app controls change size on production PC 以编程方式运行winforms应用程序在第二次运行时崩溃 - Programatically run winforms app crashes on second run 触发winforms程序,只要通过Web应用程序在SQL Server中插入记录就会运行 - trigger winforms program to run whenever a record is inserted in SQL Server via web app Winforms 调试/发布生产/开发连接字符串 app.config - Winforms debug/release production/dev connection string app.config 为生产构建 Winforms 应用程序设置数据库访问的连接字符串 - Set connection string for database access for production build Winforms app 变量不会在winforms中更新 - Variable wont update in winforms 在WinForms应用关闭时运行代码并关闭计算机? - Run code on WinForms app close and computer shutdown? 服务器端应用程序帮助-WinForms-创建Jpegs - Help With Server Side App - WinForms - Creating Jpegs 是否可以从上次成功构建IIS服务器应用程序池(生产)中运行Asp.net Web应用程序(Web窗体应用程序) - Is it possible to run an Asp.net web application (web forms app) from last successful build in IIS server app pool (production) 无法运行简单的WinForms应用,显示默认的未更改形式 - Can't run a simple WinForms app, shows a default unchanged form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM