Microsoft ReportViewer临时文件清除

时间:2018-06-26 14:30:24

标签: vbscript rdlc reportviewer

我们拥有带有 Microsoft.ReportViewer.WebForms,版本= 14.0.0.0 控件的ASP.NET应用程序,并托管在IIS中。 我们注意到,VB编译器在C:\ Windows \ Temp中生成了 .out 和空的 .err 文件,用于编译RDLC报告。 报表加载后,这些文件消失了,但是如果在几秒钟之内重新加载/请求报表,它们中的许多文件会保留在文件夹中,并且其大小会随时间增长。

我们如何才能完全阻止在C:\ Windows \ Temp中生成这些 .out .err 文件或更改路径?

出文件内容:

c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /t:library /utf8output /R:"System.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\7c46d9a4\7d5936e9\assembly\dl3\643e7090\00ca40b1_a78fd301\Microsoft.ReportViewer.ProcessingObjectModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\7c46d9a4\7d5936e9\assembly\dl3\2ca3d4ae\00ca40b1_a78fd301\Microsoft.SqlServer.Types.dll" /out:"C:\Windows\TEMP\expression_host_c30c62a94331472781e7846a770c93d9.dll" /debug- /optimize+  "C:\Windows\TEMP\0yj2twik.0.vb"


Microsoft (R) Visual Basic Compiler version 14.6.1586
for Visual Basic 2012
Copyright (c) Microsoft Corporation.  All rights reserved.

This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241

0 个答案:

没有答案