已安装的应用程序无法正常工作并引发错误
无法启动应用程序。联系供应商
我在C#和SQL Server中创建了一个新项目;我在PC和Vb.net上使用.Net Framework 4.6.1。
我为应用程序创建发布,但是当我想在另一台PC上安装时,出现此错误:
PLATFORM VERSION INFO
Windows : 10.0.17134.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3056.0 built by: NET472REL1
clr.dll : 4.7.3132.0 built by: NET472REL1LAST
dfdll.dll : 4.7.3056.0 built by: NET472REL1
dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)
来源
Deployment url : file:///C:/Users/alyossr.gf/Desktop/FinalTheShoper/TheShoper/TheShoper/bin/Debug/TheShoper.application
Application url : file:///C:/Users/alyossr.gf/Desktop/FinalTheShoper/TheShoper/TheShoper/bin/Debug/TheShoper.exe.manifest
身份
Deployment Identity : TheShoper.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil
应用摘要
错误摘要
下面是错误的摘要,这些错误的详细信息在日志的后面列出。
- 激活C:\ Users \ alyossr.gf \ Desktop \ FinalTheShoper \ TheShoper \ TheShoper \ bin \ Debug \ TheShoper.application导致异常。检测到以下失败消息:
- 指定的演员表无效。
组件存储交易失败摘要
No transaction error was detected.
警告
- 此应用程序的清单没有签名。签名验证将被忽略。
- 此应用程序的清单没有签名。签名验证将被忽略。
操作进度状态
- [8/17/2018 11:09:26 PM]:C:\ Users \ alyossr.gf \ Desktop \ FinalTheShoper \ TheShoper \ TheShoper \ bin \ Debug \ TheShoper.application的激活已启动。
- [8/17/2018 11:09:26 PM]:部署清单的处理已成功完成。
- [8/17/2018 11:09:26 PM]:该应用程序的安装已开始。
错误详细信息
在此操作中检测到以下错误。
- [8/17/2018 11:09:26 PM] System.InvalidCastException
-指定的演员表无效。
-来源:System.Deployment
- 堆栈跟踪:
在System.Deployment.Application.DownloadManager.VerifyRequestedPrivilegesSupport(字符串RequestedExecutionLevel)
在System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest,String targetDir,Uri deploymentUri,IDownloadNotification通知,DownloadOptions选项,Uri&appSourceUri,String&appManifestPath)
在System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState,ActivationDescription actDesc,Int64 transactionId,TempDirectory&downloadTemp)中
在System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState&subState,ActivationDescription actDesc)
在System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation处(Uri activationUri,布尔值isShortcut,字符串textualSubId,字符串deploymentProviderUrlFromExtension,BrowserSettings browserSettings,String&errorPageUrl,Uri&deploymentUri)
在System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri,布尔值isShortcut,字符串textualSubId,字符串DeploymentProviderUrlFromExtension,BrowserSettings browserSettings,字符串&errorPageUrl)
---从之前引发异常的位置开始的堆栈结束跟踪---
在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri,布尔值isShortcut,字符串textualSubId,字符串DeploymentProviderUrlFromExtension,BrowserSettings browserSettings,字符串&errorPageUrl)
在System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(对象状态)处
组件存储交易详细信息
没有交易信息。