문제

모든 개인 사이트 생성을 위해 포트 8080에서 새 웹 애플리케이션을 만들었습니다(예:내 사이트)는 전용 WSS_Content 데이터베이스(예:모범 사례 권장 사항).

필요한 모든 단계를 거쳤습니다. 제 생각에는 다음과 같습니다.

  • 만들어진 MySites컬렉션 사용하여 엔터프라이즈 템플릿 "내 사이트 호스트" 루트에 http://SPstaff:8080 이 최상위 사이트가 성공적으로 생성되었습니다
  • 웹 애플리케이션에 대한 셀프 서비스 사이트 생성이 활성화되었습니다(라디오 버튼을 ON으로 변경).나는 경고:셀프 서비스 사이트 생성은 공유 호스트 이름으로 사이트를 생성합니다. 내가 이해하지 못한 것(어쩌면 관련이 있을까요?)
  • 관리 경로가 추가되었습니다. /mysites 이 웹 앱에
  • User Profile Service 응용 프로그램에 대한 내 사이트 설정을 구성했습니다. 내 사이트 설정 그렇게 내 사이트 호스트 로 설정 http://spstaff:8080/ 그리고 개인 사이트 위치 마이사이트로 설정하세요.

처음으로 SPstaff:8080/mysites/를 탐색하려고 시도했을 때 Windows 이벤트 로그에 합당한 오류가 표시되었습니다.

Cannot open database "WSS_Content_SPSTAFFMySites" requested by the login. The login failed. Login failed for user 'CBMIWEB\spAppPool'

그래서 새로 생성된 데이터베이스에 이 사용자를 추가했는데 더 이상 해당 오류가 발생하지 않습니다.

대신 다음과 같은 오류가 발생합니다.

첫 번째 오류는 이벤트 ID입니다.6141 작업 범주:토폴로지

The site /mysites/joanc could not be created.  The following exception occurred: Attempted to perform an unauthorized operation

응용 프로그램 로그의 다음 항목은 이벤트 ID입니다.5187 작업 범주:관리

My Site creation failure for user 'CBMIWEB\joanc' for site url `'http://spstaff:8080/mysites/joanc'`. 
The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at Microsoft.SharePoint.SPSecurableObject.CheckPermissions(SPBasePermissions permissionMask)
at Microsoft.SharePoint.SPSecurity.ValidateSecurityOnOperation(SPOperationCode code, SPSecurableObject obj)
at Microsoft.SharePoint.SPFeature.AddRowToFeaturesTable(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClassa.<EnsureFeaturesActivatedAtSite>b__9()
at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtSite(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, String sFeatures)
at Microsoft.SharePoint.Library.SPRequest.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrOwnerLogin, String bstrOwnerUserKey, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactUserKey, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode, Boolean bHostHeaderIsSiteName, Int32 iDatabaseVersionMajor, Int32 iDatabaseVersionMinor, Int32 iDatabaseVersionBuild, Int32 iDatabaseVersionRevision)
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail, String quotaTemplate, SPSiteSubscription siteSubscription)
at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()
--- End of inner exception stack trace ---
at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid)

개인 로그온 브라우징을 사용하는 기타 증상 http://spstaff:8080/mysites/johna 도움이 되지 않는 "Internet Explorer에서 웹 페이지를 표시할 수 없습니다"라는 메시지가 표시됩니다.

무엇이 잘못되었는지 잘 모르겠습니다.

도움이 되었습니까?

해결책

  • 이에 대한 내 설정은 일반적으로 괜찮았지만 새 웹 응용 프로그램에 대한 선택으로 인해 "호스트 헤더"와 8080의 임의 포트가 필요하게 되었습니다.
  • "호스트 헤더"가 필요한 이름에 불필요한 복잡함이 필요하여 전체 웹 응용 프로그램이 삭제되었습니다.
  • 이 새로운 웹 애플리케이션은 여전히 ​​실패했습니다(모든 적절한 단계를 수행한 후에도).
  • Fiddler2로 캡처한 HTTP 트래픽 및 오류로 인해 방화벽 규칙을 의심하게 되었습니다.
  • 궁극적으로 Sharepoint 서버의 Windows 방화벽에는 인바운드 트래픽(포트 81을 허용하기 위해)에 대한 새로운 규칙을 추가해야 했습니다..

그러면 목표는 달성되었지만 다른 포트 번호를 사용하는 것을 피할 수 있었는지 궁금합니다.포트 80을 사용하는 두 번째 웹 애플리케이션(다른 데이터베이스에 대한 콘텐츠 분리를 달성하기 위해)을 추가할 수 있었습니까?이 두 번째 웹 앱의 루트에 있는 mysites에 대한 와일드카드 관리 경로로 충분했을 수 있습니까?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top