gpt4 book ai didi

windows - "Cannot Start Application"发布多部分/表单数据时来自 IE 的错误

转载 作者:行者123 更新时间:2023-11-28 23:26:13 25 4
gpt4 key购买 nike

我正在尝试解决发生在几台机器上的问题。我有一个纯 JavaScript 的 Web 应用程序(无插件)

当用户试图向服务器发送一个请求时,它会生成一个错误对话框 enter image description here

向 Tomcat 服务器发出的请求是 multipart/form-data。

详情如下

PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.34209
System.Deployment.dll : 4.0.30319.34280 built by: FX452RTMGDR
clr.dll : 4.0.30319.34209 built by: FX452RTMGDR
dfdll.dll : 4.0.30319.34280 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)

SOURCES
Deployment url : http://iacts01:8080/iActs/notification/addAttachment.action

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://iacts01:8080/iActs/notification/addAttachment.action resulted in exception. Following failure messages were detected:
+ Downloading http://iacts01:8080/iActs/notification/addAttachment.action did not succeed.
+ The remote server returned an error: (403) Forbidden.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [4/15/2016 1:34:29 PM] : Activation of http://iacts01:8080/iActs/notification/addAttachment.action has started.

ERROR DETAILS
Following errors were detected during this operation.
* [4/15/2016 1:34:29 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://iacts01:8080/iActs/notification/addAttachment.action did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
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, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (403) Forbidden.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

我不知道是什么原因造成的,也不知道如何解决。对服务器的所有其他调用都不受阻碍地进行。如果我尝试使用 Chrome,则不会出现任何问题。不幸的是,这不是公司的标准浏览器,他们不能使用它。

如有任何帮助,我们将不胜感激。

最佳答案

我终于成功地完成了这项工作。我正在发回 ...../addAttachment.action。然而,似乎有问题的用户安装了一个使用“.action”后缀的应用程序,并且 Internet Explorer 试图启动该应用程序。我的大部分条目都是针对 AJAX 的,但由于需要发布文件的表单,这是作为标准提交提交的。

解决方案是更改为发布到后缀为“.html”的 url,然后问题就消失了。

关于windows - "Cannot Start Application"发布多部分/表单数据时来自 IE 的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36654931/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com