excel2003 workbook项目发布后,安装出现错误,是什么原因??高手请进。

glgzx 2008-05-08 03:51:04
项目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.

...全文
100 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
glgzx 2008-05-08
  • 打赏
  • 举报
回复
这是在visual studio2008下用Excel2003 workbook生成的程序。

5,172

社区成员

发帖
与我相关
我的任务
社区描述
其他开发语言 Office开发/ VBA
社区管理员
  • Office开发/ VBA社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧