我正在尝试解决几台机器上发生的问题。 我有一个纯粹的javascript(没有插件)的Web应用程序
请求是Tomcat服务器,是多部分/表单数据。
详情如下
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,则不会出现问题。不幸的是,这不是公司的标准浏览器,他们无法使用它。
任何帮助将不胜感激。
答案 0 :(得分:0)
我终于成功地完成了这项工作。 我回帖..... / addAttachment.action。但是,有问题的用户看起来安装严重的应用程序使用了" .action"后缀和Internet Explorer尝试启动应用程序。 我的大部分作品都是针对AJAX的,但由于需要发布文件的形式,这是作为标准提交提交的。
解决方案是更改为发布到后缀为" .html"的网址。相反,问题就消失了。