My Sharepoint

sharepoint.egloos.com

포토로그 마이가든



SharePoint + Reporting Services 함께 사용시 에러 유형 3008 SharePoint

상황은 이렇습니다. TFS 서버가 설치되어 있으며, 당근 SharePoint 와 Reporting Service 가 돌아갑니다. TFS 서버에서 팀프로젝트를 하나 만들었는데 언제부터인지(아마 처음부터 였는지도 몰라요~ >_< ) Reporting Service 가 이런 오류 메세지를 나타냅니다.

"Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer'."

문제는 SharePoint 와 Reporting Service 가 같은 포트를 사용하기 때문이었습니다. 이래저래 해결방법을 찾아보았는데, 이런글이 있군요.

How do I? – Solve the “Cannot use ‘partitionResolver’ unless the mode is ‘StateServer’ or ‘SQLServer’” error

위 문서를 보면 SharePoint 의 Web.config 파일에서 아래 부분을 주석처리 해주면 된다는 솔루션 입니다.

<sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" partitionResolverType="Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

이렇게 문제가 해결되면~ 참 좋겠죠. ^^; 헌데 이번에는 다른 오루 메세지가 나타납니다. 에러 메세지는 다음과 같죠.

"Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 유형이 IReportViewerMessages을(를) 구현하지 않거나 이 유형을 찾을 수 없습니다."

아놔~ 산넘어 산입니다. 또다시 문제를 찾아보았습니다. 헌데 이번에는 이런글이 있더군요.

Installing SQL Reporting Services and MOSS 2007 on the Same port ( default : 80)

여기서는 ReportServer 와 ReportManager 의 Web.config 에서 아래키를 appsettings에 추가해 주라고 합니다.

<remove key="ReportViewerMessages" />

이제는 정상 동작 하는군요. 여튼 이 문제는 SharePoint 를 설치할때 이와 함께 Reporting Service 를 SharePoint integration 모드로 설치하면 피해갈 수 있는 문제이긴 하지만, TFS 와 함께 엮이면 별수 없이 위의 솔루션을 해줘야 할것 같습니다. ^^


Event code: 3008
Event message: A configuration error has occurred.
Event time: 2009-03-27 오후 3:21:19
Event time (UTC): 2009-03-27 오전 6:21:19
Event ID: 925968c6377d45a9a2201fcab641dc0f
Event sequence: 197
Event occurrence: 14
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/379945321/root/ReportServer-10-128826076943163402
    Trust level: RosettaSrv
    Application Virtual Path: /ReportServer
    Application Path: C:\Program Files\Microsoft SQL Server\MSSQL.1\Reporting Services\ReportServer\
    Machine name: Machine Name 
 
Process information:
    Process ID: 3008
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: InvalidConfigFileTypeException
    Exception message: Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 유형이 IReportViewerMessages을(를) 구현하지 않거나 이 유형을 찾을 수 없습니다.
 
Request information:
    Request URL: http://ServerName/ReportServer/Pages/ReportViewer.aspx?A configuration error has occurred.fScrumTestA configuration error has occurred.fBug+Found+and+Fixed+Chart&rs:Command=Render
    Request path: /ReportServer/Pages/ReportViewer.aspx
    User host address: IP
    User: UserName 
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: True
    Stack trace:    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded()
   at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance()
   at Microsoft.Reporting.WebForms.LocalizationHelper.Microsoft.Reporting.WebForms.IReportViewerMessages.get_ProgressText()
   at Microsoft.Reporting.WebForms.WaitControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

추신: 위 상황을 해결하는데 도움을 주신 DX 안모수석님 감솨감솨~ ^^


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://sharepoint.egloos.com/tb/2273568 [도움말]

덧글

덧글 입력 영역