ajaxfileupload再IE8上的上传文件时弹出
js代码为
function ajaxFileUpload() {
$.ajaxFileUpload ({
url:"/gree/dictionary/upLoad",//用于文件上传的服务器端请求地址
secureuri: false, //是否需要安全协议,一般设置为false
type:"post",
fileElementId: 'fileInput', //文件上传域的ID
dataType: 'json', //返回值类型 一般设置为json
data:{},
success: function (data, status) //服务器成功响应处理函数
{
if(data.handleMsg.status=="1"){
$.messager.alert("提示",data.handleMsg.message,"info");
query();
}else{
$.messager.alert("提示",data.handleMsg.message,"info");
}
},
error: function (data, status, e)//服务器响应失败处理函数
{
$.messager.alert("错误",e,"error");
}
}
)
return false;
}
错误的详细信息为
平台版本信息
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime : 2.0.50727.4927
System.Deployment.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
mscorwks.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
dfdll.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
dfshim.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
源
部署 URL : http://localhost:9043/gree/dictionary/upLoad
错误摘要
以下是错误摘要,这些错误的详细信息列在该日志的后面。
* 激活 http://localhost:9043/gree/dictionary/upLoad 导致异常。 检测到下列失败消息:
+ 远程服务器返回错误: (500) 内部服务器错误。
组件存储事务失败摘要
未检测到任何事务错误。
警告
执行此操作的过程中未出现任何警告。
操作进度状态
* [2015/4/11 14:58:53] : 已启动 http://localhost:9043/gree/dictionary/upLoad 的激活过程。
错误详细信息
执行此操作期间检测到下列错误。
* [2015/4/11 14:59:10] System.Net.WebException
- 远程服务器返回错误: (500) 内部服务器错误。
- 源: System
- 堆栈跟踪:
在 System.Net.HttpWebRequest.GetResponse()
在 System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials)
在 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
在 System.Xml.XmlTextReaderImpl.OpenStream(Uri uri)
在 System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId)
在 System.Xml.DtdParser.ParseExternalSubset()
在 System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
在 System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
在 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
在 System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
在 System.Xml.XmlCharCheckingReader.Read()
在 System.Xml.XsdValidatingReader.Read()
在 System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
组件存储事务详细信息
没有可用的事务信息。
引入的js为jquery.1.8.min.js 和ajaxfileupload.js juery.easyui.1.3.2.min.js