תופעות
שקול את התרחיש הבא:
-
אתה משתמש ב SQL Server 2012, 2014 או 2016 Reporting Services.
-
עליך להתקין את Microsoft SQL Server 2014 Service Pack 1, עדכון מצטבר מאוחר יותר של SQL Server 2012 SP3, או עדכון מצטבר של SQL Server 2016.
-
אתה מפעיל דוח RDL שנוצר באופן תיכנותי.
בתרחיש זה, ייתכן שתקבל הודעת שגיאה הדומה להודעה הבאה:
עיבוד! ReportServer_0-1!1328!01/14/2016-10:58:06:: שגיאה e: התרעה של Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: אירעה שגיאה בלתי צפויה בעיבוד הדוח. ---> System.IO.IOException: לתהליך אין אפשרות לגשת לקובץ 'C:\Users\ReportServer\AppData\Local\Temp\kpw4qafn.out' מאחר שהוא נמצא בשימוש על-ידי תהליך אחר.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ב- System.IO.File.InternalDelete(String path, Boolean checkHost)
ב- Microsoft.ReportingServices.RdlExpressions.VBExpressionCodeProvider.CompileAssemblyFromDomWithRetry(CompilerParameters options, CodeCompileUnit compilationUnit)
בכתובת Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.InternalCompile(AppDomain compilationTempAppDomain, refusePermissions בוליאני)
at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.<>c__DisplayClass2.<Compile>b__0()
בכתובת Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
ב- System.Security.SecurityContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
בכתובת System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
בכתובת Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.Compile(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, AppDomain compilationTempAppDomain, Boolean refusePermissions, PublishingVersioning versioning)
בכתובת Microsoft.ReportingServices.ReportPublishing.ReportPublishing.Phase3(ParameterInfoCollection& פרמטרים, Dictionary'2& groupingExprCountAtScope)
בכתובת Microsoft.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, תיאור מחרוזת&, שפת מחרוזת&, ParameterInfoCollection& פרמטרים, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
בכתובת Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CompileOdpReport(PublishingContext reportPublishingContext, PublishingErrorContext errorContext, string& reportDescription, String& reportLanguage, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
בכתובת Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(PublishingContext reportPublishingContext)
--- קצה של מעקב אחר מחסנית חריגה פנימית ---
הערה שגיאה זו נרשמת גם ביומני הרישום של Reporting Services.
פתרון
בעיה זו תוקנה בעדכון המצטבר הבא עבור SQL Server:
עדכון מצטבר 5 עבור SQL Server 2016 RTM עדכון
מצטבר2 עבור SQL Server 2016 SP1
עדכון מצטבר 9 עבור SQL Server 2014 Service Pack 1
עדכון מצטבר 1 עבור SQL Server 2014 SP2
עדכון מצטבר 8 עבור SQL Server 2012 SP3
כל עדכון מצטבר חדש עבור SQL Server מכיל את כל התיקונים החמים ואת כל תיקוני האבטחה שנכללו בעדכון המצטבר הקודם. עיין בעדכונים המצטברים האחרונים עבור SQL Server:
העדכון המצטבר האחרון עבור SQL Server 2014
העדכון המצטבר האחרון עבור SQL Server 2016
העדכון המצטבר האחרון עבור SQL Server 2012 SP3
מצב
Microsoft אישרה כי זוהי בעיה במוצרי Microsoft המפורטים בסעיף "חל על".
הפניות
למד על המינוח שבו Microsoft משתמשת כדי לתאר עדכוני תוכנה.