Belirtiler
Aşağıdaki senaryoyu inceleyin:
-
SQL Server 2012, 2014 veya 2016 Reporting Services kullanırsınız.
-
Microsoft SQL Server 2014 Service Pack 1'i, SQL Server 2012 SP3'ün sonraki toplu güncelleştirmesini veya SQL Server 2016 toplu güncelleştirmesini yüklersiniz.
-
Program aracılığıyla oluşturulan bir RDL raporu çalıştırırsınız.
Bu senaryoda, aşağıdakine benzer bir hata iletisi alabilirsiniz:
Işleme! ReportServer_0-1!1328!01/14/2016-10:58:06:: e HATA: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Rapor İşleme'de beklenmeyen bir hata oluştu. ---> System.IO.IOException: İşlem başka bir işlem tarafından kullanıldığından 'C:\Users\ReportServer\AppData\Local\Temp\kpw4qafn.out' dosyasına erişemiyor.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(Dize yolu, Boolean checkHost)
at Microsoft.ReportingServices.RdlExpressions.VBExpressionCodeProvider.CompileAssemblyFromDomWithRetry(CompilerParameters seçenekleri, CodeCompileUnit compilationUnit)
at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.InternalCompile(AppDomain compilationTempAppDomain, Boolean refusePermissions)
Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.<>c__DisplayClass2.<Compile>b__0()
adresinde
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Nesne durumu)
at System.Security.SecurityContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback geri çağırma, Nesne durumu)
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody geri çağrısı)
at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.Compile(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, AppDomain compilationTempAppDomain, Boolean refusePermissions, PublishingVersioning versioning)
at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.Phase3(ParameterInfoCollection& parameters, Dictionary'2& groupingExprCountAtScope)
at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, String& description, String& language, ParameterInfoCollection& parametreleri, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CompileOdpReport(PublishingContext reportPublishingContext, PublishingErrorContext errorContext, String& reportDescription, String& reportLanguage, ParameterInfoCollection& parametreleri, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(PublishingContext reportPublishingContext)
--- İç özel durum yığını izlemesi sonu ---
Not Bu hata, Reporting Services günlüklerinde de günlüğe kaydedilir.
Çözüm
Bu sorun, SQL Server için aşağıdaki toplu güncelleştirmede düzeltildi:
SQL Server 2016 rtm
toplu güncelleştirme 2 SQL Server2016 SP1
toplu güncelleştirme9 SQL Server 2014 Service Pack 1 için Toplu Güncelleştirme 5
SQL Server 2014 SP2 için Toplu Güncelleştirme 1
SQL Server 2012 SP3 için Toplu Güncelleştirme 8
SQL Server 2012 Service Pack 2 (SP2) için Toplu Güncelleştirme 16
SQL Server için her yeni toplu güncelleştirme, önceki toplu güncelleştirmede yer alan tüm düzeltmeleri ve tüm güvenlik düzeltmelerini içerir. SQL Server için en son toplu güncelleştirmelere göz atın:
SQL Server 2014
için en son toplu güncelleştirme SQL Server 2016
için en son toplu güncelleştirme SQL Server 2012 SP3 için en son toplu güncelleştirme
Durum
Microsoft bu sorunun "Uygulandığı öğe" bölümünde listelenen Microsoft ürünlerinde bulunduğunu onaylamıştır.
Başvurular
Microsoft'un yazılım güncelleştirmelerini açıklamak için kullandığı terminoloji hakkında bilgi edinin.