excel2003 workbook项目发布后,安装出现错误,是什么原因??高手请进。
项目debug时运行正常,publish时也正常。但安装报错。
提示文件如下:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
Deployment url : file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Inetpub\wwwroot\excel\ExcelWorkbook1_1.0.0.5\ExcelWorkbook1.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application: the manifest may not be valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ Application reference identity must be strongly named.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [2008-5-8 15:49:39] : Activation of C:\Inetpub\wwwroot\excel\ExcelWorkbook1_1.0.0.5\ExcelWorkbook1.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [2008-5-8 15:49:40] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestComponentSemanticValidation)
- Application reference identity must be strongly named.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateApplicationDependency(DependentAssembly da)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
提示文件如下:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
Deployment url : file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Inetpub\wwwroot\excel\ExcelWorkbook1_1.0.0.5\ExcelWorkbook1.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application: the manifest may not be valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ Application reference identity must be strongly named.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [2008-5-8 15:49:39] : Activation of C:\Inetpub\wwwroot\excel\ExcelWorkbook1_1.0.0.5\ExcelWorkbook1.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [2008-5-8 15:49:40] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/Inetpub/wwwroot/excel/ExcelWorkbook1_1.0.0.5/ExcelWorkbook1.application: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestComponentSemanticValidation)
- Application reference identity must be strongly named.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateApplicationDependency(DependentAssembly da)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
...全文
相关推荐
jxl解析EXCEl2003
使用`WorkbookSettings`可以设置编码、是否忽略错误等参数,然后通过`Workbook.createWorkbook()`方法创建Workbook实例。
c#导入EXCEL软件,包括excel2003,excel2007的导入导出
总之,这个"WindowsTestExcel"项目很可能是演示了如何在C#中使用Excel Interop组件来实现对Excel2003和2007文件的导入导出功能。
C++操作Excel2003的完整类
首先,"OperateExcel.cpp"和"OperateExcel.h"构成了一个C++类,该类可能包含了操作Excel2003的工作簿(Workbook)、工作表(Worksheet)以及单元格(
Microsoft Excel 2003帮助 + Microsoft Excel Visual Basic参考
**调试与错误处理**:提供调试技巧和错误处理策略,帮助开发者找出并修复代码问题。6. **API调用**:如何利用Excel VBA调用操作系统级别的函数,扩展Excel的功能。
VC6.0 操作Excel2003
接着,在Office安装目录下找到并选择“Excel.exe”。 弹出的窗口会列出所有支持的类。


Office开发/ VBA
