简体   繁体   English

Windows 2003上的Web应用程序安装失败,错误1615

[英]Web app setup on Windows 2003 fails with error 1615

I'm trying to install a .NET 3.5 web application I on a Win 2003 server with IIS6. 我正在尝试使用IIS6在Win 2003服务器上安装.NET 3.5 Web应用程序。 The application installed fine a few versions ago and the old msi still works. 该应用程序在几个版本之前安装良好,并且旧的msi仍然有效。 As far as I know nothing has changed with the installer apart from a version number, one more dll in the application and the ProductCode of the setup project. 据我所知,除了版本号,应用程序中还有一个dll和安装项目的ProductCode之外,安装程序没有任何改变。 However, the latest msi stops with the message: 但是,最新的msi停止显示以下消息:

The installer was interrupted before <ApplicationName> could be installed. 在安装<ApplicationName>之前,安装程序被中断。 You need to restart the installer to try again. 您需要重新启动安装程序才能重试。

The log contains this error: 日志包含此错误:

MSI (c) (B8:0C) [23:12:38:964]: Doing action: WEBCA_GatherAppPools
MSI (c) (B8:0C) [23:12:38:964]: Note: 1: 2205 2:  3: ActionText 
Action start 23:12:38: WEBCA_GatherAppPools.
MSI (c) (B8:0C) [23:12:38:964]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_GatherAppPools' 
MSI (c) (B8:88) [23:12:38:995]: Invoking remote custom action. DLL: C:\DOCUME~1\had012SA\LOCALS~1\Temp\1\MSIA0.tmp, Entrypoint: GatherAppPools
INFO   : [10/14/2011 23:12:39:042] [GatherAppPools                          ]: Custom Action is starting...
INFO   : [10/14/2011 23:12:39:042] [GatherAppPools                          ]: CoInitializeEx - COM initialization Apartment Threaded...
MSI (c) (B8!84) [23:12:39:042]: Note: 1: 2205 2:  3: ComboBox 
MSI (c) (B8!84) [23:12:39:042]: Note: 1: 2228 2:  3: ComboBox 4: INSERT INTO `ComboBox` (`Property`,`Order`,`Value`,`Text`) VALUES (?, ?, ?, ?) TEMPORARY 
ERROR  : [10/14/2011 23:12:39:042] [GatherAppPools                          ]: FAILED:  -2147023281
ERROR  : [10/14/2011 23:12:39:042] [GatherAppPools                          ]: Custom Action failed with code: '1615'
INFO   : [10/14/2011 23:12:39:042] [GatherAppPools                          ]: Custom Action completed with return code: '1615'
Action ended 23:12:39: WEBCA_GatherAppPools. Return value 3.

This page says error 1615 is an SQL syntax error but the action is a standard MS action so I can't do much about. 本页显示错误1615是SQL语法错误,但是该操作是标准的MS操作,因此我不能做太多事情。 Does anyone have any idea how to fix this? 有谁知道如何解决这个问题?

Thanks. 谢谢。

UPDATE: I've tried creating a new web app in Visual Studio 2008 and a setup project for it and that installer does not work either so I suspect it's something with my Visual Studio. 更新:我试图在Visual Studio 2008中创建一个新的Web应用程序并为其创建一个安装项目,但该安装程序也不起作用,因此我怀疑这与我的Visual Studio有关。 I can't think of what though so I still need help... 我什么也想不出来,所以我仍然需要帮助...

UPDATE 2: Curiouser and curiouser... a colleague compiled the code without making any changes and the installer works. 更新2:越来越好奇...一位同事在不进行任何更改的情况下编译了代码,安装程序开始工作。 Now the question becomes what has happened to my VS2008 and how can I fix it? 现在的问题变成了我的VS2008发生了什么,如何解决?

could be a change in the projects database structure. 可能是项目数据库结构的变化。 Possibly you have a database with an older version of the Combobox table from previous versions. 可能您的数据库具有早期版本的Combobox表的较早版本。 Try deleting the db before preforming a clean install of the application. 在执行应用程序的全新安装之前,请尝试删除数据库。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM