IE浏览器Internet 临时文件设置不了,导致客户端登陆报错问题解决办法

出现问题背景:
由于客户端的图片缓存于IE浏览器的Internet 临时文件中,故需要访问IE的临时文件的权限,因此当客户端的操作系统下的临时文件夹访问不了、设置不了大小的话会导致登陆客户端的时候报错。
具体现象如下:
登陆报错:

点开【更多】可以看到报错如下:
Insufficient memory to continue the execution of the program., at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at MS.Win32.WinInet.get_InternetCacheFolder()
at System.Windows.Media.Imaging.BitmapDownload.BeginDownload(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream stream)
at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at Kingdee.BOS.XPF.Component.RUrl2BMPSourceConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)...
2.客户端的头部背景色等图片加载不出来:

出现问题原因:
IE浏览器Internet选项下设置临时文件夹:路径为空,临时文件大小为0。修改大小和设置文件夹位置也不生效。正常情况下可以设置这个文件夹的大小和路径,出现这种情况是因为微软操作系统的BUG,现在已经发现了几个客户有这种情况。

解决办法:
查了一些资料,可以通过修改操作系统的方法解决。解决方式如图,根据本机的操作系统环境选择对应的注册表参数修改即可。配置如下:
User Configuration > Preferences > Registry:
HKCU\Software\
IE浏览器Internet 临时文件设置不了,导致客户端登陆报错问题解决办法
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。



